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

Timmy Douglas
2005-05-05T02:09:22Z

Kyle Moffett <mrmacman_g4@mac.com> writes:

> 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.

Thanks for the input. It seems this is a gentoo bug then because it
leaves this #define in their version of the source (even though it
removes some other things). I don't see this problem on a debian box I
have though. Too bad this wasn't standardized on.

Thanks again.