NetBSD-Bugs archive

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

Re: kern/38956



The following reply was made to PR kern/38956; it has been noted by GNATS.

From: christos%zoulas.com@localhost (Christos Zoulas)
To: Jason Thorpe <thorpej%shagadelic.org@localhost>
Cc: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>, 
gnats-bugs%NetBSD.org@localhost, 
        kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, 
        netbsd-bugs%NetBSD.org@localhost, martin%duskware.de@localhost
Subject: Re: kern/38956
Date: Mon, 23 Jun 2008 13:48:20 -0400

 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