[Bug libstdc++/35173] trivial long -> int implicit conversions

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 12 22:39:00 GMT 2008



------- Comment #2 from manu at gcc dot gnu dot org  2008-02-12 22:38 -------
Please, try with the new -Wconversion (http://gcc.gnu.org/wiki/NewWconversion),
it shouldn't warn for values that fit (without changing sign) into the target
type.

Nevertheless, perhaps it may be interesting to make Wconversion warn about some
particular conversions in a special way. 


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35173



More information about the Gcc-bugs mailing list