[Bug c/22421] problems with -Wformat and bit-fields

wilson at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jul 12 02:03:00 GMT 2005


------- Additional Comments From wilson at gcc dot gnu dot org  2005-07-12 01:53 -------
Created an attachment (id=9247)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9247&action=view)
31/32/33 bit-fields vs %u/%lu/%ld/%d printf formats

Compile on an LP64 machine (e.g. ia64-linux, x86_64-linux, etc) with -Wformat,
and look at the warnings.  gcc-3.3.x generates 12 warnings.  gcc-4.0 and up
generate 18 warnings, 6 of which appear to be wrong.


-- 


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



More information about the Gcc-bugs mailing list