[OT] Visual C++ question

Jerry Feldman gaf at gaf.blu.org
Fri Feb 14 14:55:03 EST 2003


On Fri, 14 Feb 2003 14:24:56 -0500
"Wizard" <wizard at neonedge.com> wrote:

> I found it one of my source files:
> #define __STDC__
This should never be defined in your source code. This should be set by
the compiler. This is a flag you test in your program (or better header
files). Many header files today have very complicated feature checks,
and this is one of them. For instance:

#if defined (__STDC__)
extern int foo(int a, char *b);
#else
extern int foo();
#endif



-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20030214/327343bd/attachment.sig>


More information about the Discuss mailing list