[fpc-devel] Safecall on Linux (and other unices?)

Michael Van Canneyt michael at freepascal.org
Wed Jul 21 11:52:44 CEST 2010

On Wed, 21 Jul 2010, Jonas Maebe wrote:

> On 21 Jul 2010, at 11:28, Joost van der Sluis wrote:
>> At this moment the 'safecall' calling convention on Linux is undefined.
>> It does exist but has no real meaning. (In fact it is just stdcall, the
>> exception-handling code is only added on Windows by the compiler)
>> Is it an idea to change the 'safecall' convention on Linux/i386 to be
>> 'cdecl + hidden exception handling' ?
> See http://bugs.freepascal.org/view.php?id=16685 and the linked discussion from June on the fpc-pascal list.

So we can interpret that as a 'yes' :-)


More information about the fpc-devel mailing list