[Bug c++/40752] -Wconversion: do not warn for operands not larger than target type
photon at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Wed Jul 15 07:55:00 GMT 2009
------- Comment #7 from photon at seznam dot cz 2009-07-15 07:54 -------
(In reply to comment #5)
> Then, let's keep this around as an enhancement request.
>
I think this is actually a bug as the specification of the warning is: Warn for
implicit conversions that may alter a value. This is not the case here.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
More information about the Gcc-bugs
mailing list