Christian Thalinger wrote:
On Fri, 2006-09-29 at 11:29 -0700, Casey Marshall wrote:
Huh, that's odd. I thought I read that `extern inline' *did* force the
function to be inlined. Maybe it is like Andrew said, that this is the
GNU C behavior, not the C99 one.
What C compiler are you using?
If 'static inline' works on GCC and on other compilers, it should be
fine to use that.
Should I commit a patch?
I think so. GCC changed its behavior with respect to this issue between
the 3.3 and 3.4 versions if my memory serves me.
David Daney