This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
__STRICT_ANSI__ in mingw/sys/stat.h
- From: Jimen Ching <jching at flex dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 23 Apr 2002 13:07:24 -1000 (HST)
- Subject: __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/