[fpc-pascal] Inline and defines
Alexander Todorov
alexx.todorov at gmail.com
Wed Jan 24 12:17:24 CET 2007
On Wed, 24 Jan 2007 10:49:07 +0100
Jonas Maebe wrote
> HASINLINE is simply a temporary internal compiler define which was
> introduced to indicate that the compiler supports the "inline"
> directive. It is not to be used your own code, since it will be
> removed from the compiler (it even has already been removed from
> 2.1.1, and may not even exist anymore in 2.0.4).
>
> I don't think the compiler defines a symbol when inlining is turned
> on. As of 2.1.1, it won't matter anymore either since the compiler
> will always accept the inline specifier, but only actually do
> something with it if inlining is turned on.
Will there be a way to really know if inline is taken into consideration?
> That is not about inlining, but about stackframes. Stackframe
> optimization is implemented in 2.1.1 as well.
Thanks for the answer.
I hope the next 2.2 release will have all these new features.
Greetings.
Alexander
More information about the fpc-pascal
mailing list