[Issue 372] New: -op does not create subdirectories

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 26 08:52:14 PDT 2006


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

           Summary: -op does not create subdirectories
           Product: D
           Version: 0.167
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: sean at f4.ca


This is similar to issue #103 where -D was not creating subdirectories.  If -op
is specified, DMD should create any intervening directories rather than
failing.  Example:

    C:\code\src\d>dmd test\test.d -odc:\temp -op
    Error: Error writing file 'c:\temp\test\test.obj'

    C:\code\src\d>

The above error should not occur.

This is important when building projects containing multiple same-named modules
(such as "exception", where simply using -od is insufficient) and the project
folders are read-only for the building process.


-- 




More information about the Digitalmars-d-bugs mailing list