This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16378] incorrect warning "with different width" with -O2 -Wconversion
- From: "pepster at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2004 07:35:20 -0000
- Subject: [Bug c/16378] incorrect warning "with different width" with -O2 -Wconversion
- References: <20040706050717.16378.pepster@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pepster at users dot sourceforge dot net 2004-07-06 07:35 -------
Since this bug was opened in 2002 I guess there is little chance of a fix.
I would like to keep using -Wconversion, so can anyone provide a workaround?
What do I need to cast and to what?
Remember this is in the glib library ...
Joseph
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16378