[Bug c++/61568] unscoped enums different types differ from __underlying_type

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61568 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/61568] unscoped enums different types differ from __underlying_type

2014-06-20 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61568 Harald van Dijk harald at gigawatt dot nl changed: What|Removed |Added CC||harald at

[Bug c++/61568] unscoped enums different types differ from __underlying_type

2014-06-20 Thread myriachan at cox dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61568 --- Comment #2 from Melissa myriachan at cox dot net --- (In reply to Harald van Dijk from comment #1) The C++ standard requires an unscoped enumeration type with an underlying type that is not fixed to promote to signed int, if signed int is