This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Nov 2018 08:20:15 +0000
- Subject: [Bug c++/87951] GCC warns about reaching end of non-void function when all switch is completely handled
- Auto-submitted: auto-generated
- References: <bug-87951-4@http.gcc.gnu.org/bugzilla/>
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.