prepare (1/3):
finished
make (2/3):
g++ -g -Wall -o main.o -c main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:70:9: warning: 'pq' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete pq;
^~
g++ -g -Wall -o simulation.o -c simulation.cpp
simulation.cpp: In member function 'void virusSimulation::run()':
simulation.cpp:46:10: warning: deleting object of polymorphic class type 'infect' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
delete Ievent;
^~~~~~
simulation.cpp:52:11: warning: deleting object of abstract class type 'event' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete temp;
^~~~
simulation.cpp:58:10: warning: deleting object of abstract class type 'event' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete temp;
^~~~
g++ -g -Wall -o event.o -c event.cpp
g++ -g -Wall -o main main.o simulation.o event.o
finished
clean (3/3):
finished
all task finished, build successfully