On Friday, 5 April 2013 at 14:01:31 UTC, Jacob Carlborg wrote:
On 2013-04-05 15:45, Vladimir Panteleev wrote:
-r should be disabled for such cases - thus, enabled only when
there's
one .d file and no .obj / .lib files. Although specifying
library files
on the compiler's command line is a valid use case, compatible
with
recursive compilation, I think we should promote the use of
pragma(lib)
instead.
Why not when there's multiple source files?
1) It will break tools like rdmd, for cases when the tool knows
the exact set of modules that needs to be compiled
2) When would that be useful?