FreeMan schrieb:
I'm trying port some code, I get this error. IDE code complied is work, rename tool working.
what is wrong?
Thank you
Kubuntu 14.04 x64, fpc svn r27818 lazarus svn r45213

/comp/asg.pas(100,10) Error: function header doesn't match the previous declaration "DrawEx(TCanvas;AnsiString;TRect;TCustomImageList;LongInt;LongInt;LongInt;LongInt;LongInt;Boolean;Boolean;Boolean;Boolean;Boolean;Boolean;Boolean;Boolean;Double;TGraphicsColor;TGraphicsColor;TGraphicsColor;TGraphicsColor;var AnsiString;var AnsiString;var A"

When you override a method in a derived class, the method declaration must match the declaration in the *base class* (previous declaration).

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to