Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: preprocessor fun Message-ID: <1989Apr11.030603.17890@utzoo.uucp> Organization: U of Toronto Zoology References: <1989Apr7.192628.4547@utzoo.uucp> <10152@socslgw.csl.sony.JUNET> Date: Tue, 11 Apr 89 03:06:03 GMT In article <10152@socslgw.csl.sony.JUNET> diamond@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@zoo.toronto.edu