https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87950
--- Comment #18 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to nightstrike from comment #17) > (In reply to Arsen Arsenović from comment #16) > > can't we assume that following the aforementioned > > https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1766 ? at > > least in C++>=17 (and, this bug should either be hijacked or remade for C++, > > probably) > > As long as we are hijacking for C++, the following should not warn, given > how enum class works: But that is PR 53479.