[fpc-pascal] 3123 inherited not supported inside inline

Michael Van Canneyt michael at freepascal.org
Sat Jun 24 14:18:02 CEST 2023



On Sat, 24 Jun 2023, Mattias Gaertner via fpc-pascal wrote:

> Hi,
>
> With development fpc I get a lot of messages like:
>
> fgl.pp(1112,1) Note: (3123) "inherited" not yet supported inside inline
> procedure/function
>
> Since most users can't do anything about the fgl inline modifier, this
> message dilutes the output.
>
> IMO such a message should be off by default.
>
> What do you think?

The simplest solution is to remove the inline modifier, since it is clearly
superfluous for that routine.

According to Florian, inline should not be used to begin with, since the
compiler should be able to decide autonomously to inline a routine or not.

Michael.


More information about the fpc-pascal mailing list