[Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 9 08:20:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87951
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
One more comment here. I do cooperate with our openSUSE maintainer of Chromium
package and they have quite some of these warnings when building with GCC. I
told him he can strengthen behavior with -fstrict-enums option. Once we did
that the package crashes during build.
More information about the Gcc-bugs
mailing list