https://issues.dlang.org/show_bug.cgi?id=18522
Issue ID: 18522
Summary: [REG 2.079-b2] MinGW import libraries interfere with
platform SDK
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: regression
Priority: P1
Component: installer
Assignee: [email protected]
Reporter: [email protected]
dmd does no longer link with an installation of dmd 2.079 when building through
the Visual Studio project.
This happens because dmds lib64/lib32mscoff folder is passed to the linker as a
search path to phobos64.lib. It also contains the mingw-libraries that don't
work with LIBCMT.lib from the VC installation. The latter expects more uptodate
libraries.
The mingw libraries should only be used if no SDK is found. dmd already expects
this to be the case and adds lib64/mingw as a search path in that case.
--