[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 22 12:48:03 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #32 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-22 12:47:53 PDT ---
(In reply to comment #30)
> Progress at DMD1.075/2.060 beta2:
> This now works for structs which contain integral types only, or which contain
> floating point types only. It doesn't work if you have an int member and a
> float member.

http://dpaste.dzfl.pl/f1ac00d2

Output is Test(5, 6, 5, 6) instead of Test(5, 6, 7, 8). It works OK if the
function is extern(C).

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


More information about the Digitalmars-d-bugs mailing list