[fpc-devel] Interface scope incompatibility with Delphi

Alexander Klenin klenin at gmail.com
Thu Nov 11 14:08:07 CET 2010


On Thu, Nov 11, 2010 at 21:43, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> On 11/11/10 10:18, Jonas Maebe wrote:
>>> Why didn't they just set a bounty or pay a compiler dev to fix it?
>>> I'm sure that would be cheaper than buying lots of Delphi licences.
>>
>> I don't think that this is something that can simply be fixed. As I
>> mentioned before, this behaviour would depend on FPC performing exactly the
>> same kind of optimisations for reference-counted entities as Delphi under
>> all circumstances. That is simply not a requirement that is maintainable.
>
> Ah, right, I misinterpreted Alexander's email.  I thought he was referring
> to other interface bugs, not this specific "incompatibility".

Yes. While other bugs were declared minor and fixable annoyances,
lack of this feature totally undermined most of the company code
(which used interfaces primarily as a means to control object lifetimes,
and based major parts of the framework on it).

-- 
Alexander S. Klenin



More information about the fpc-devel mailing list