www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23454] New: DMD CLI bug when using -I

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

          Issue ID: 23454
           Summary: DMD CLI bug when using -I
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: msnmancini hotmail.com

I remember having this bug for quite some time, but I discovered an interesting
issue.

`dmd app.d -I.` causes an `Error: unrecognized file extension `.
Same thing on `dmd app.d -I=.`.

This error occurs ONLY in Powershell.
The Command Prompt does not get this error.

I have a faint feeling that this error has already occurred with me ldc2.

--
Nov 03 2022