On Sun, Feb 23, 2014 at 12:48 PM, Bernd Oppolzer <[email protected]
> wrote:

> I would strongly suggest not to #undef such #defines coming from the
> standard headers; the results may be unpredictable.
>
> Maybe the compiler optimization and inlining strategies relies
> exactly on such #defines, that is:
>
> strlen needs to be __strlen, so that the compiler can recognize it
> and do the optimizations on it that it is supposed to do ???
>
> Kind regards
>
> Bernd
>

I did the compile both with and without the #undef. In fact, I did it
without the #undef first. But, in both cases, I did not get the "common
expression elimination" that David did. I _must_ have something set up
really strangely. Not that I set up this particular z/OS system. I just
have some access to it.


-- 
Wasn't there something about a PASCAL programmer knowing the value of
everything and the Wirth of nothing?

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to