tech-kern archive

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

Re: introducing flags_t



On Wed, Apr 22, 2009 at 12:48:05PM +0200, Alan Barrett wrote:
 > > So the only plausible problem is if the compiler saturates the (1 << 31)
 > > calculation generating ((1 << 31) - 1). I don't think gcc ever does this!
 > 
 > But some other compiler could, since the result is undefined.

Indeed.

However, adding a new typedef isn't going to fix this...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index