Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!caip!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!houxm!hropus!jrw From: jrw@hropus.UUCP (Jim Webb) Newsgroups: net.sources Subject: Re: Re: ifdef filter Message-ID: <583@hropus.UUCP> Date: Thu, 24-Jul-86 14:32:39 EDT Article-I.D.: hropus.583 Posted: Thu Jul 24 14:32:39 1986 Date-Received: Fri, 25-Jul-86 21:15:34 EDT References: <323@enmasse.UUCP> <924@cyb-eng.UUCP> <640@wg3b20.UUCP> <3479@amdahl.UUCP> Organization: Bell Labs, Holmdel, NJ Lines: 9 > I know of a GREAT way to filter out "un-executed" ifdefs. It's > called the C pre-processor! Just feed it your code, with a few > -Doptions to define which ifdefs you want defined, and presto-changeo, > it will spit out only the wanted source. I laugh! This approach will also expand all the #defines that you use, making the code quite unreadable, especially if you #include -- Jim Webb "Out of phase--get help" ihnp4!houxm!hropus!jrw