Bug 1137 – gdmd -op doesn't work with -o- and -H

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Mac OS X
Creation time
2007-04-13T04:56:00Z
Last change time
2015-06-09T05:14:52Z
Assigned to
dvdfrdmn
Creator
afb

Attachments

IDFilenameSummaryContent-TypeSize
139gdmd-interface.patchgdmd-interface.patchtext/plain2432
140gdmd-allheaders.patchgdmd-allheaders.patchtext/plain1673

Comments

Comment #0 by afb — 2007-04-13T04:56:06Z
When generating "headers" only, gdmd doesn't move the .di file correctly. (it only moves .o files, such as when normally compiling object code...) Thus, all the generated files end up flat in the output directory. (wrong)
Comment #1 by afb — 2007-04-13T06:58:00Z
Created attachment 139 gdmd-interface.patch Suggested implementation. Doesn't work with the -fall-sources hack, though, as it will output all headers to each and every directory (more than one asked for)
Comment #2 by afb — 2007-04-14T05:43:32Z
Created attachment 140 gdmd-allheaders.patch This is a follow-up/add-on to the previous patch, that adds -fall-sources support to -fintfc by applying liberal amounts of hacking and horrible workarounds... :-)
Comment #3 by dvdfrdmn — 2007-08-21T19:22:46Z
Fixed in svn r142 / release 0.24. Thanks for the patch! Made interface generation work with -fall-sources/-fonly so the extra hacks would not be needed.