@cpprust There are two different things here: bit order in bytes (on hardware level), and the order of bitfields (as chosen by GCC). The former can't exist in the first place, because there is absolutely no way to check the supposed "bit order", because there's no way to grab a bit by its index from memory, only a whole byte. The latter isn't defined by architecture and C standard, and is defined by GCC (and probably the platform's ABI). You can't use the latter to judge about the former.
↧