__STDC__ and non-strictly conforming ANSI C compilers

Joe English english at stromboli.usc.edu
Wed Dec 21 14:25:32 AEST 1988



In article <22765 at watmath.waterloo.edu> rbutterworth at watmath.waterloo.edu (Ray Butterworth) writes:

>The only thing that is guaranteed is that "#if !defined(__STDC__)"
>will guarantee that the compiler is NOT an ANSI Standard C compiler.
>

True, since the "defined" directive does not exist in many pre-dpANS
compilers and will cause an error!

I'm still unclear on the meaning of __STDC__... does it mean
"supports prototypes, void, signed, etc.," or "strictly conforming,
no extensions?"  Or is this not specified?  


--Joe English
english at lipari.usc.edu



More information about the Comp.std.c mailing list