[Bug c++/64875] -Winline does not report C++ methods

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 31 02:25:00 GMT 2015


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't think this warning is very relevant to C++.

In C++ 'inline' is more useful for telling the compiler that the function may
be defined in mutiple translation units, and that is typically more important
than whether it is actually inlined or not.



More information about the Gcc-bugs mailing list