[Issue 11532] Variadics using the C ABI should not accept D-specific types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Nov 17 00:18:29 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11532


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at ubuntu.com


--- Comment #1 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-11-17 00:18:27 PST ---
They do map to C ABI, just not in the way which you may likely expect.

I'd +1 fixed size arrays, as it is not obvious that eg: int[4] is passed as
struct { int a,b,c,d; }

Though I'd really like to make some sort of exception to the va_list type (in
particular, for x86_64 and PPC). That has been one nagging problem I haven't
yet got round to...

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


More information about the Digitalmars-d-bugs mailing list