In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:46:49: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
return isInBounds(x, y, rows, cols) && grid[y][x] == PATH;
~~~~ ^
/in/sokoban.hpp:46:52: 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 isInBounds(x, y, rows, cols) && grid[y][x] == PATH;
~~~~ ^
/in/sokoban.hpp:75:37: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
for (size_t j = 0; j < grid[i].size(); ++j) {
~~~~ ^
/in/sokoban.hpp:76:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == START) {
~~~~ ^
/in/sokoban.hpp:79:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid[i][j] = PATH;
~~~~ ^
/in/sokoban.hpp:100:67: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (!isInBounds(newX, newY, rows, cols) || currentMap[newY][newX] == WALL) {
~~~~~~~~~~ ^~~~
/in/sokoban.hpp:100:73: 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 (!isInBounds(newX, newY, rows, cols) || currentMap[newY][newX] == WALL) {
~~~~~~~~~~ ^~~~
/in/sokoban.hpp:104:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (currentMap[newY][newX] == BOX) {
~~~~~~~~~~ ^~~~
/in/sokoban.hpp:104:34: 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 (currentMap[newY][newX] == BOX) {
~~~~~~~~~~ ^~~~
/in/sokoban.hpp:111:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[newY][newX] = PATH;
~~~~~~ ^~~~
/in/sokoban.hpp:111:34: 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]
newMap[newY][newX] = PATH;
~~~~~~ ^~~~
/in/sokoban.hpp:112:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[nextY][nextX] = BOX;
~~~~~~ ^~~~~
/in/sokoban.hpp:112:35: 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]
newMap[nextY][nextX] = BOX;
~~~~~~ ^~~~~
/in/sokoban.hpp:113:28: error: implicit conversion changes signedness: 'std::tuple_element<0, std::tuple<int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::type' (aka 'int') to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[playerY][playerX] = PATH;
~~~~~~ ^~~~~~~
/in/sokoban.hpp:113:37: error: implicit conversion changes signedness: 'std::tuple_element<0, std::tuple<int, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::type' (aka 'int') to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[playerY][playerX] = PATH;
~~~~~~ ^~~~~~~
/in/sokoban.hpp:124:24: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[newY][newX] = START;
~~~~~~ ^~~~
/in/sokoban.hpp:124:30: 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]
newMap[newY][newX] = START;
~~~~~~ ^~~~
/in/sokoban.hpp:125:24: error: implicit conversion changes signedness: 'std::tuple_element<0, std::tuple<int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::type' (aka 'int') to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[playerY][playerX] = PATH;
~~~~~~ ^~~~~~~
/in/sokoban.hpp:125:33: error: implicit conversion changes signedness: 'std::tuple_element<0, std::tuple<int, int, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::type' (aka 'int') to 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
newMap[playerY][playerX] = PATH;
~~~~~~ ^~~~~~~
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