[Issue 11203] New: extern (C++) classes broken

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 9 01:55:26 PDT 2013


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

           Summary: extern (C++) classes broken
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bugzilla at digitalmars.com


--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2013-10-09 01:55:23 PDT ---
The following code:

---------------
extern(C++) class C1687 {
    void func() {}
}

void test1687() {
    auto c = new C1687();
}
--------------

randomly fails at runtime because the class' .init data is all goofed up. The
size for it is correct, but the actual data is not.

-- 
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