[fpc-devel] Safecall on Linux (and other unices?)
Michael Van Canneyt
michael at freepascal.org
Wed Jul 21 11:41:16 CEST 2010
On Wed, 21 Jul 2010, Paul Ishenin wrote:
> 21.07.2010 17:28, Joost van der Sluis wrote:
>> Is it an idea to change the 'safecall' convention on Linux/i386 to be
>> 'cdecl + hidden exception handling' ?
>
> How Kylix handles the safecall convention on linux? I think we need to follow
> it.
Well,
Safecall = cdecl for Kylix.
Borland decided to do this instead of giving a compiler error.
But since Kylix is long dead, I don't see the need to follow it in this
detail. Or do you know a lot of kylix programs/code/libraries out there ?
We have now the opportunity to make something useful of safecall on unix,
we should take it. The proposal of Joost is the only sensible option IMHO.
Michael.
More information about the fpc-devel
mailing list