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 <rep...@bugs.python.org> <http://bugs.python.org/issue19537> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com