[Issue 18271] `dmd -deps fun1.d fun2.d` produces very different results when order of source files changes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 20 20:01:08 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18271

Jonathan Marler <johnnymarler at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |johnnymarler at gmail.com

--- Comment #3 from Jonathan Marler <johnnymarler at gmail.com> ---
> Would be nice to have as orthogonal features as possible;
> could we have:
> -i mean recurse on imports (while respecting -i=pattern)
> -deps mean output dependencies (on whatever's being analyzed)

-i currently means, include imported modules into the compilation as if they
were given on the command line.  this is orthogonal to "recurse on imports", so
I'm confused why you would want to combine these?

--


More information about the Digitalmars-d-bugs mailing list