[fpc-devel] Class helper: small differences between FPC and Delphi

waldo kitty wkitty42 at windstream.net
Sat Mar 26 03:38:08 CET 2011


On 3/25/2011 17:57, Jonas Maebe wrote:
>
> On 25 Mar 2011, at 22:33, Sven Barth wrote:
>
>> 1. Record helpers in Delphi don't support inheritance. In FPC they do and I believe (see point 2) that record helpers in Delphi could support that as well, but it's been disabled on purpose. I personally think that inheritance for record helpers increases their use, because you can work around the "one helper per type" problem by using inheritance.
>>
>> So I will definitely keep that "feature" in
>
> I think you should ask for the reason on the Embarcadero forums before deciding that.

or at least disable it in delphi mode and then if delphi does actually support 
it, then enable it... hopefully there won't be any real differences if they do 
support it ;)



More information about the fpc-devel mailing list