tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Replace gcc-specific __attribute__

Jason Thorpe wrote:
> On Sep 3, 2008, at 5:40 AM, Gregory McGarry wrote:
>> I have a patch to replace most uses of gcc-specific __attribute__ with
>> the BSD sys/cdef.h preprocessor macros.  The most common substitution
>> is __attribute__((packed)) with __packed.  These changes are mostly
>> mechanical and are a large step towards compiling the kernel with PCC.
>> It would be nice to have these changes before the 5.0 release, but I'm
>> not too concerned.  Should they go in?
> It sounds OK to me... but I guess I'm wondering why PCC's attributes
> aren't more compatible with GCC?
They will be, but it's not the highest priority right now to support all 
stuff. The focus is mor on getting the C part of the compiler to be stable :-)

-- Ragge

Home | Main Index | Thread Index | Old Index