How can I compile this?

rm roel.mathys at gmail.com
Sat Oct 14 09:07:13 PDT 2006


Dawid Ciężarkiewicz wrote:
> $ make
> bud rdwars \
>                 -w -op -debug -gc \
>                 -od.obj \ 
>                 -Xstd \
>                 -L-ldl
> map.d(43): enum Direction is forward referenced
> make: *** [rdwars] Error 1
> 
> 
> PLEASE. I just can't go through ...
> 
> Only dmd/phobos + bud should be needed.

moving the enum Direction declaration from map.d to cell/movable.d
let's me compile it, but it gives a linker error (dmd v0.169 on Gentoo
Linux).

rm



More information about the Digitalmars-d-learn mailing list