<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Michael Van Canneyt via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Sa., 24. Juni 2023, 14:18:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Sat, 24 Jun 2023, Mattias Gaertner via fpc-pascal wrote:<br>
<br>
> Hi,<br>
><br>
> With development fpc I get a lot of messages like:<br>
><br>
> fgl.pp(1112,1) Note: (3123) "inherited" not yet supported inside inline<br>
> procedure/function<br>
><br>
> Since most users can't do anything about the fgl inline modifier, this<br>
> message dilutes the output.<br>
><br>
> IMO such a message should be off by default.<br>
><br>
> What do you think?<br>
<br>
The simplest solution is to remove the inline modifier, since it is clearly<br>
superfluous for that routine.<br>
<br>
According to Florian, inline should not be used to begin with, since the<br>
compiler should be able to decide autonomously to inline a routine or not.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I don't agree with Florian here cause the compiler detecting an inlineable routine that's declared in the interface section means an interface change after the interface section was already parsed and thus leading to the necessity to do recompilations which are already not working that well. </div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>