__STDC__ and non-conforming ANSI C compilers

Karl Heuer karl at haddock.ima.isc.com
Wed Feb 15 04:55:02 AEST 1989


In article <355 at sdti.SDTI.COM> turner at sdti.SDTI.COM (Prescott K. Turner, Jr.) 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.]

The unofficial portions of the Standard do mention the intent to make __STDC__
have the value 2 in the future.  Therefore, I hold the opinion that anyone who
ignores this deserves what they get.  Likewise for anybody who knowingly
depends on a deprecated feature.

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.std.c mailing list