This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37249] gcc does not warn on trucate of int64_t to int32_t
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2008 02:34:07 -0000
- Subject: [Bug c/37249] gcc does not warn on trucate of int64_t to int32_t
- References: <bug-37249-16637@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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