ricardo ricardo

struct definition for ColdFires / Codewarrior

Discussion created by ricardo ricardo on Oct 15, 2006
Latest reply on Oct 18, 2006 by ricardo ricardo
I cannot create correctly a structure with odd number of bytes, for example, a struct containing a longint(32b) and a char(8b)  should result a 5 bytes size right?Or a shortint(16b)  and a char(8b)
should result a 3 bytes size..
Codewarrior generates a 6 bytes size and 4 bytes size, respectivelly...
For only chars member it works, but if I mix int/long etc...booo..
Couls someone help me?
Ricardo Raupp