www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19726] New: Visual D does not link C standard library with

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

          Issue ID: 19726
           Summary: Visual D does not link C standard library with D-only
                    project
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: visuald
          Assignee: nobody puremagic.com
          Reporter: mihails.strasuns gmail.com

NB: only affects vcxproj projects, not Visual D own project format.

Steps to reproduce:

- Create new project using mixed D/C++ template
- Remove all C++ sources from the project

At that point program will fail the linking stage. Adding dummy .cpp file to
the project can be used a workaround to force necessary linker flags.

--
Mar 08 2019