https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49604
Melissa <myriachan at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |myriachan at gmail dot com --- Comment #3 from Melissa <myriachan at gmail dot com> --- Happens for me on 5.0.0 build 2014/10/15 (via wandbox) through 4.6.x - whenever typed enums were added. Simpler test case than the original: class MyTable { public: enum Constants : unsigned; }; enum MyTable::Constants : unsigned { LENGTH = 12, }; int main() { return MyTable::LENGTH; }