Garst R. Reese wrote:

Hi Dmitry,
I think the problem we were having is big endian vs little endian.
Checking.
If so, sorry for noise.
Garst

Dmitry wrote:
Oops...
where are bitfields?
~d
The C specs do not define whether bit fields are allocated from the MSB down or the LSB up. Different compilers do different things. Some have proprietary switches (e.g. using #pragma xxxx) to allow the order to be swapped. I can't remember what GCC offers you in this regard.

Regards,
Steve



Reply via email to