[Issue 1805] GDC does not implement the D calling convention

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 6 05:12:45 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=1805


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #3 from Iain Buclaw <ibuclaw at ubuntu.com> 2012-07-06 05:12:42 PDT ---
>From the D spec:

"""
The extern (C) and extern (D) calling convention matches the C calling
convention used by the supported C compiler on the host system. Except that the
extern (D) calling convention for Windows x86 is described here.
"""

So GDC is compliant with the spec across all platforms except Windows (which
uses stdcall rather than the D calling convention as used by DMD).


D_InlineAsm is no longer set by GDC. This avoids any issues to do with library
devs writing assembly which assumes the calling convention matches whatever the
DMD compiler does.


Marking as wontfix.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the D.gnu mailing list