https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87951
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Askar Safin from comment #7) > "g++ -fstrict-enums" doesn't disable warning if I use "enum class" instead > of plain enum. Yes because they have different semantics ...