In file included from /in/Compile/check.cpp:7:
/in/sokoban.hpp:45:17: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
grid.resize(row);
~~~~~~ ^~~
/in/sokoban.hpp:54:32: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
std::vector<char> board(row*col);
~~~~~ ~~~^~~~
/in/sokoban.hpp:57:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == '#'){
~~~~ ^
/in/sokoban.hpp:57: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[i][j] == '#'){
~~~~ ^
/in/sokoban.hpp:58:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
board[i*col+j] = '#';
~~~~~ ~~~~~^~
/in/sokoban.hpp:60:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == 'T' || grid[i][j] == 'R'){
~~~~ ^
/in/sokoban.hpp:60: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[i][j] == 'T' || grid[i][j] == 'R'){
~~~~ ^
/in/sokoban.hpp:60:43: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == 'T' || grid[i][j] == 'R'){
~~~~ ^
/in/sokoban.hpp:60:46: 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[i][j] == 'T' || grid[i][j] == 'R'){
~~~~ ^
/in/sokoban.hpp:61:28: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
board[i*col+j] = 'T';
~~~~~ ~~~~~^~
/in/sokoban.hpp:63:24: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
board[i*col+j] = '.';
~~~~~ ~~~~~^~
/in/sokoban.hpp:75:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == 'S'){
~~~~ ^
/in/sokoban.hpp:75: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[i][j] == 'S'){
~~~~ ^
/in/sokoban.hpp:78:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == 'B'){
~~~~ ^
/in/sokoban.hpp:78: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[i][j] == 'B'){
~~~~ ^
/in/sokoban.hpp:81:22: error: implicit conversion changes signedness: 'int' to 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-conversion]
if (grid[i][j] == 'T'){
~~~~ ^
/in/sokoban.hpp:81: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[i][j] == 'T'){
~~~~ ^
/in/sokoban.hpp:73:20: error: comparison of integers of different signs: 'int' and 'std::vector::size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
for (int i=0; i<grid.size(); ++i){
~^~~~~~~~~~~~
/in/sokoban.hpp:74:24: error: comparison of integers of different signs: 'int' and 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
for (int j=0; j<grid[0].size(); ++j){
~^~~~~~~~~~~~~~~
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