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

           Summary: Associative array ABI is under-specified
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nob...@puremagic.com
        ReportedBy: jlqu...@optonline.net


--- Comment #0 from Jerry Quinn <jlqu...@optonline.net> 2011-11-25 14:25:09 PST 
---
The current ABI describes associative arrays as an opaque type.
However, for a debugger to work with them, it must understand the
structure.  For 2 compilers to be able to generate compatible code, they must
agree on the structure.  Currently the ABI specifies an AA as an opaque
implementation-defined type.

This means that multiple compilers will not be able to guarantee compatibility
since the AA ABI is not specified.  Also, debuggers must refer to the source
code of the compiler druntime in order to know how to work with the contents of
an AA.

Specifying C functions to manipulate the opaque pointer solves the debugger
issue, but not the issue of ensuring compatibility across compilers.

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

Reply via email to