Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 29, 2012 [Issue 7610] New: DMD -H switch doesn't output interfaces to package hierarchy | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: renezwanenburg@gmail.com --- Comment #0 from Rene Zwanenburg <renezwanenburg@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: ------- |
February 29, 2012 [Issue 7610] DMD -H switch doesn't output interfaces to package hierarchy | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rene Zwanenburg | http://d.puremagic.com/issues/show_bug.cgi?id=7610 dawg@dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dawg@dawgfoto.de Resolution| |INVALID --- Comment #1 from dawg@dawgfoto.de 2012-02-29 10:12:41 PST --- You can use the -op option. dmd -o- -op -Hdheaders pkg1/mod1.d pkg2/mod2.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 01, 2012 [Issue 7610] DMD -H switch doesn't output interfaces to package hierarchy | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rene Zwanenburg | http://d.puremagic.com/issues/show_bug.cgi?id=7610 Rene Zwanenburg <renezwanenburg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nobody@puremagic.com |renezwanenburg@gmail.com --- Comment #2 from Rene Zwanenburg <renezwanenburg@gmail.com> 2012-03-01 05:48:50 PST --- Created an attachment (id=1079) Improves documentation of -op switch in dcompiler.dd Created patch for the compiler documentation in dcompiler.dd, the documentation now states the -op switch also keeps file paths for interface and Ddoc files. The -Dd, -Hd, and -od switches now mention the -op switch. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 28, 2012 [Issue 7610] DMD -H switch doesn't output interfaces to package hierarchy | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rene Zwanenburg | http://d.puremagic.com/issues/show_bug.cgi?id=7610 Justin C Calvarese <technocrat7@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |technocrat7@gmail.com --- Comment #3 from Justin C Calvarese <technocrat7@gmail.com> 2012-05-28 08:46:09 PDT --- I turned the patch from http://d.puremagic.com/issues/show_bug.cgi?id=7610#c2 into a pull request: https://github.com/D-Programming-Language/d-programming-language.org/pull/127. I don't know if the status should be changed, so I didn't adjust it. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation