From owner-freebsd-hackers Mon Nov 5 10:19:22 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 7745937B416; Mon, 5 Nov 2001 10:19:19 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id fA5IIMP76510; Mon, 5 Nov 2001 19:18:24 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: obrien@freebsd.org Cc: hackers@freebsd.org Subject: Re: Idea for project: Make cpp do unifdef service... In-Reply-To: Your message of "Mon, 05 Nov 2001 10:07:11 PST." <20011105100711.A75324@dragon.nuxi.com> Date: Mon, 05 Nov 2001 19:18:22 +0100 Message-ID: <76508.1004984302@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20011105100711.A75324@dragon.nuxi.com>, "David O'Brien" writes: >On Sat, Nov 03, 2001 at 10:15:00AM +0100, Poul-Henning Kamp wrote: >> In particular it doesn't understand lines like: >> #if defined(foo) || defined(bar) >> >> Is there a volunteer who would attempt to add the unifdef functionality >> to cpp ? > >Concidering that cpp is vendor software, there would need to be a strong >case for it. What is wrong with just fixing unifdef(1) itself? Nothing, apart from the fact that it would be much more work. I'm pretty sure that it would be possible to get the GCC crew to adopt a patch which added functionality to cppp. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message