This is the mail archive of the gcc-prs@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]

Re: c/5480: -Wall doesn't issue warning for enumerated type mismatch


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


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