[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 --- (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 capable of > representin

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

2014-06-19 Thread myriachan at cox dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: myriachan at cox dot net If you have an unscoped, unfixed-type enum whose members exist solely within [0...INT_MAX], the enum type is considered "signed int", but the "__