Public Comment Number PC-UK0040 ISO/IEC CD 9899 (SC22N2620) Public Comment =========================================== Date: 1998-01-13 Author: Clive D.W. Feather Author Affiliation: Self Postal Address: Demon Internet Limited 322 Regents Park Road London N3 2QQ United Kingdom E-mail Address: Telephone Number: +44 181 371 1138 Fax Number: +44 181 371 1037 Number of individual comments: 1 Comment 1. Category: Normative change to intent of existing feature Committee Draft subsection: 6.5.2.1 Title: Bitfields of non-standard types should require a diagnostic. Detailed description: If a bitfield is declared with a type other than plain, signed, or unsigned int, the behavior is undefined. Since this can easily be determined at compile time, it should generate a diagnostic. An exception is required for the type underlying /bool/, and perhaps for any type that can have valid bitfields. Delete the first sentence of 6.5.2.1p8. Add to the end of 6.5.2.1p3: A bit-field shall have a type that is a qualified or unqualified version of /signed int/ or /unsigned int/, or of the type /bool/ defined in the header . or: A bit-field shall have a type that is a qualified or unqualified version of /signed int/ or /unsigned int/, of the type /bool/ defined in the header , or of some other implementation- defined integer type.