Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site sdcsla.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!hao!hplabs!sdcrdcf!sdcsvax!sdcsla!west From: west@sdcsla.UUCP (Larry West) Newsgroups: net.lang.c Subject: Re: CC bug test Message-ID: <780@sdcsla.UUCP> Date: Thu, 31-Jan-85 15:55:49 EST Article-I.D.: sdcsla.780 Posted: Thu Jan 31 15:55:49 1985 Date-Received: Mon, 4-Feb-85 04:54:59 EST References: <2479686f.8e4@apollo.uucp> Reply-To: west@sdcsla.UUCP (Larry West) Distribution: net Organization: UC San Diego: Institute for Cognitive Science Lines: 27 Summary: Could be a problem In article <2479686f.8e4@apollo.uucp> nazgul@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@NPRDC { NOT: }