[Issue 19266] New: Some source files names are no longer accepted

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 26 07:18:40 UTC 2018


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

          Issue ID: 19266
           Summary: Some source files names are no longer accepted
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: r.sagitario at gmx.de

dmd can no longer read files from a network share:

dmd \\network\share\test.d
...
Error: module `test` is in file '\\network\share\test.d' which cannot be read

You can also no longer pass in file names with the extension long file prefix:

dmd \\?\c:\tmp\test.d
...
Error: module `test` is in file '\\?\c:\tmp\test.d' which cannot be read

Redirecting some output to special devices fails, too:

dmd \\?\c:\tmp\test.d -deps nul:
...
Error: invalid file name 'nul:'


Introduced in dmd 2.078 by adding prefix \\?\ to filenames unconditionally.

This can also confuse generic file tracking for dependency generation as used
by msbuild.

--


More information about the Digitalmars-d-bugs mailing list