[Issue 4172] Improve varargs
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 29 23:35:03 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4172
--- Comment #10 from Fawzi Mohamed <fawzi at gmx.ch> 2010-11-29 23:33:33 PST ---
I don't understand why an ldc like approach (caller has to prepare marshalled
array, vararg function is equivalent to (void*,TypeInfo[])) would not work if
typeinfo has align info.
The use of the C ABI is the reason gdc is broken, using it is not possible to
loop on arbitrary arguments, all possible arguments should be accounted for at
compile time, which defeats much of the purpose of varargs...
--
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