gcc, powerpc and bit field operations

Eljay Love-Jensen eljay@adobe.com
Wed Oct 29 21:35:00 GMT 2003


Hi Roman,

Bitfields are supposed to be packed into a word (i.e., an int).

If you want them to be packed into something smaller (or larger), you have to do it yourself using masks and shifts to read/write.

HTH,
--Eljay




More information about the Gcc-help mailing list