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

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -