On Oct 18, 2012, at 11:45 AM, 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.
On x86_32, the first argument is passed in EAX with the D calling convention. But DMD is the only compiler that does this.
