In file included from /in/Compile/check.cpp:7:
In file included from /in/sokoban.hpp:9:
/in/Distance.hpp:150:9: error: unused variable 'y1' [-Werror,-Wunused-variable]
int y1 = static_cast<int>(p1) % col;
^
In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:279:56: error: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Werror,-Wconversion]
uint16_t newPlayerPos = currentNode.player + dir[_];
~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~
/in/sokoban.hpp:322:51: error: implicit conversion loses integer precision: 'int' to 'uint16_t' (aka 'unsigned short') [-Werror,-Wconversion]
uint16_t newBoxPos = newPlayerPos + dir[_];
~~~~~~~~~ ~~~~~~~~~~~~~^~~~~~~~
3 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1