www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13491] New: DMD on Windows doesn't handle wildcards on the

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

          Issue ID: 13491
           Summary: DMD on Windows doesn't handle wildcards on the command
                    line.
           Product: D
           Version: unspecified
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: b.helyer gmail.com

Given a directory with three modules, a.d, b.d, and c.d, when 'dmd *.d' is run
in a Windows command prompt, the following error is generated:

    >dmd *.d
    Error: cannot read file *.d

On Windows, each program is in charge of expanding wildcards. One can work
around this by using MinGW bash or similar, but I feel that the compiler should
Do The Right Thing and expand wildcards.

--
Sep 18 2014