CC bug test
Larry West
west at sdcsla.UUCP
Fri Feb 1 06:55:49 AEST 1985
In article <2479686f.8e4 at apollo.uucp> nazgul at apollo.uucp (Kee Hinckley) writes:
>...
>
>main()
>{
> printf("Currently compiling only");
>#ifdef V4
> printf(" V4");
>#endif
>#ifdef V4.1
> printf(" V4.1");
>#endif
>#ifdef V4.2
> printf(" V4.2");
>#endif
> printf(" lines.\n");
>}
Hmmm. On both our Vax and Sun (both 4.2bsd, more or less), the result
of running this program is: "Currently compiling only lines.". I hope
these "#ifdef"s are not in widespread use. I haven't noticed them
in any code I've seen (user or system).
--
--| Larry West, UC San Diego, Institute for Cognitive Science
--| UUCP: {decvax!ucbvax,ihnp4}!sdcsvax!sdcsla!west
--| ARPA: west at NPRDC { NOT: <sdcsla!west at NPRDC> }
More information about the Comp.lang.c
mailing list