by kbumsik · 8y ago · 0 comments
From the GCC documentation[1], it says:
> Determined by ABI.
This means that it may be different when compiling for different architectures. How you can say it well-defined? Here is a good example [2] on the compability issue when using bit fields
[1]: https://gcc.gnu.org/onlinedocs/gcc/Structures-unions-enumera...
In an immense majority of case you won't be serializing or exchanging your bitfields over the network ; this is entirely a non-problem.