[Issue 19726] New: Visual D does not link C standard library with D-only project

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 8 10:30:23 UTC 2019


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 at puremagic.com
          Reporter: mihails.strasuns at 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.

--


More information about the Digitalmars-d-bugs mailing list