This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27975] warning for comparison of different enum types impossible to control/is undocumented
- 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: 10 Jun 2006 02:21:09 -0000
- Subject: [Bug c++/27975] warning for comparison of different enum types impossible to control/is undocumented
- References: <bug-27975-12684@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 2006-06-10 02:21 -------
Why is this that bad of a warning, really it could prove useful to make sure
that you don't end up with always true comparisons because enums are not the
same as their under lieing type in C++.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27975