Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!B.GP.CS.CMU.EDU!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.lang.c Subject: Re: Are the criteria for Unix and PC compilers different? Message-ID: <2232abb7@ralf.home> Date: 7 Mar 88 13:55:03 GMT Sender: netnews@PT.CS.CMU.EDU Lines: 18 In-Reply-To: <7451@oberon.USC.EDU> In article <7451@oberon.USC.EDU>, blarson@skat.usc.edu (Bob Larson) writes: }In article <22314ad9@ralf.home> Ralf.Brown@B.GP.CS.CMU.EDU writes: }>#define int long } }* Does not work on compilers that don't allow #define of a keyword. }-- }Bob Larson Arpa: Blarson@Ecla.Usc.Edu blarson@skat.usc.edu }Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson I wasn't aware of any preprocessors smart enough to disallow #defines of keywords. The preprocessor's knowledge of C is limited to recognizing tokens; it doesn't "know" C, it just does the textual substitution. -- {harvard,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- TalkNet: (412)268-3053 (school) ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make. FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?