[Issue 8733] New: Normalize -of path on Windows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 27 18:32:27 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8733

           Summary: Normalize -of path on Windows
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-09-27 18:33:03 PDT ---
Make a .d file in a foo directory, then run:

$ dmd foo/test.d
ok

$ dmd foo/test.d -offoo/main.exe
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 9: Unknown Option : MAIN
OPTLINK : Warning 9: Unknown Option : MAIN.EXE
user32.def(0) : Error 2: File Not Found user32.def
--- errorlevel 1

DMD should try to normalize the -of path by changing forward slashes to
backslashes since Optlink reserves forward slashes for flags.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list