Re: macro in linux/compiler.h pollutes gcc __attribute__ namespace

Kyle Moffett
2005-05-04T20:57:57Z

On May 4, 2005, at 14:10:21, Timmy Douglas wrote:
> I'm guessing it goes sort of like this:
>
> signal.h -> bits/sigcontext.h -> asm/sigcontext.h -> linux/compiler.h

Installing headers directly from the kernel has been deprecated for
quite a while. Please look for the "linux-kernel-headers" package in
whatever your package management system is. It has a set of cleaned
headers. IIRC, there were some proposals a while back for how to fix
this and make a set of headers useable from userspace, but nothing
substantial ever got done.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$
r !y?(-)
------END GEEK CODE BLOCK------