[Issue 15106] Optlink executed with LDC as compiler?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Nov 1 05:14:55 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15106

--- Comment #12 from Rainer Schuetze <r.sagitario at gmx.de> ---
> We (LDC) also auto-detect MSVC installations now, so this should be fixed.

I just realized that LDC checks VSINSTALLDIR, not VCINSTALLDIR which is set by
Visual D. This causes the batch with the auto detection to be run, but it uses
the highest installed version of VS. 
That is not necessarily the version I'm not currently working with (and might
want to link D code with C++ code). Visual D should probably also set
VSINSTALLDIR to disable auto detection in LDC.

--


More information about the Digitalmars-d-bugs mailing list