|
Re: PPC bool bitfield
I don't think either is correct.
The ": 1" part of the definition specifies how many bits wide to make the element. If the compiler does what it is hinted to do, the eight booleans will take up exactly one byte. That will map precisely onto the one-byte char also defined in the union.
|