[Feature Request] - DMD debug build distribution

Hipreme msnmancini at hotmail.com
Sun Nov 13 19:15:31 UTC 2022


On Sunday, 13 November 2022 at 16:25:30 UTC, WebFreak001 wrote:
> On Sunday, 13 November 2022 at 15:15:54 UTC, Hipreme wrote:
>> My project seems to be crashing DMD sometimes on its 
>> compilation. Would be nice to have a DMD debug build for 
>> distribution, it attempts to call JIT Debugger for dmd.exe 
>> right before it starts linking. I'm using Windows 10.
>
> compiling DMD takes just a few seconds on recent machines, even 
> compiles in about under 10 seconds on my old laptop, so I would 
> recommend building it from source.
>
> You can find build instructions on 
> https://wiki.dlang.org/Building_under_Windows
>
> Using digger it seems you can simply enable it by turning on 
> components.dmd.debugDMD in the digger.ini file (that you can 
> copy from the sample in the git repository)


Nope, does not compile here.
src\dmd\backend\blockopt.d(1164): Error: `@safe` function 
`dmd.backend.blockopt.compdfo` cannot call `@system` function 
`core.stdc.stdio.printf`




More information about the Digitalmars-d mailing list