prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:7:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = cell_*; COMP = compare_t]':
main.cpp:351:1: required from here
unsorted_heap.h:91:10: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min;
^~~
unsorted_heap.h:90:47: warning: variable 'index' set but not used [-Wunused-but-set-variable]
typename std::vector<TYPE>::size_type ix, index=0;
^~~~~
unsorted_heap.h: In member function 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell_*; COMP = compare_t]':
unsorted_heap.h:84:12: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
return min;
^~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully