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]
Other format: [Raw text]

__STRICT_ANSI__ in mingw/sys/stat.h


Hi,

I noticed the mingw/sys/stat.h header file is protected by this macro.
But sys/stat.h is not.  What this means is that if I used

gcc -ansi -pedantic tst.c

it would compile.  But if I used

gcc -ansi -pedantic -mno-cygwin tst.c

it would not.  Yet, if I used

gcc -mno-cygwin tst.c

it would work.  Is there a reason why the combination of ANSI and
-mno-cygwin should prevent something that plain -mno-cygwin would not?

--jc
--
Jimen Ching (WH6BRR)      jching@flex.com     wh6brr@uhm.ampr.org


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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