[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Latest CVS compile problem - "error no variadic api"

From: Sauder, Vernon
Subject: RE: Latest CVS compile problem - "error no variadic api"
Date: Thu, 11 Mar 2004 16:24:20 -0500

> From: Eli Zaretskii [mailto:address@hidden 
> Sent: Tuesday, March 09, 2004 2:39 PM
> It's possible that MSVC needs a special command-line switch 
> to define __STDC__ as mandated by ISO.  Can someone check that?

>From the MSVC help file:

Search for __STDC__:
Predefined Macros
The compiler recognizes six predefined ANSI C macros (see Table 1.1), and
the Microsoft C++ implementation provides several more (see Table 1.2). 

__STDC__ Indicates full conformance with the ANSI C standard. Defined as the
integer constant 1 only if the /Za compiler option is given and you are not
compiling C++ code; otherwise is undefined. 

Search for /Za:
/Za, /Ze   (Disable Language Extensions)

The Microsoft C compiler supports the ANSI C standard. In addition, it
offers a number of features beyond those specified in the ANSI C standard.
These features are available when the /Ze option, the default, is specified
and are not available when the /Za option is specified. See Microsoft
Extensions to C for more information.

Command Line Project Settings Description 
/Za Disable Language Extensions (check box selected) ANSI C compatibility.
Language constructs not compatible with ANSI C are flagged as errors. 

Vernon Sauder

reply via email to

[Prev in Thread] Current Thread [Next in Thread]