Reuben Thomas wrote:
> Compiling with -Winline, I get warnings like this:
> 
> src/main.c: In function 'main':
> ./lib/gl_xlist.h:124:1: warning: inlining failed in call to
> 'gl_list_add_last_inline': call is unlikely and code size would grow

Formally, this looks like a warning. Semantically, it is merely an
informative diagnostic of the compiler. You are asking the compiler
"tell me about all your decisions whether to inline calls or not",
and the compiler tells you.

IMO, this diagnostic is worth turning on once a year only, and keep it off
most of the time.

Bruno


Reply via email to