Bug 24692 – ImportC fails when DMD is installed in path with spaces

Status
NEW
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-07-31T15:37:35Z
Last change time
2024-12-13T19:36:48Z
Assigned to
No Owner
Creator
elpenguino+D
Moved to GitHub: dmd#18263 →

Comments

Comment #0 by elpenguino+D — 2024-07-31T15:37:35Z
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 ```
Comment #1 by robert.schadek — 2024-12-13T19:36:48Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18263 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB