[Bug c/17170] -Wdefault-bitfield-sign

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 24 16:00:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-24 16:00 -------
http://gcc.gnu.org/onlinedocs/gcc/Structures-unions-enumerations-and-bit_002dfields-
implementation.html#Structures-unions-enumerations-and-bit_002dfields-implementation

"Whether a “plain” int bit-field is treated as a signed int bit-field or as an unsigned int bit-field (C90 
6.5.2, C90 6.5.2.1, C99 6.7.2, C99 6.7.2.1).
By default it is treated as signed int but this may be changed by the -funsigned-bitfields option."

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17170



More information about the Gcc-bugs mailing list