www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23177] New: ModuleInfo is not exported on Windows


          Issue ID: 23177
           Summary: ModuleInfo is not exported on Windows
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: alphaglosined gmail.com

When ModuleInfo is generated it is not added to the export tables.

This can lead to linker errors with shared libraries.

This should hopefully be a fairly simple fix, a one-liner and I'll be
attempting it. If not I'll add a test case.

Jun 11 2022