http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53603
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |manu at gcc dot gnu.org Resolution| |DUPLICATE --- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-06-07 14:03:45 UTC --- It warns with -Wconversion, but that brings other warnings. See also: http://gcc.gnu.org/wiki/NewWconversion#Frequently_Asked_Questions We could have finer grained options such as Wconversion-float-to-int Wconversion-precission-loss Wconversion-64-to-32, but it isn't clear how far we should go: There will be always some people that want a warning in a specific case and not in another very specific case. Also, Wconversion currently warns in too many common cases to be enabled by -Wextra: See PR38522, PR39170, PR40752, PR53277, etc. *** This bug has been marked as a duplicate of bug 53001 ***