prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:8:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
main.cpp:256:1: required from here
unsorted_heap.h:86:10: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min;
^~~
In file included from main.cpp:7:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = point; COMP = compare_t]':
main.cpp:256:1: required from here
binary_heap.h:83:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=2*n;i<=data.size();i=2*n){
binary_heap.h:84:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i<data.size()&& compare(data[i],data[i-1])){
In file included from main.cpp:9:0:
fib_heap.h: In instantiation of 'void fib_heap<TYPE, COMP>::Consolidate() [with TYPE = point; COMP = compare_t]':
fib_heap.h:222:20: required from 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = point; COMP = compare_t]'
main.cpp:256:1: required from here
fib_heap.h:86:13: warning: unused variable 'd' [-Wunused-variable]
int d = 0;
^
In file included from main.cpp:8:0:
unsorted_heap.h: In member function 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
unsorted_heap.h:94:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully