Current-Users archive

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

Re: src/sys/sys/rb.h causes problem?



On Thu, Jun 05, 2008 at 00:53:02 +0100, Andrew Doran wrote:

> Bitfields must be signed ints, IIRC.

No.  C99 only defines behavior for "(signed|unsigned)? int", but
implementation (psABI) defines "implementation defined" behavior for
other integer types.  psABIs define different storage units used by
bit-fields depending on their declared type.

SY, Uwe
-- 
uwe%stderr.spb.ru@localhost                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen


Home | Main Index | Thread Index | Old Index