This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients pitrou, schwab, serhiy.storchaka, skrah, vstinner
Date 2014-03-23.21:11:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395609099.68.0.376324455229.issue19537@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-03-23 21:11:39skrahsetrecipients: + skrah, pitrou, vstinner, serhiy.storchaka, schwab
2014-03-23 21:11:39skrahsetmessageid: <1395609099.68.0.376324455229.issue19537@psf.upfronthosting.co.za>
2014-03-23 21:11:39skrahlinkissue19537 messages
2014-03-23 21:11:39skrahcreate