On 16/01/2013 13:17, Jonas Maebe wrote:


Are those calls before or after the method body appears in the source code? The compiler cannot inline anything for which it hasn't parsed the source code yet.


The method was implemented below the code that used it. Moving it up solved it.

Actually the "inline;' in the declaration is not really used. Removing it results in the same code. Perhaps a Hint or Warning when inline is used in the declaration could avoid these mistakes.

Thanks a lot.

Ludo
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to