In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:36:17: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
return grid[x][y] != '#';
~~~~ ^
/in/sokoban.hpp:36:20: 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]
return grid[x][y] != '#';
~~~~ ^
/in/sokoban.hpp:41:14: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[boxX][boxY] == 'T' || grid[boxX][boxY] == 'R') return false;
~~~~ ^~~~
/in/sokoban.hpp:41:20: 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]
if (grid[boxX][boxY] == 'T' || grid[boxX][boxY] == 'R') return false;
~~~~ ^~~~
/in/sokoban.hpp:41:41: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[boxX][boxY] == 'T' || grid[boxX][boxY] == 'R') return false;
~~~~ ^~~~
/in/sokoban.hpp:41:47: 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]
if (grid[boxX][boxY] == 'T' || grid[boxX][boxY] == 'R') return false;
~~~~ ^~~~
/in/sokoban.hpp:50:25: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
} else if (grid[nx][ny] == 'T') {
~~~~ ^~
/in/sokoban.hpp:50:29: 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]
} else if (grid[nx][ny] == 'T') {
~~~~ ^~
/in/sokoban.hpp:65:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[boxX][y] == 'T') {
~~~~ ^~~~
/in/sokoban.hpp:65:28: 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]
if (grid[boxX][y] == 'T') {
~~~~ ^
/in/sokoban.hpp:76:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[x][boxY] == 'T') {
~~~~ ^
/in/sokoban.hpp:76:25: 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]
if (grid[x][boxY] == 'T') {
~~~~ ^~~~
/in/sokoban.hpp:95:13: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
visited[startX][startY] = true;
~~~~~~~ ^~~~~~
/in/sokoban.hpp:95:21: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
visited[startX][startY] = true;
~~~~~~~ ^~~~~~
/in/sokoban.hpp:105:51: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (canMove(grid, nx, ny) && !visited[nx][ny] &&
~~~~~~~ ^~
/in/sokoban.hpp:105:55: error: implicit conversion changes signedness: 'int' to 'std::vector<bool, type-parameter-0-0>::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (canMove(grid, nx, ny) && !visited[nx][ny] &&
~~~~~~~ ^~
/in/sokoban.hpp:106:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[nx][ny] != 'B' && grid[nx][ny] != 'R') {
~~~~ ^~
/in/sokoban.hpp:106:26: 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]
grid[nx][ny] != 'B' && grid[nx][ny] != 'R') {
~~~~ ^~
/in/sokoban.hpp:106:45: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[nx][ny] != 'B' && grid[nx][ny] != 'R') {
~~~~ ^~
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