Bug 10316 – DMD does not link against debug c runtime with -debug on x64 windows

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2013-06-09T07:13:15Z
Last change time
2024-12-13T18:08:02Z
Assigned to
No Owner
Creator
Benjamin Thaut
Moved to GitHub: dmd#17591 →

Comments

Comment #0 by code — 2013-06-09T07:13:15Z
When -debug is specified DMD should ideally link against the microsoft debug c-runtime so that some of hte nice debugging features inside this debug runtime can be used. Such as _CrtDbgReport malloc / free with debug checks and others. Currently DMD always references LIBCMT. It should reference LIBCMTD in debug.
Comment #1 by turkeyman — 2014-01-22T02:26:50Z
I agree, but it also needs an option to choose one specifically too like MSC.
Comment #2 by robert.schadek — 2024-12-13T18:08:02Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17591 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB