dmd deps switch

Jarrett Billingsley jarrett.billingsley at gmail.com
Sun Aug 30 13:43:28 PDT 2009


On Sun, Aug 30, 2009 at 4:35 PM, Ary Borenszweig<ary at esperanto.org.ar> wrote:
> Hi,
>
> I'm trying to fetch a module's dependencies with the deps switch, but it
> gives me an empty list.
>
> dmd main.d -deps=foo.txt
>
> foo.txt is empty.
>
> main.d is:
>
> ---
> module main;
>
> import other;
>
> int main(char[][] args) {
>        someVariable = 3;
>        return 0;
> }
> ---
>
> and someVariable is defined in "other".
>
> What am I doing wrong?
>
>

http://d.puremagic.com/issues/show_bug.cgi?id=3143


More information about the Digitalmars-d-learn mailing list