Re: [Patch] Faster Route Calculation for Centralised Search
Reply #3 –
As jamesspetts pointed out make fails on path_explorer.h:290
static const uint64 maximum_limit_64bit = 0xFFFFFFFFFFFFFFFF;
with error message path_explorer.h:290: error: integer constant is too large for ‘long’ type
I tested the "obvious" thing and added ULL (0xFFFFFFFFFFFFFFFFULL) to the hexadecimal and it seems to work (for a clean make at least); though I am pretty sure that needs to be conditional on os, right? Not all compilers support LL iirc. Furthermore I am not sure if that should really be ULL and not just LL (0xFFFFFFFFFFFFFFFFLL). With "work" I mean I can compile, start game, build a minimal busline and have p****angers transported; further than that I have not tested - so I do not know if the path explorer works as intended..
System: Debian/squeeze, gcc (Debian 4.3.4-5) 4.3.4, i386