[Issue 19821] New: Cannot pass linker argument with spaces
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 24 18:37:41 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19821
Issue ID: 19821
Summary: Cannot pass linker argument with spaces
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: doob at me.com
With an empty D file, running the following command:
dmd main.d -L/LIBPATH:"C:\Program Files" -v -m64
Will output, among other things:
/LIBPATH:C:\Program Files
And fail with:
LINK : fatal error LNK1181: cannot open input file 'Files.obj'
The problem is that the path should be quoted because it contains spaces.
--
More information about the Digitalmars-d-bugs
mailing list