[Issue 21193] New: add compiler flag in both "Compile+Run" and "Compile+Debug" option does not work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 25 00:53:02 UTC 2020
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 at puremagic.com
Reporter: mingwu at 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.
--
More information about the Digitalmars-d-bugs
mailing list