[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
Wed Apr 11 04:22:52 PDT 2012


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



--- Comment #10 from Mihail Strashun <m.strashun at gmail.com> 2012-04-11 04:23:31 PDT ---
(In reply to comment #9)
> So, something which was in D
> itself (as opposed to how it talks with C code) which used to work but doesn't
> now could certainly be more of a blocker than this,

My point exactly is that interfacing to C broken at ABI level is much more
important than any inside language issue. Regressions are more important, yes,
but, well, there is an importance level "regression" before "blocker" exactly
for them. I'd say it is in the same category as "wrong code generation" for
basic language constructs. It is something you rarely expect from even the new
language when facing problems, something rather hard to identify and something
almost any desktop D user is doomed to meet when try to build something usable
( as most usable programs tend to involve C bindings at this stage of std lib
).

Issue a warning that it can happen when compiling extern(C) stuff of x64 at
least.

tl;dr : it is really bad for marketing

-- 
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