https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89051
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Target Milestone|--- |10.0 --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Isn't the representation LangEnabledBy, e.g.: Wenum-compare C ObjC C++ ObjC++ Var(warn_enum_compare) Init(-1) Warning LangEnabledBy(C ObjC,Wall || Wc++-compat) Warn about comparison of different enum types. Based on that we should be able to implement it. I'll take a look next stage1.