Subject: Re: NetBSD master CVS tree commits (fwd)
To: Peter Galbavy <peter@wonderland.org>
From: J.T. Conklin <jconklin@netcom.com>
List: current-users
Date: 02/28/1996 10:49:58
> Now, when I do:
> peter@peter.noc.demon.net $ cpp -dM < /dev/null
> #define __GCC_NEW_VARARGS__ 1
> #define __NetBSD__ 1
> #define sparc 1
> #define __GNUC__ 1
> #define unix 1
> 
> I see no __STDC__ defined. What am I missing here (ie where would __STDC__
> be defined) or are all the source files really being compiled (in userland
> at least) without prototypes for the standard libraries ?

Gcc passes command line arguments to cpp which undefine all cpp's
predefined macros and define ones appropriate for the options used
when gcc was invoked.  This is how __STDC__ is defined.

	--jtc