In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:78:59: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_player = {cur_player.row + directions[d].first, cur_player.col + directions[d].second};
~~~~~~~~~~ ^
/in/sokoban.hpp:78:97: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_player = {cur_player.row + directions[d].first, cur_player.col + directions[d].second};
~~~~~~~~~~ ^
/in/sokoban.hpp:86:57: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_box = {box.row + directions[d].first, box.col + directions[d].second};
~~~~~~~~~~ ^
/in/sokoban.hpp:86:88: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_box = {box.row + directions[d].first, box.col + directions[d].second};
~~~~~~~~~~ ^
/in/sokoban.hpp:99:68: error: implicit conversion changes signedness: 'int' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bfsqueue.push({new_player, new_boxes, path + dir_chars[d]});
~~~~~~~~~ ^
5 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1