www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14555] New: ModuleInfo should weakly link against classes


          Issue ID: 14555
           Summary: ModuleInfo should weakly link against classes
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

Currently all classes of a module are dragged into a statically linked binary
because ModuleInfos contain a list of all declared classes (for
This linkage should be done weakly instead.

This does not affect shared libraries because those always contain all

May 07 2015