Re: [fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Sven Barth
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

Re: [fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Sven Barth
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

Re: [fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Michael Van Canneyt
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

Re: [fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Paul Ishenin
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.

[fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Sven Barth
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/User_Changes_2.4.2#TObject_class_declarati

[fpc-pascal] Free Pascal 2.4.2 released!

2010-11-13 Thread Marco van de Voort
Hello, we have placed a new major release of the Free Pascal Compiler, version 2.4.2 on our ftp-servers. Changes that may break backwards compatibility are documented at: http://wiki.freepascal.org/User_Changes_2.4.2 Downloads are available at: the main FTP server at ftp://ftp.freepascal.org/p