digitalmars.D.bugs - [Issue 21193] New: add compiler flag in both "Compile+Run" and
- d-bugmail puremagic.com (31/31) Aug 24 2020 https://issues.dlang.org/show_bug.cgi?id=21193
https://issues.dlang.org/show_bug.cgi?id=21193 Issue ID: 21193 Summary: add compiler flag in both "Compile+Run" and "Compile+Debug" option does not work Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: blocker Priority: P1 Component: visuald Assignee: nobody puremagic.com Reporter: mingwu gmail.com The discussion is here: https://forum.dlang.org/thread/nwlfbdmgdwfocnwvpzlc forum.dlang.org I just tried add '-d' as it showed here: in both "Compile+Run" and "Compile+Debug" https://rainers.github.io/visuald/visuald/GlobalOptions.html And I did "Rebuild" the solution, but that error still there. I find a work-around (adding "-d" on VisualD doesn't work), I end up add "-d" to the sc.ini file: $ find /mnt/c/project/dlang/dmd-2.093.1 -name '*ini' | grep bin /mnt/c/project/dlang/dmd-2.093.1/windows/bin/sc.ini /mnt/c/project/dlang/dmd-2.093.1/windows/bin64/sc.ini [Environment] DFLAGS="-I% P%\..\..\src\phobos" "-I% P%\..\..\src\druntime\import" "-d" Although I'm on 64-bit Windows 10, change bin64/sc.ini does not work; change bin/sc.ini worked. Hope this will help someone who has similar issues. --
Aug 24 2020