Bug 16524 – Use Shared C Runtime on Windows

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-09-22T05:41:03Z
Last change time
2024-12-13T18:50:13Z
Assigned to
No Owner
Creator
Jack
Moved to GitHub: dmd#19194 →

Comments

Comment #0 by gyroheli — 2016-09-22T05:41:03Z
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
Comment #1 by robert.schadek — 2024-12-13T18:50:13Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19194 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB