Bug 8736 – DMD should translate slashes in -of on Windows
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-29T14:06:00Z
Last change time
2012-09-29T16:58:37Z
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2012-09-29T14:06:15Z
Currently, using slashes in DMD paths works in a cross-platform manner everywhere except for the -of argument. The latter gets passed verbatim to OPTLINK, which can only handle backslashes.
This is quite annoying because it needs special cases in for cross-platform, cross-compiler build systems, see e.g. https://github.com/apache/thrift/blob/trunk/aclocal/ax_dmd.m4#L68.
Comment #1 by andrej.mitrovich — 2012-09-29T16:58:37Z
(In reply to comment #0)
> Currently, using slashes in DMD paths works in a cross-platform manner
> everywhere except for the -of argument. The latter gets passed verbatim to
> OPTLINK, which can only handle backslashes.
>
> This is quite annoying because it needs special cases in for cross-platform,
> cross-compiler build systems, see e.g.
> https://github.com/apache/thrift/blob/trunk/aclocal/ax_dmd.m4#L68.
Guess that counts as vote++. :)
*** This issue has been marked as a duplicate of issue 8733 ***