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

Sven Barth pascaldragon at googlemail.com
Sat Mar 26 23:34:56 CET 2011


On 26.03.2011 03:38, waldo kitty wrote:
> 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 ;)

That was my question after all... allowing it for ObjFPC but disallowing 
it for mode Delphi.

Nevertheless I opened a thread here: 
https://forums.embarcadero.com/thread.jspa?threadID=51684&stqc=true

Regards,
Sven



More information about the fpc-devel mailing list