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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Andrei Alexandrescu <[email protected]> 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: -------

Reply via email to