/in/simulation.cpp: In function 'void world_set(world_t&, std::__cxx11::string)':
/in/simulation.cpp:194:38: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (species_404(world, cre_name) == -1) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/simulation.cpp:226:53: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
} else if (overlap_404(world, cre_row, cre_col) != -1) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/in/simulation.cpp: In function 'unsigned int overlap_404(world_t&, unsigned int, unsigned int)':
/in/simulation.cpp:262:47: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (world.creatures[numC_help].location.r == cre_row &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/in/simulation.cpp:263:47: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
world.creatures[numC_help].location.c == cre_col) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/in/simulation.cpp: In function 'bool outsideGrid(point_t, const grid_t&)':
/in/simulation.cpp:271:30: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (point.r < 0 || point.r >= grid.height || point.c < 0 ||
~~~~~~~~^~~~~~~~~~~~~~
/in/simulation.cpp:272:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
point.c >= grid.width) {
~~~~~~~~^~~~~~~~~~~~~
cc1plus: all warnings being treated as errors