April 24, 2019 [Issue 19821] New: Cannot pass linker argument with spaces | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: doob@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. -- |
Copyright © 1999-2021 by the D Language Foundation