On 18 October 2012 19:45, Jacob Carlborg <[email protected]> wrote: > On 2012-10-18 14:24, Manu wrote: > >> What's distinct about the D calling convention? > > > GDC uses the C calling convention (or whatever the calling convention used > by the system) where DMD uses a slightly modified version, if I recall > correctly. Note that DMD only defines an ABI for x86 and possible x86-64. > > http://dlang.org/abi.html > > -- > /Jacob Carlborg
Yep, and as I've repeatedly pointed out, this calling convention is only defined (in the specs) for Win32 targets. However the DMD compiler appears to infact apply this to all platforms running on x86. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
