c/5480: -Wall doesn't issue warning for enumerated type mismatch
bangerth@dealii.org
bangerth@dealii.org
Tue Nov 5 08:09:00 GMT 2002
Synopsis: -Wall doesn't issue warning for enumerated type mismatch
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Nov 5 08:09:20 2002
State-Changed-Why:
Confirmed. That's probably just because enum variables
decay to integers, but anyway.
In C++, you could at least stick the enum into a namespace
to enforce that people use scoping ;-)
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5480
More information about the Gcc-prs
mailing list