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: nob...@puremagic.com
        ReportedBy: spunit...@yahoo.com


--- Comment #0 from Robert DaSilva <spunit...@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: -------

Reply via email to