NetBSD-Bugs archive

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

Re: kern/38956



On Jun 23, 10:44am, thorpej%shagadelic.org@localhost (Jason Thorpe) wrote:
-- Subject: Re: kern/38956

| That's no excuse to let the compiler be broken.  People should be  
| allowed to use bitfields in their code.

I agree. Portable bitfields though, not 'unsigned long int' ones.
Also if I have to use BIG and LITTLE endian ifdefs to deal with
the order that the bitfields are allocated, I'd rather use macros
and masks.  The code is cleaner that way.

christos


Home | Main Index | Thread Index | Old Index