------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-27 02:34 ------- try -Wconversion, which works like what you want it to work in 4.3 and above. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37249