Am Mittwoch, den 05.09.2012, 11:13 +0200 schrieb Mattias Gaertner: > Marc Santhoff <[email protected]> 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 <[email protected]> -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
