[Issue 15106] Optlink executed with LDC as compiler?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 25 06:07:48 PDT 2015


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

--- Comment #6 from David Nadlinger <code at klickverbot.at> ---
(In reply to Manu from comment #4)
> Perhaps LDC (or VisualD?) should leverage those command prompts when
> building against the MSVC ecosystem (ie, LDC, DMD), rather than just hoping
> the path is configured correctly? Windows users don't do path management,
> it's always a complete mess.

LDC is the wrong place to do it; after all, you might want to use it with
different MSVC versions (even though currently you really want to be using VS
2015).

We could of course add some heuristics to LDC to try and guess the version the
user wants to use. I'm not sure whether it is worth the effort, but I'm sure
that if you provide a patch, Kai and Martin will consider it.

--


More information about the Digitalmars-d-bugs mailing list