www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18522] New: [REG 2.079-b2] MinGW import libraries interfere


          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: nobody puremagic.com
          Reporter: r.sagitario gmx.de

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

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.

Feb 25 2018