This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/27975] warning for comparison of different enum types impossible to control/is undocumented



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]