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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Walter Bright <[email protected]> 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: -------