Record Detail

Compile Error

/in/simulation.cpp: In function 'bool readCreature(int, const string&, const string&, world_t&)':
/in/simulation.cpp:277:60: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
             if (world.species[creature].program[i].address > step) {
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project Three: Simple World
Language
C++
Submit At
2020-11-01 22:24:32
Judged At
2020-11-01 22:24:32
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes