Re: [fpc-pascal] A Delphi "class constructor" does not compile in FPC

2015-02-04 Thread silvioprog
On Wed, Feb 4, 2015 at 4:41 PM, Sven Barth wrote: > On 04.02.2015 19:58, silvioprog wrote: > [...] > Bug? >> > > Yes. Please report. Done: http://bugs.freepascal.org/view.php?id=27405. Thank you! -- Silvio Clécio My public projects - github.com/silvioprog

Re: [fpc-pascal] A Delphi "class constructor" does not compile in FPC

2015-02-04 Thread Sven Barth
On 04.02.2015 19:58, silvioprog wrote: Hello, First, please test the code below in Delphi and after in FPC: TTest = class public class constructor Create; constructor Create; virtual; end; ... constructor TTest.Create; begin end; class constructor TTest.Create; begin end; O

[fpc-pascal] A Delphi "class constructor" does not compile in FPC

2015-02-04 Thread silvioprog
Hello, First, please test the code below in Delphi and after in FPC: TTest = class public class constructor Create; constructor Create; virtual; end; ... constructor TTest.Create; begin end; class constructor TTest.Create; begin end; OK, it will compile fine. Now test the code bel