[Issue 20825] New: the filename of the error messages generated by dmd build.d script miss the "src/" part of the path

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 12 17:50:03 UTC 2020


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

          Issue ID: 20825
           Summary: the filename of the error messages generated by dmd
                    build.d script miss the "src/" part of the path
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

example:

> dmd/declaration.d(796): Error: undefined identifier `o`

but when you have dmd dub.sdl loaded in an IDE the IDE will try to solve
relative path from "src" hance the error messages wont be clickable.
I believe this is caused by the fact that the build script is located in src/
and not in the repo root.

--


More information about the Digitalmars-d-bugs mailing list