[Issue 16524] New: Use Shared C Runtime on Windows

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Sep 21 22:41:03 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16524

          Issue ID: 16524
           Summary: Use Shared C Runtime on Windows
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: gyroheli at gmail.com

Currently DMD is hard coded to use the static runtime for windows, this means
that shared libraries are going to be using multiple different "malloc()" so it
isn't safe to pass around between DLLs if they are going to be loaded and
unloaded. Switching to use the dynamic runtime instead should fix this. 

https://github.com/dlang/dmd/blob/v2.071.2/src/glue.c#L929

--


More information about the Digitalmars-d-bugs mailing list