__STDC__ and non-conforming ANSI C compilers

Liber nevin1 at ihlpb.ATT.COM
Thu Feb 23 11:34:23 AEST 1989


In article <9075 at elsie.UUCP> ado at elsie.UUCP (Arthur David Olson) writes:
|> In fact, its failure to say more will probably doom the plan to define
|> __STDC__ to 2 in future standards.  [Because many programs will write
|> #if __STDC__ == 1   and will break if it ever becomes 2.]

|#if __STDC__ >= 1

You don't really want to do this, since the future standard may not be
100% upward compatable with ANSI C 89.
-- 
 _ __	NEVIN ":-)" LIBER  nevin1 at ihlpb.ATT.COM  (312) 979-4751  IH 4F-410
' )  )			 "I will not be pushed, filed, stamped, indexed,
 /  / _ , __o  ____	  briefed, debriefed or numbered!  My life is my own!"
/  (_</_\/ <__/ / <_	As far as I know, these are NOT the opinions of AT&T.



More information about the Comp.std.c mailing list