[Issue 10255] New: When creating lib files, dmd no longer splits module into multiple obj files

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 3 11:25:30 PDT 2013


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

           Summary: When creating lib files, dmd no longer splits module
                    into multiple obj files
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bugzilla at digitalmars.com


--- Comment #0 from Walter Bright <bugzilla at digitalmars.com> 2013-06-03 11:25:29 PDT ---
Given:
----- foo.d --------
void foo1() { }
void foo2() { }
--------------------

and compiling with:

  dmd -lib foo.d
  lib -l foo.lib

will create the .lst file:
-------------------
Publics by name        module
_D3foo12__ModuleInfoZ            foo
_D3foo15__unittest_failFiZv      foo
_D3foo4foo1FZv                   foo
_D3foo4foo2FZv                   foo
_D3foo7__arrayZ                  foo
_D3foo8__assertFiZv              foo


Publics by module
foo
    _D3foo12__ModuleInfoZ             _D3foo15__unittest_failFiZv
    _D3foo4foo1FZv                    _D3foo4foo2FZv
    _D3foo7__arrayZ                   _D3foo8__assertFiZv
---------------------
showing that they are all put in one module. However,

  dmd -c -multiobj foo.d

will correctly create multiple .obj files.

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