[Issue 24692] New: ImportC fails when DMD is installed in path with spaces
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Jul 31 15:37:35 UTC 2024
    
    
  
https://issues.dlang.org/show_bug.cgi?id=24692
          Issue ID: 24692
           Summary: ImportC fails when DMD is installed in path with
                    spaces
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: elpenguino+D at gmail.com
Sample code:
hello.c
```
int main() { return 0; }
```
When DMD is installed to a path with spaces in it, an error similar to the
following is produced:
```
hello.c: fatal error C1083: Cannot open include file: 'C:\Program': No such
file or directory
c1: fatal error C1083: Cannot open source file:
'Files\D\dmd2\windows\bin64\..\..\src\druntime\import\importc.h': No such file
or directory
```
--
    
    
More information about the Digitalmars-d-bugs
mailing list