Path: utzoo!attcan!uunet!auspex!guy
From: guy@auspex.UUCP (Guy Harris)
Newsgroups: comp.lang.c++
Subject: Re: goodbye cpp ??? (macros vs. inline functions)
Message-ID: <556@auspex.UUCP>
Date: 1 Dec 88 08:55:30 GMT
References: <6590072@hplsla.HP.COM> <1757@dataio.Data-IO.COM> <3637@pt.cs.cmu.edu> <1304@cod.NOSC.MIL> <12903@duke.cs.duke.edu> <72227@felix.UUCP>
Reply-To: guy@auspex.UUCP (Guy Harris)
Organization: Auspex Systems, Santa Clara
Lines: 22

>Conditional compilation without cpp:

As has been pointed out before:

	const UNIX = TRUE;
	const MSDOS = FALSE;

	if (UNIX) {
		foobar()
		{
			/* code sub one */
		}
	}
	else if (MSDOS) {
		bletch()
		{
			/* code sub two */
		}
	}

isn't going to work very well (I'm sure other examples can be
constructed, if you consider this one unlikely)....