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



Jonathan Wakely <redi at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

   Last reconfirmed|                            |2013-01-30

            Summary|[C++0X] enumeration with    |[C++0X] enumeration with

                   |fixed underlying type -     |fixed underlying type -

                   |enum literals have wrong    |enumerators have wrong type

                   |type                        |within enumerator-list

     Ever Confirmed|0                           |1



--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-30 
17:35:21 UTC ---

The type of the enumerator is only wrong within the enumerator-list, once the

enumeration declaration is complete sizeof(Z_) is 1 as expected.

Reply via email to