[fpc-pascal] Inline and defines

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Jan 24 12:46:21 CET 2007


On 24 jan 2007, at 12:03, Пётр Косаревский wrote:

>> Add {$inline on} to your source
>
> So I can be sure, that if it compiles, all inlines are implemented/ 
> forced?

No, inline is and will always only be a hint. There are currently no  
provisions in the compiler which allow it to inform you in all cases  
where it does not perform the inlining (if you turn on warnings, it  
will warn for some cases).

Implementing it for all cases is non-trivial and has low priority.


Jonas


More information about the fpc-pascal mailing list