This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -O1 -Winline
On Thu, 2004-09-16 at 02:06, James E Wilson wrote:
> For C code, where inline
> tends to be used sparingly, and only for functions that are likely to be
> inlined, this warning may give you useful info. For C++ code, where
> inline tends to be used a lot, and some things are implicitly inline,
> this warning will just give you a lot of noise.
It would be great to add this to the gcc manual. Although what you say
is obvious, I never thought about it before and, obviously, this poster
did not either.
Mathieu
--
Mathieu Lacage <mathieu.lacage@sophia.inria.fr>