[Glibc-bsd-devel] workaround for gcc macro fuckage

Robert Millan zeratul2@wanadoo.es
Tue, 2 Dec 2003 15:25:35 +0100


On Mon, Dec 01, 2003 at 10:56:23PM -0500, Nathan Hawkins wrote:
> On Tue, Dec 02, 2003 at 02:38:31AM +0100, Robert Millan wrote:
> > 
> > As discussed on IRC, gcc-3.4 preprocessor macros (e.g, __NetBSD_kernel__,
> > __FreeBSD_kernel__) not being parsed by cpp-3.4. Guillem said he'd handle
> > this bug.
> 
> Shouldn't those go in the target files in gcc? A wrapper seems like the
> wrong fix to me, unless it's intended to be very temporary.

They should, but for some reason the gcc in CVS doesn't honor them (see above)
Guillem said he'd work on this. If you want to help, please ask him first.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)