[Ovmsdev] Bitfields and C Compilers

Michael Balzer dexter at expeedo.de
Thu Feb 7 07:55:35 HKT 2013


Tom,

Am 07.02.2013 00:41, schrieb Tom Saxton:
> Actually bitfield order isn't defined by C/C++ or the processor 
> endianness, it's completely a compiler choice. Depending on it works 
> great until you switch to a different compiler, or the compiler 
> changes how it works. Been there, done that. 

thanks for the info... I'll change the bit fields back to #defines, had 
those in the first place but thought bit fields were meant for this kind 
of job.

Regards,
Michael

-- 
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dexter.vcf
Type: text/x-vcard
Size: 206 bytes
Desc: not available
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20130207/7f78c6e3/attachment.vcf>


More information about the OvmsDev mailing list