www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14305] New: DMD incorrectly interprets -of and -od with -lib


          Issue ID: 14305
           Summary: DMD incorrectly interprets -of and -od with -lib
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com
            Blocks: 14296

mkdir src

touch src/test.d

dmd -c -ofsrc/test.out -odsrc src/test.d
# OK, src/test.out created

dmd -lib -ofsrc/test.out -odsrc src/test.d
# Creates src/src/test.out instead of src/test.out

Mar 18 2015