[Lazarus] overloaded proc not found
Marc Santhoff
M.Santhoff at web.de
Wed Sep 5 11:35:53 CEST 2012
Am Mittwoch, den 05.09.2012, 11:13 +0200 schrieb Mattias Gaertner:
> Marc Santhoff <M.Santhoff at web.de> hat am 5. September 2012 um 09:56 geschrieben:
> > Hi,
> >
> > is there any problem with overloading in fpc2.6.0? Or another change
> > making lazarus behave like this:
>
> > TnkDOMTree = class( TXMLDocument )
>
> > procedure ReadXMLFile(out ADoc: TXMLDocument; const AFilename: String);
> > overload;
> > procedure ReadXMLFile(out ADoc: TXMLDocument; var f: Text); overload;
> > procedure ReadXMLFile(out ADoc: TXMLDocument; f: TStream); overload;
> > procedure ReadXMLFile(out ADoc: TXMLDocument; f: TStream; const ABaseURI:
> > String); overload;
>
> out parameters must match exactly.
> Older fpc had a bug and didn't spot it.
That did it!
Beutiful, making progress is a nice thing. :)
Thanks a lot,
Marc
--
Marc Santhoff <M.Santhoff at web.de>
More information about the Lazarus
mailing list