[fpc-devel] Allow record helper inheritance in Delphi mode

Ondrej Pokorny lazarus at kluug.net
Tue Aug 29 10:37:13 CEST 2017


On 29.08.2017 8:47, Michael Van Canneyt wrote:
> On Tue, 29 Aug 2017, Sven Barth via fpc-devel wrote:
>
>> Suggested name is "NonDelphiExtensions".
>
> Why not simply allow $RECORDHELPERS or so ?

Hmm yes. Reading 
https://www.freepascal.org/docs-html/3.0.2/prog/progsu105.html you can 
define other non-delphi extensions for the Delphi mode (like 
NESTEDCOMMENTS).

Maybe it would be more clear to name the modeswitch 
TYPEHELPERINHERITANCE and don't bind it to delphi mode?

Ondrej



More information about the fpc-devel mailing list