[Issue 21193] 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 21:13:53 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21193
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |r.sagitario at gmx.de
Resolution|--- |INVALID
--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> ---
"Compile+Run" and "Compile+Debug" have nothing to do with building the
solution, these are commands to build a single file without any project (more
options are taken from a project if the file is in one). See
https://rainers.github.io/visuald/visuald/CompileCommands.html
If you want to add -d to the build of a project, you can check "Silently allow
deprecated features" in the project configuration page Compiler->Messages or
add it as an additional option on the "Command Line" page.
> Although I'm on 64-bit Windows 10, change bin64/sc.ini does not work;
> change bin/sc.ini worked.
If you want the 64-bit compiler to be used, you have to change the executable
search path on the global Tools->Options->Project and Solution->Visual D
Settings->DMD directories->Win32/x64/Win32-COFF pages. The compiler picks up
the sc.ini in the same folder as the binary.
--
More information about the Digitalmars-d-bugs
mailing list