__STDC__ and non-conforming ANSI C compilers

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Jan 18 08:46:12 AEST 1989


In article <2779 at ficc.uu.net> peter at ficc.uu.net (Peter da Silva) writes:
>What is needed, then, is:
>	#ifdef __STD_PROTO__	/* Function prototyping */
>	#ifdef __STD_STRING__	/* string concatenisation */
>	#ifdef __STD_TOKEN__	/* token pasting */

That's fine; get compiler vendors to agree on a useful set.
X3J11 decided not to authorize official "levels" of conformance
to the Standard; it is a pure binary choice (for which __STDC__
is supposed to provide one bit of information, not several bits
as some vendors appear to have decided).



More information about the Comp.std.c mailing list