[fpc-pascal] About FPC calling register like Delphi

Florian Klaempfl florian at freepascal.org
Tue Jan 23 20:48:10 CET 2007


Daniƫl Mantione schrieb:
> 
> Op Tue, 23 Jan 2007, schreef Alexandre Leclerc:
> 
>> Hi all,
>>
>> I saw some time ago in a roadmap for the next version (1.2?) - that I
>> can't find anymore - a point about being compatible with Dephi calling
>> register... And I was wondering if anything has changed in FPC
>> regarding this?
>>
>> (Because I use ROPS and there are issues because it is different from
>> FPC and Delphi and I was waiting that it is /final/ in FPC so that
>> ROPS would work ok, or at least fix the thing /finally/ so that it
>> then works for ever with FPC.)
> 
> FPC's calling convention is compatible with Delphi, since 1.9.4. There are 
> minor differences in the entry/exit code though, but they do not affect most 
> code.

No, afaik stack paramters are pushed in the wrong order.



More information about the fpc-pascal mailing list