IwfY / kayzers

Strategy game (D, SDL2, Derelict3)
0 stars 0 forks source link

Fix compilation error with dmd 2.066 #1

Open VlasovRoman opened 9 years ago

VlasovRoman commented 9 years ago

Error: cannot implicitly convert expression <...> of type ulong to uint In list.d and vboxpaged.d

IwfY commented 9 years ago

Could you please specify your system you are working on? And give the full error message. It compiles flawlessly here on Linux x64, dmd 2.066 and dub 9.22.

Note that the game currently doesn't work. I just switched the build system from scons to dub to be able to compile it with dmd > 2.063. There are now some runtime errors and it isn't fully cross platform compatible for Windows or Mac.

VlasovRoman commented 9 years ago

I use manjaro Linux x86, dmd 2.066 and last version of dub. I resolve it by change arguments some functions from type ulong for uint