This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22421] problems with -Wformat and bit-fields
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2005 01:53:23 -0000
- Subject: [Bug c/22421] problems with -Wformat and bit-fields
- References: <20050712014914.22421.wilson@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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