[Issue 3053] New: cross imports produce repeated calls to a call destructor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 5 16:35:44 PDT 2009


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

           Summary: cross imports produce repeated calls to a call
                    destructor
           Product: D
           Version: unspecified
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: brauningbar at gmail.com


Created an attachment (id=394)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=394)
package recreating the bug

Having a crossed imports between thre files of a personal project causes the
destructor of a class to get called REPEATED times. Tried various compiler
switches but no fix. When i compile with -unittest dtor gets called even more
times (like 6 times or even 9!)

The attached contains the files stripped with the bug, and a simple makefile
The compiler version i've tried was 2.030, i've tried with 2.019 and the dtor
calls were less than the former

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