From owner-freebsd-hackers Mon Nov 5 10:23:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 672B537B416 for ; Mon, 5 Nov 2001 10:23:40 -0800 (PST) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.6/8.11.1) id fA5INWa78229; Mon, 5 Nov 2001 10:23:32 -0800 (PST) (envelope-from obrien) Date: Mon, 5 Nov 2001 10:23:32 -0800 From: "David O'Brien" To: Poul-Henning Kamp Cc: hackers@freebsd.org Subject: Re: Idea for project: Make cpp do unifdef service... Message-ID: <20011105102332.A78169@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20011105100711.A75324@dragon.nuxi.com> <76508.1004984302@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <76508.1004984302@critter.freebsd.dk>; from phk@critter.freebsd.dk on Mon, Nov 05, 2001 at 07:18:22PM +0100 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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 On Mon, Nov 05, 2001 at 07:18:22PM +0100, Poul-Henning Kamp wrote: > >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. The whole cpp functionalty is in major flux. Some of it can be seen in the cpplib of GCC 3.0.2. `cpp' may even go away as a seperate binary in GCC 3.1 (or 3.2). Anyone considering this project should talk to Zack Weinberg to see if this functionality would fit into work in progress. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message