This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12242] g++ should warn about out-of-range int->enum conversions
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2007 17:47:55 -0000
- Subject: [Bug c++/12242] g++ should warn about out-of-range int->enum conversions
- References: <bug-12242-702@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from manu at gcc dot gnu dot org 2007-01-21 17:47 -------
I was thinking about adding this to Wconversion. But perhaps it is more
appropriate for Wundefined. After all, the value may change or not depending on
the particular implementation, since it is undefined.
Gabriel, should I add it to the list of Wundefined?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12242