[Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled

vlovich at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 9 03:39:00 GMT 2018


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.


More information about the Gcc-bugs mailing list