preprocessor fun
Henry Spencer
henry at utzoo.uucp
Wed Apr 12 01:39:39 AEST 1989
In article <9095 at elsie.UUCP> ado at 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 at zoo.toronto.edu
More information about the Comp.lang.c
mailing list