www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/05/02/00:47:20

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
Message-ID: <3AEF91A2.48C540B8@ece.gatech.edu>
Date: Wed, 02 May 2001 00:48:34 -0400
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: 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>

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

Not that I could find (and isn't the idea of a strict-ansi option
against the MS "embrace and extend" policy?)

> Or, doesn't msvc define
> anything without an underscore?  I wonder if gcc is just wrong in defining
> WIN32 and WINNT.

A grep in the include directory of VC shows lots of hits for ALL of the
following:

_WINNT
WINNT
_WIN32
WIN32

So even MS is inconsistent. (Actually, that's not much of a surprise, is
it?)

--Chuck

- Raw text -


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