ping?

On Sun, Mar 15, 2015 at 10:26 PM, Timothee Cour <thelastmamm...@gmail.com>
wrote:

> Is there a way to exclude current directory from search path in dmd, so
> that the search path is only given by '-I' arguments (+ones from dmd.conf)?
>
> use case:
>
> files:
> /base/foo.d
> /base/bar/foo.d
> /base/bar/main.d #contains: import foo.d
>
> cd /base/bar
> dmd -I/base main.d
> => I want 'import  foo.d' to point to /base/foo.d, not /base/bar/foo.d,
> but this is not the case since -I. is implicit in search path
>
>

Reply via email to