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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com To: "Charles S. Wilson" 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 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: Lines: 30 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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 and friends. "Charles S. Wilson" 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