May 04, 2012 [Issue 8042] New: extern(C) on structs can cause stack corruption with opEquals | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8042 Summary: extern(C) on structs can cause stack corruption with opEquals Product: D Version: unspecified Platform: x86 OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: spunit262@yahoo.com --- Comment #0 from Robert DaSilva <spunit262@yahoo.com> 2012-05-04 15:11:58 PDT --- Created an attachment (id=1100) test case It looks like what's happening is the extern(C) on the struct is affecting the hidden helper function __xopEquals use by the typeinfo. Once I figured out what was wrong, it was easy enough to make sure the strut was extern(C), but actually figure out what was going wrong wasn't easy. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation