The compile fails on my Gentoo system at the same line, although with a different error message. Changing Client.cpp line 130 from:
Code:
if(mode == (unsigned int)LoginMode::lm_from_world)
to:
Code:
if(mode == (unsigned int)lm_from_world)
may get it to compile (it does for me, with that change).