Bug 1501 – gdmd: wrong object directory when generating headers

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
Mac OS X
Creation time
2007-09-14T03:09:00Z
Last change time
2015-06-09T01:31:19Z
Assigned to
dvdfrdmn
Creator
afb

Attachments

IDFilenameSummaryContent-TypeSize
179gdmd-interface-output.patchgdmd-interface-output.patchtext/plain388

Comments

Comment #0 by afb — 2007-09-14T03:09:31Z
There was a bug introduced with the header file generation, so that when you generate both headers and objects in one run and specify path to both header file and object file - then the directory for the object file gets lost in translation. Something like this, names changed to protect the innocent: $ gdmd -vdmd -H -Hffoo/bar.di -c foo/bar.d -offoo/bar.o /usr/bin/gdc -c foo/bar.d -o bar.o -fintfc -fintfc-file=foo/bar.di
Comment #1 by afb — 2007-09-14T03:49:45Z
Created attachment 179 gdmd-interface-output.patch
Comment #2 by dvdfrdmn — 2007-09-23T18:03:41Z
Fixed in svn 165 / release 0.25