/in/simulation.cpp: In function 'void InitGrid(const string&, world_t&)':
/in/simulation.cpp:213:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int r = 0; r < height; ++r) {
~~^~~~~~~~
/in/simulation.cpp:214:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int c = 0; c < width; ++c) {
~~^~~~~~~
/in/simulation.cpp: In function 'void printOneRound(int, bool, world_t&)':
/in/simulation.cpp:559:22: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for(int j = 0; j < world.numCreatures; j++){
~~^~~~~~~~~~~~~~~~~~~~
/in/simulation.cpp: In function 'void printGrid(const grid_t&)':
/in/simulation.cpp:574:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int r = 0; r < grid.height; ++r) {
~~^~~~~~~~~~~~~
/in/simulation.cpp:575:27: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (int c = 0; c < grid.width; ++c) {
~~^~~~~~~~~~~~
/in/simulation.cpp:593:19: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (c < grid.width) {
~~^~~~~~~~~~~~
cc1plus: all warnings being treated as errors