Does gcc completely conform to the inline model specified in C99 standard?
I've browsed some info about this problem. But I can't understand why the inline func must be specified with "extern" or "static".
In .c file, calling an inline function defined in the same translation unit causes an error. What's the reason of compiler behaviour?
I found a post Is “inline” without “static” or “extern” ever useful in C99?
What does this mean?
If a call to some function func with external linkage occurs where an inline definition is visible, the behavior is the same as if the call were made to another function, say __func, with internal linkage.