In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:77:22: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]
size_t start_x = -1, start_y = -1;
~~~~~~~ ^~
/in/sokoban.hpp:77:36: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]
size_t start_x = -1, start_y = -1;
~~~~~~~ ^~
/in/sokoban.hpp:116:83: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion]
size_t new_player_x = current_state.player_x + direction_vectors[dir].first;
~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/sokoban.hpp:117:83: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion]
size_t new_player_y = current_state.player_y + direction_vectors[dir].second;
~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/in/sokoban.hpp:128:90: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (can_push_box(grid, box.first, box.second, direction_vectors[dir].first, direction_vectors[dir].second)) {
~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/sokoban.hpp:128:120: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (can_push_box(grid, box.first, box.second, direction_vectors[dir].first, direction_vectors[dir].second)) {
~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
/in/sokoban.hpp:129:61: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion]
box.first += direction_vectors[dir].first;
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/sokoban.hpp:130:62: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion]
box.second += direction_vectors[dir].second;
~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
8 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1