[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 --- Comment #9 from jfanati...@gmx.at 2013-06-10 00:21:17 PDT --- It generates a quite large output :-) That is unfortunately true. I tried to trim it, by filtering out all standard versions, but it is still quite a lot and also quite redundant in places. I don't know if this is a problem, there is one tiny area where it could be reduced a bit, other than that recursive dependency listing is just a whole bunch of information. With a command line overhaul some additional switch could be added so that dependency information is not printed recursively but just for the modules being compiled. Which sometimes is all you need. And thanks for checking it out! :-) Best regards, Robert -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 jfanati...@gmx.at changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC||jfanati...@gmx.at Resolution||FIXED --- Comment #7 from jfanati...@gmx.at 2013-06-09 13:55:13 PDT --- Fixed in: https://github.com/D-Programming-Language/dmd/pull/1839 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment #8 from bearophile_h...@eml.cc 2013-06-09 17:24:27 PDT --- (In reply to comment #7) Fixed in: https://github.com/D-Programming-Language/dmd/pull/1839 It generates a quite large output :-) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added Status|NEW |ASSIGNED CC||and...@metalanguage.com AssignedTo|nob...@puremagic.com|bugzi...@digitalmars.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 Rainer Schuetze r.sagita...@gmx.de changed: What|Removed |Added CC||r.sagita...@gmx.de --- Comment #3 from Rainer Schuetze r.sagita...@gmx.de 2010-05-22 23:58:12 PDT --- I would like too see string imports to be shown in the dependencies: c:\type test.d int ver=mixin(import(Version)); c:\type version 42 c:\dmd -c -J. -deps=deps test.d c:\type deps test (test.d) : public : object (m:\\s\\d\\phobos\\druntime\\import\\object.di) This should show version, too. Libraries imported by pragma(lib) to be shown would be nice, but this is not complete for a building tool, anyway, because pre-built libraries might force the inclusion of more libraries. I'd like the linker to supply a list of searched libraries. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 --- Comment #4 from nfx...@gmail.com 2010-05-23 00:09:23 PDT --- I figure dmd doesn't report these string imports because it would re -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 --- Comment #5 from nfx...@gmail.com 2010-05-23 00:14:12 PDT --- I figure dmd doesn't report these string imports because it would require full semantic analysis of the code. Which would be much slower, making the -deps mode less useful. Maybe the compiler should provide an -a flag, which automatically builds all imported modules? Incremental building is broken anyway (at least due to bug 3274, other reasons include CTFE, which subverts module dependencies, and some types of out-of-declaration bugs [forward refs]). Then dmd would need to run semantically analysis only once to build a program. To facilitate building relatively independent packages as libraries, another flag could be added to dmd to exclude certain package paths using glob patterns. Sorry for the previous comment, I think I accidentally hit soem key combination, that made the browser to submit the form. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 --- Comment #6 from Rainer Schuetze r.sagita...@gmx.de 2010-05-23 04:01:44 PDT --- -deps does not enable a different mode, it just tells dmd to output any file imported to the given dependency file during the normal compilation process. There is no need for an extra compilation step, just use the info in the dependency file from the last compile to figure out if an update is necessary. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 767] compiler shall print dependencies and pragma(lib)
http://d.puremagic.com/issues/show_bug.cgi?id=767 nfx...@gmail.com changed: What|Removed |Added CC||nfx...@gmail.com --- Comment #2 from nfx...@gmail.com 2010-05-22 07:24:09 PDT --- You still can't get the libs requested by pragma(lib ...). dmd -v will print the libs, but that's not comfortable enough. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---