[Issue 1246] New: "module in multiple packages" error should say which packages

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 24 19:19:10 PDT 2007


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

           Summary: "module in multiple packages" error should say which
                    packages
           Product: D
           Version: 1.014
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: wbaxter at gmail.com


I find myself yet again facing the dreaded "module blah is in multiple packages
blah" compiler error.  It would be a huge help in fixing these errors if the
compiler actually said *which* packages it was talking about.

Right now I'm staring at such an error, and I don't see any other module with
the same name.  I have no idea where to look for the conflicting module.  Must
be something somewhere on my include path I guess.  Or just a mistaken module
declaration somewhere from a copy-paste error.  Whatever it is, it would be a
lot easier to find if the compiler told me what it thought was conflicting.


-- 



More information about the Digitalmars-d-bugs mailing list