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: nob...@puremagic.com
          Reporter: gyroh...@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

--

Reply via email to