struct - Does ANSI C support signed / unsigned bit fields? -
does make sense qualify bit fields signed / unsigned?
the relevant portion of standard (iso/iec 9899:1999) 6.7.2.1 #4:
a bit-field shall have type qualified or unqualified version of _bool, signed int, unsigned int, or other implementation-defined type.
Comments
Post a Comment