Hi all, I've got a structure defined in CodeWarrior C++ as:
struct T
{
UInt32 f1 : 24;
UInt8 f2;
};
This structure is meant to treat the first three bytes of memory as a unit
and the following byte as another unit inside of a 4 byte word. sizeof(T)
== 6. WHY DOESN'T EQUAL 4!!??
Frustrated James.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- FW: Structure sizes James Nicholls
- FW: Structure sizes James Nicholls
- Re: Structure sizes Jim Schram
- Re: Structure sizes Ben Combee
- Re: FW: Structure sizes Vadim Tishkevitch
- Re: Structure sizes Vital Cruvinel Ferreira
- Re: Structure sizes Jim Schram
- RE: Structure sizes Scott Johnson (Bellevue)
- RE: Structure sizes Jim Schram
