Linux 64bit Calling Convention

Walter Bright newshound2 at digitalmars.com
Wed Feb 27 18:01:36 PST 2013


On 2/27/2013 5:03 PM, Maxime Chevalier wrote:
> Unless I'm mistaken, DMD does not respect the C calling convention on Linux/AMD64.

To use the C calling convention, specify "extern (C)" for the function.

BTW, if this did not work, very little of D would work, as there's a lot of 
reliance on the C standard library and the Linux API functions.


More information about the Digitalmars-d mailing list