[fpc-devel] calling convention on mac
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Nov 28 21:50:44 CET 2012
On 28 Nov 2012, at 21:36, Martin wrote:
> It does not matter if I compile it with stdcall, cdecl, pascal. The below on a 32 bit intel mac (fpc 2.6.0) always returns result in 2 registers (eax, edx)
>
> Is there a way to change this (some declaration in the source, some switch)?
It's a bug that's fixed in trunk: http://wiki.freepascal.org/User_Changes_Trunk#Location_of_certain_function_result_types
Jonas
More information about the fpc-devel
mailing list