[fpc-devel] Inlining functions...

Peter Vreman peter at freepascal.org
Tue Jul 25 21:00:41 CEST 2006

At 16:56 25-7-2006, you wrote:
>some questions:
>1) Is there some good reason why the support for the inline keyword can
>be turned on and off explicitely by the {$INLINE} directive?


>2) Can I check somehow if inlining is enabled during compilation?
>{$IFOPT INLINE} didn't work. ;)

You can't test it. Also the inline is only a hint for the compiler.

>2a) If the answer to 2) is "no", can we make the compiler to ignore it
>like the "far" keyword? It's because, I'm quite used to the fact that
>inline is merely a suggestion to the compiler, not taken as a command
>to be obeyed all times.

What to ignore?


More information about the fpc-devel mailing list