[Issue 7610] New: DMD -H switch doesn't output interfaces to package hierarchy
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 29 07:59:20 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7610
Summary: DMD -H switch doesn't output interfaces to package
hierarchy
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: renezwanenburg at gmail.com
--- Comment #0 from Rene Zwanenburg <renezwanenburg at gmail.com> 2012-02-29 07:59:18 PST ---
When using DMD to generate interface files for it's input, the generated
interfaces are all put directly in the directory specified by -Hd. If the
original source files are in a package hierarchy, for example
source/package1/module1.d
source/package2/module2.d
and we output the interfaces to headers/, the output will be
headers/module1.di
headers/module2.di
When adding headers/ to the include path of the compiler and we want to import
the modules, we'd first have to recreate the package hierarchy which is less
than ideal. It would be better if DMD could output the interfaces to
headers/package1/module1.di
headers/package2/module2.di
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list