On 22 July 2010 18:05, José Mejuto <[email protected]> wrote: > Hello Joost, > > Thursday, July 22, 2010, 5:57:27 PM, you wrote: > >>> Even if declarations in the code are wrong (which I had not checked, I >>> assumed they were fine) the "const" behavior with record in Windows >>> safecall and linux cdecl is different. > JvdS> Offcourse the behaviour is different for a different calling convention > JvdS> and OS. That's perfectly normal. If all calling conventions were the > JvdS> same, we woudn't have them. > > Yes, but I think, maybe I'm wrong, that a cdecl declaration in any > platform matches the same behavior in other platform. This means that:
No. Most platforms also don't have multiple calling conventions, so the only calling convention would map to cdecl, since that would be the one that the c compilers will use. Henry _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
