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/7654: -Wenum-assignment : Warn if an enum is being assigned a non enum value


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


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