[Bug c++/39170] New: -Wconversion useless
tom at atoptech dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 12 17:34:00 GMT 2009
I'm sure this has been reported.
General narrowing of a value (i,e double to int) needs to be reported, but
bit-fields narrowing should not be reported unless asked for. There is nothing
in "C" or "C++" to cast a bit-field, which in theory, would remove the warning.
This is a serious problem and it makes gcc 4.3 not usable!
Test case:
Compile "gcc" with -Wconversion.
Bit-field warnings need to be disabled We need a 4.3.3 patch otherwise we punt
on 4.3 release.
--
Summary: -Wconversion useless
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tom at atoptech dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170
More information about the Gcc-bugs
mailing list