Summary: DMD strips package names from objects (ignores -op)
                    with -lib
           Product: D
           Version: 1.047
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Tomasz Stachowiak <> 2009-09-17 
19:03:55 PDT ---
DMD strips package names / paths when generating object file names for -lib.
Then the only way to extract objects from such a lib is running the librarian
multiple times, which is sometimes too slow.

I've attached an archive containing an example of this issue. There are two
modules whose fully qualified names differ, but the last parts of their names
are the same. Compiling them with -c -lib -op and running the librarian reveals
that DMD produces two objects with the same name. Running lib -x the first time
extracts only the first one. Removing the object via lib -d and running lib -x
again extracts the second. I've included a .bat file which demonstrates this.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to