Re: Structure layout in big/little endian modes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Владимир Андреев <volodya@xxxxxxxxxxxx> writes:

> Yes, it's the case. But I want more intuitive code without definitions of
> masks, shifts, etc. Thats why I chose bit fields.

Using bitfields is fine as long as you understand that they are not
portable between processors.  If you want portability, don't use
bitfields.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux