Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 23 Apr 2002 13:07:24 -1000 (HST) From: Jimen Ching To: Subject: __STRICT_ANSI__ in mingw/sys/stat.h Message-ID: <20020423130036.E91236-100000@flex.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 AT flex DOT com wh6brr AT uhm DOT ampr DOT 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/