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: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2005 12:00:41 -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 joseph at codesourcery dot com 2005-07-12 12:00 -------
Subject: Re: problems with -Wformat and bit-fields
On Tue, 12 Jul 2005, pinskia at gcc dot gnu dot org wrote:
> I don't know if I should mark this as a regression as this is really a progression as mentioned in
> comment #2.
The special case of 32-bit bit-fields is a regression, as they should be
accepted where int is (most simply done by making bit-fields of the same
width as int have type int / unsigned int; likewise for other standard
types but with int / unsigned int taking precedence in the choice of types
where multiple standard types have the same width).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22421