c/7654: -Wenum-assignment : Warn if an enum is being assigned a non enum value

bangerth@dealii.org bangerth@dealii.org
Fri Dec 20 21:50:00 GMT 2002


Synopsis: -Wenum-assignment : Warn if an enum is being assigned a non enum value

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Fri Dec 20 21:50:51 2002
State-Changed-Why:
    I think your proposal is not very much in the spirit of the
    C language, and I doubt that anyone will want to implement
    it. enums are too much used interchangably with integers
    that such an enum would be useful. Note that enums also
    appear all over the place in system header files!

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7654



More information about the Gcc-prs mailing list