Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] A semi-related question



On 4/22/05, Stephen J. Turnbull <stephen@example.com> wrote:

> Yow!  I hadn't read that carefully before ... what a mess.  Inline
> functions?  There's no such thing.  In all the languages I know of,
> "inline" is a hint---the compiler can ignore it, or even inline
> functions that don't say "inline" (cf. C++ and Common LISP).

I think that you are right about g++, but not about gcc. I think gcc
always honours "inline" when you turn on optimisation:

http://gcc.gnu.org/onlinedocs/gcc/Inline.html

Cheers,
Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links