Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: preprocessor fun Message-ID: <1989Apr11.153939.529@utzoo.uucp> Organization: U of Toronto Zoology References: <1989Apr7.192628.4547@utzoo.uucp> <9095@elsie.UUCP> Date: Tue, 11 Apr 89 15:39:39 GMT In article <9095@elsie.UUCP> ado@elsie.UUCP (Arthur David Olson) writes: >The goal is to ensure that when > > #if __STDC__ > 1 > #directive_present_in_C94_though_not_in_C89 > #endif /* __STDC__ > 1 */ > >gets written some time in 1985, the "right thing" happens on pre-'84 compilers. However, the line about the # punctuator only appearing in preprocessor directives strongly suggests that this wasn't the intent of the person who wrote that; the above is legal only through a loophole (# doesn't have to be a punctuator). There seems to be some confusion about intent. -- Welcome to Mars! Your | Henry Spencer at U of Toronto Zoology passport and visa, comrade? | uunet!attcan!utzoo!henry henry@zoo.toronto.edu