delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/03/19:38:25

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: I: gcc ... -U_WIN32 ... may cause problems
3 Sep 1998 19:38:25 -0700 :
Message-ID: <Pine.SUN.3.93.980902162453.7094E-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <3 DOT 0 DOT 5 DOT 32 DOT 19980902163616 DOT 009d4ce0 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0
To: "Larry Hall (RFK Partners Inc)" <lhall AT rfk DOT com>
Cc: gnu-win32 AT cygnus DOT com

On Wed, 2 Sep 1998, Larry Hall (RFK Partners Inc) wrote:

> 
> Below is documentation that comes with VC++ 5.0.  See table 1.2 for 
> Microsoft specific predefined macros.
> 

[ .... ]
> 
> 
> Table 1.2 Microsoft-Specific Predefined Macros 
> 
> __cplusplus
> 
> Defined for C++ programs only.
> 
 
 [ ... ]

> 
> 
> _MSC_VER
> 
> Defines the compiler version. Defined as 1100 for Microsoft Visual C++™ 5.0. Always defined.
> 
> 
> _WIN32
> 
> 
> Defined for applications for Win32®. Always defined. 
> 

I think you are confusing the term "Microsoft specifc predefined macros"
with "these macros are only defined for Microsoft compilers". I've plucked
3 out of the list, and 2 of those are defined by *every* C++ compiler 
for W95/NT.

The only MS compiler specific macro among these 3 is _MSC_VER, which GNU
does not and will not define.

Regards
Mumit


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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