This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: __STRICT_ANSI__


Danny,

> ANSI portable code, don't use them.  __STRICT_ANSI__ is doing its job
> correctly, thank you very much.

Yup, you're right.  If you pass -ansi to gcc *and* you define __USE_POSIX,
then you surely should not be able to use fdopen or fileno.  Wait a
minute...

I am more inclined to believe that the standard lib on Linux is more correct
than newlib.  Then again, what is correct?  The standard that everyone has
been using for years or the "standard"?  I have no idea...

On a side note, I couldn't find anywhere that XFree86 defines
__STRICT_ANSI__; rather, __STRICT_ANSI__ seems to be a side effect of
passing -ansi to gcc...

Harold


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]