prepare (1/3):
finished
make (2/3):
g++ -g -Wall -o main.o -c main.cpp
g++ -g -Wall -o simulation.o -c simulation.cpp
simulation.cpp: In member function 'void virusSimulation::run()':
simulation.cpp:65:11: warning: deleting object of abstract class type 'event' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete e;
^
simulation.cpp:76:10: warning: deleting object of abstract class type 'event' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor]
delete e;
^
In file included from simulation.h:5:0,
from simulation.cpp:1:
unsorted_heap.h: In instantiation of 'void unsorted_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = event*; COMP = infect::compare_t]':
simulation.cpp:78:1: required from here
unsorted_heap.h:64:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(heapSize++ == data.size())
In file included from event.h:3:0,
from simulation.h:3,
from simulation.cpp:1:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = event*; COMP = infect::compare_t]':
simulation.cpp:78:1: required from here
binary_heap.h:65:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (heapSize == data.size())
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