[lazarus] Possible compiler bug with derived classes?
Chris Storah
cstorah at emis-support.demon.co.uk
Thu Nov 4 03:28:27 EST 1999
I am having problems when compiling a derived class (WinNT version).
This is the code:
TVer1 = class(TObject)
protected
rec: TObject;
end;
TVer2 = class(TVer1)
protected
rec: TObject; <=== duplicate identifier
end;
The error using ppc386 is 'Error: Duplicate identifier REC'.
Is this a known bug?
If so, anyone know how to fix it without changing the identifier names
(Delphi works with the above code).
Cheers,
Chris
More information about the Lazarus
mailing list