[Bug c++/87404] Implement -Wenum-compare and -Wenum-compare-switch

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Sep 24 10:36:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87404

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
It comes from Clang, where there's no documentation, only a warning message:

-Wenum-compare: comparison of two values with different enumeration types
-Wenum-compare-switch: comparison of two values with different enumeration
types in switch statement


More information about the Gcc-bugs mailing list