prepare (1/3):
finished
make (2/3):
g++ -g -Wall -c -O2 main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:46:7: warning: unused variable 'heapoption' [-Wunused-variable]
char heapoption[10];
^~~~~~~~~~
In file included from main.cpp:4:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = ma; COMP = main(int, char**)::compare_t]':
main.cpp:185:1: required from here
unsorted_heap.h:78:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < data.size(); i++)
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = ma; COMP = main(int, char**)::compare_t]':
main.cpp:185:1: required from here
unsorted_heap.h:92:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < data.size(); i++)
In file included from main.cpp:1:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = ma; COMP = main(int, char**)::compare_t]':
main.cpp:185:1: required from here
binary_heap.h:90:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (2 * now <= data.size())
binary_heap.h:93:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (next<data.size())
g++ -g -Wall -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully