| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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 <jching AT flex DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | __STRICT_ANSI__ in mingw/sys/stat.h |
| Message-ID: | <20020423130036.E91236-100000@flex.com> |
| MIME-Version: | 1.0 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |