[Issue 11532] New: Variadics using the C ABI should not accept D-specific types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 16 23:21:12 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11532
Summary: Variadics using the C ABI should not accept D-specific
types
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrei at erdani.com
--- Comment #0 from Andrei Alexandrescu <andrei at erdani.com> 2013-11-16 23:21:11 PST ---
The ABI for C variadics (e.g. printf and friends) does not understand D data
types, in particular slices and fixed-size arrays.
We should reject statically any passing of D-specific data through C-style
variadics.
This has been a very nagging issue during a port of a large C codebase.
--
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