[issue19537] Fix misalignment in fastsearch_memchr_1char

Stefan Krah report at bugs.python.org
Sun Mar 23 22:11:39 CET 2014


Stefan Krah added the comment:

Yes, §6.7.2.1:

A bit-field declaration with no declarator, but only a colon and a width, indicates an unnamed bit-field.

With a footnote:

105) An unnamed bit-field structure member is useful for padding to conform to externally imposed layouts.


Unnamed struct members are valid, too:

There may be unnamed padding at the end of a structure or union.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19537>
_______________________________________


More information about the Python-bugs-list mailing list