preprocessor fun
Henry Spencer
henry at utzoo.uucp
Tue Apr 11 13:06:03 AEST 1989
In article <10152 at socslgw.csl.sony.JUNET> diamond at diamond. (Norman Diamond) writes:
>> #ifdef notdef
>> #hahafooledyou
>> #endif
>
>The third line is also two preprocessing tokens. Yup, a vendor can sell
>a compiler that does lots of unexpected things, and point out that it
>conforms to the standard...
Thing is, it would appear that a compiler which *refuses* to compile
this DOES NOT conform to the standard and cannot legitimately claim
compliance. The above three lines are a strictly conforming program,
containing nothing that is illegal, undefined, implementation-defined,
etc etc.
--
Welcome to Mars! Your | Henry Spencer at U of Toronto Zoology
passport and visa, comrade? | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list