[Bug c++/28236] wrong "control reaches" warning with enums.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 6 16:55:00 GMT 2006



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-07-06 16:55 -------
Values in enums that are out of range are undefined in C++ (while defined in
C).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-06 16:55:34
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28236



More information about the Gcc-bugs mailing list