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: nob...@puremagic.com
        ReportedBy: renezwanenb...@gmail.com


--- Comment #0 from Rene Zwanenburg <renezwanenb...@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: -------

Reply via email to