gentoo, x86_64.
cataclysm dda current git version (27.06.2015). can’t compile
it says:
src/catalua.cpp: In member function ‘long int use_function::call(player*, item*, bool, const tripoint&) const’:
src/catalua.cpp:1126:55: error: invalid use of incomplete type ‘class player’
if (player_instance != NULL && player_instance->is_player()) {
^
In file included from src/catalua.cpp:6:0:
src/game.h:76:7: error: forward declaration of ‘class player’
class player;
^
Makefile:454: recipe for target 'obj/catalua.o' failed
make: *** [obj/catalua.o] Error 1