This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled
- From: "vlovich at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 09 Nov 2018 03:39:16 +0000
- Subject: [Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled
- Auto-submitted: auto-generated
- References: <bug-87950-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87950
--- Comment #2 from Vitali <vlovich at gmail dot com> ---
Why has clang made a different decision? Also, this warning is present in C++
code too.