I’m trying to compile on a PocketCHIP. It has an ARM Cortex-A7 processor and runs some sort of Debian derivative.
When I run:
The game starts compiling. After ~15 minutes I receive the following error:
src/player.cpp: In member function 'item::reload_option player::select_ammo(const item&, const std::vector<item::reload_option>&) const':
src/player.cpp:9632:20: error: comparison is always false due to limited range of data type [-Werror=type-limits]
if( hotkey == -1 && last == ammo.typeId() ) {
^
cc1plus: all warnings being treated as errors
make: *** [obj/tiles/player.o] Error 1
Makefile:638: recipe for target 'obj/tiles/player.o' failed
I’ve Googled “comparison is always false due to limited range of data type” which leads me to believe that the hotkey variable is an unsigned int.
Is this a bug in the source preventing me from compiling or does this have something to do with compiling for an ARM processor?
Any help is appreciated.