On 13.11.2010 14:28, Michael Van Canneyt wrote:
On Sat, 13 Nov 2010, Sven Barth wrote:
Hello together!
I've installed FPC 2.4.2 and after reading the page about the changes
since 2.4.0, I've compiled Lazarus and noticed a warning in imglist.pp
regarding a Equals method (already reported). No
On 13.11.2010 14:26, Paul Ishenin wrote:
13.11.2010 20:19, Sven Barth wrote:
TTestObject = class
public
function ToString: String;
function Equals(aObject: TObject): Boolean;
end;
You are just redeclaring the method. Try to add ToString property or
declare a ToString argument in some method and
On Sat, 13 Nov 2010, Sven Barth wrote:
Hello together!
I've installed FPC 2.4.2 and after reading the page about the changes since
2.4.0, I've compiled Lazarus and noticed a warning in imglist.pp regarding a
Equals method (already reported). Now I remembered that
http://wiki.freepascal.org
13.11.2010 20:19, Sven Barth wrote:
TTestObject = class
public
function ToString: String;
function Equals(aObject: TObject): Boolean;
end;
You are just redeclaring the method. Try to add ToString property or
declare a ToString argument in some method and you should get an error.