[Bug c++/80458] [-Wreturn-type] false negative on missing return statement in a member function

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 18 22:40:00 GMT 2017


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think this is because an unused inline function doesn't generate any code, so
isn't seen by the compiler passes that produce the warning.


More information about the Gcc-bugs mailing list