In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:30:17: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid.resize(rows);
~~~~~~ ^~~~
/in/sokoban.hpp:32:14: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[i].clear();
~~~~ ^
/in/sokoban.hpp:34:18: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[i] += static_cast<char>(ch);
~~~~ ^
/in/sokoban.hpp:44:21: error: implicit conversion changes signedness: 'const short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[pos.row][pos.col] != '#';
~~~~ ~~~~^~~
/in/sokoban.hpp:44:30: error: implicit conversion changes signedness: 'const short' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[pos.row][pos.col] != '#';
~~~~ ~~~~^~~
/in/sokoban.hpp:78:78: error: implicit conversion changes signedness: 'short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_player = {static_cast<short>(cur_player.row + directions[d].first), static_cast<short>(cur_player.col + directions[d].second)};
~~~~~~~~~~ ^
/in/sokoban.hpp:78:136: error: implicit conversion changes signedness: 'short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_player = {static_cast<short>(cur_player.row + directions[d].first), static_cast<short>(cur_player.col + directions[d].second)};
~~~~~~~~~~ ^
/in/sokoban.hpp:87:76: error: implicit conversion changes signedness: 'short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_box = {static_cast<short>(box.row + directions[d].first) , static_cast<short>(box.col + directions[d].second)};
~~~~~~~~~~ ^
/in/sokoban.hpp:87:128: error: implicit conversion changes signedness: 'short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
pos new_box = {static_cast<short>(box.row + directions[d].first) , static_cast<short>(box.col + directions[d].second)};
~~~~~~~~~~ ^
/in/sokoban.hpp:102:68: error: implicit conversion changes signedness: 'short' 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]});
~~~~~~~~~ ^
/in/sokoban.hpp:114:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool u = (grid[box.row - 1][box.col] == '#' );
~~~~ ~~~~~~~~^~~
/in/sokoban.hpp:114:37: error: implicit conversion changes signedness: 'const short' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool u = (grid[box.row - 1][box.col] == '#' );
~~~~ ~~~~^~~
/in/sokoban.hpp:115:24: error: implicit conversion changes signedness: 'const short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool r = (grid[box.row][box.col + 1] == '#' );
~~~~ ~~~~^~~
/in/sokoban.hpp:115:37: 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]
bool r = (grid[box.row][box.col + 1] == '#' );
~~~~ ~~~~~~~~^~~
/in/sokoban.hpp:116:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool d = (grid[box.row + 1][box.col] == '#' );
~~~~ ~~~~~~~~^~~
/in/sokoban.hpp:116:37: error: implicit conversion changes signedness: 'const short' to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool d = (grid[box.row + 1][box.col] == '#' );
~~~~ ~~~~^~~
/in/sokoban.hpp:117:24: error: implicit conversion changes signedness: 'const short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
bool l = (grid[box.row][box.col - 1] == '#' );
~~~~ ~~~~^~~
/in/sokoban.hpp:117:37: 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]
bool l = (grid[box.row][box.col - 1] == '#' );
~~~~ ~~~~~~~~^~~
/in/sokoban.hpp:228:55: error: implicit conversion changes signedness: 'short' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
for (short c = 0; c < static_cast<short>(grid[r].size()); c++) {
~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/in/Compile/Makefile:16: recipe for target 'main' failed
make: *** [main] Error 1