/in/cipher.cpp: In function 'void decrypt_c(std::__cxx11::string)':
/in/cipher.cpp:19:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < line.length(); i = i + 3)
~~^~~~~~~~~~~~~~~
/in/cipher.cpp:42:45: error: array subscript has type 'char' [-Werror=char-subscripts]
std::cout << lowercaseSquare[line[i+1]][line[i+2]];
^
/in/cipher.cpp:42:56: error: array subscript has type 'char' [-Werror=char-subscripts]
std::cout << lowercaseSquare[line[i+1]][line[i+2]];
^
/in/cipher.cpp: In function 'void decrypt_s(std::__cxx11::string)':
/in/cipher.cpp:49:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < line.length(); i = i + 4)
~~^~~~~~~~~~~~~~~
/in/cipher.cpp:72:45: error: array subscript has type 'char' [-Werror=char-subscripts]
std::cout << lowercaseSquare[line[i+1]][line[i+2]];
^
/in/cipher.cpp:72:56: error: array subscript has type 'char' [-Werror=char-subscripts]
std::cout << lowercaseSquare[line[i+1]][line[i+2]];
^
/in/cipher.cpp: In function 'void encrypt_c(std::__cxx11::string)':
/in/cipher.cpp:79:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < line.length(); i++)
~~^~~~~~~~~~~~~~~
/in/cipher.cpp: In function 'void encrypt_s(std::__cxx11::string)':
/in/cipher.cpp:116:21: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int i = 0; i < line.length(); i++)
~~^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:23: recipe for target 'cipher.o' failed
make: *** [cipher.o] Error 1