Cool, this kind of scripts will indeed be useful, specially when used in jenkins.sh
It would be nice to do following check too: * If a struct has BIG_ENDIAN/LITTLE_ENDIAN ifdefs related to bitfields, then verify it contains the "packed" attribute. Why do you care otherwise about bit fields if you are not planning to send over the network? And if you send them over the network you definetly don't want padding.