www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/05/02/16:21:13

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
To: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
Cc: cygwin-apps AT cygwin DOT com
Subject: Re: gcc/ansi question
References: <20010501231814 DOT A26391 AT redhat DOT com> <3AEF8437 DOT DD541895 AT ece DOT gatech DOT edu> <20010502000113 DOT B26891 AT redhat DOT com> <3AEF91A2 DOT 48C540B8 AT ece DOT gatech DOT edu>
From: Benjamin Riefenstahl <Benjamin DOT Riefenstahl AT ision DOT net>
Date: 02 May 2001 19:37:27 +0200
In-Reply-To: "Charles S. Wilson"'s message of "Wed, 02 May 2001 00:48:34 -0400"
Message-ID: <u66fj1wko.fsf@work1.work.maz.net>
Lines: 30
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0

> Christopher Faylor wrote:
> > Is there anything like a strict-ansi option?  

Yes, I seem I remember that it was /Za.  It wasn't very usefull,
because you can only write pure ISO-C programs with that, no Windows
API, no networking, no nothing, only <stdio.h> and friends.

"Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> writes:
> A grep in the include directory of VC shows lots of hits for ALL of
> the following:
> 
> _WINNT
> WINNT
> _WIN32
> WIN32

But WINNT and WIN32 are not used in the ISO-C standard headers (at
least not in my copy of VC++ 5.0 here).  You can't expect a
"strict-ansi" mode from Windows OS headers, they rely on VC++
extensions anyway.

so long, benny
-- 
ISION Internet AG
Benjamin Riefenstahl
mailto:benjamin DOT riefenstahl AT ision DOT net

Harburger Schlossstr. 1
D-21079 Hamburg
http://www.ision.net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019