Bug 372 – -op does not create subdirectories

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-09-26T10:52:00Z
Last change time
2014-02-15T13:22:16Z
Assigned to
bugzilla
Creator
sean

Comments

Comment #0 by sean — 2006-09-26T10:52:10Z
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.
Comment #1 by bugzilla — 2006-10-04T19:56:32Z
Fixed DMD 0.168