[fpc-pascal] FPC 2.5.1 cannot override a virtual method in fpdoc?

Michael Van Canneyt michael at freepascal.org
Tue Aug 3 09:53:58 CEST 2010



On Tue, 3 Aug 2010, Graeme Geldenhuys wrote:

> Hi,
>
> procedure WriteLnF(const s: String; const Args: array of const); reintroduce;
>
>
>
> Changing 'override' to 'reintroduce' in the TIPFNewWriter class, allows me
> to compile the code. So there doesn't seem to be a obvious syntax error.

There is an error, though. You should be able to use override.

Michael.



More information about the fpc-pascal mailing list