Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2001 19:18:22 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        obrien@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Re: Idea for project: Make cpp do unifdef service... 
Message-ID:  <76508.1004984302@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 05 Nov 2001 10:07:11 PST." <20011105100711.A75324@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?76508.1004984302>