I use the ColdFire PCF5213CAF (32-bit) its part of the M5213EVB.
And i have checked the option "Pad Bytes Added*" under "C/C++ Warnings", but I don't gain a warning.
But doesn't matter anymore, i have changed my code to:
****
union DoubleByte{
/*work-around code warrior problem with 1-byte-unions*/
unsigned char by[2];
char c[2];
unsigned char uc[2];
WORD w;
UWORD uw;
};
****
sizeof(union DoubleByte) = 2
Although, Thank you
Message Edited by fiskom on 2007-02-0709:50 AM