/in/lab7.cpp: In member function 'void MyGame::drawGridLine(std::stringstream&, char) const':
/in/lab7.cpp:239:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == border - 1) ss << '+'; // extra '+' for double pipe
~~^~~~~~~~~~~~~
/in/lab7.cpp: In member function 'void MyGame::drawCharsWithFixedWidth(std::stringstream&, const char*) const':
/in/lab7.cpp:253:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (charLen > blockSize) {
~~~~~~~~^~~~~~~~~~~
/in/lab7.cpp:254:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < blockSize; i++) {
~~^~~~~~~~~~~
/in/lab7.cpp: In member function 'virtual std::__cxx11::string MyGame::draw() const':
/in/lab7.cpp:437:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == border - 1) ss << '|'; // extra
~~^~~~~~~~~~~~~
/in/lab7.cpp:440:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i == border - 1) drawGridLine(ss, '=');
~~^~~~~~~~~~~~~
/in/lab7.cpp: In member function 'Bullet* MyTank::generateBullet()':
/in/lab7.cpp:183:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^