https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91950
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Eric Gallager from comment #2) > I think this is actually a dup of another bug that asked the same thing, but > I forget its number... There are dozens of them, because nobody understands how enums work in C++. I keep meaning to write a FAQ entry.