prepare (1/3):
finished
make (2/3):
g++ -g -Wall -o main.o -c main.cpp
In file included from main.cpp:7:0:
fib_heap.h: In instantiation of 'const TYPE& fib_heap<TYPE, COMP>::get_min() const [with TYPE = cell*; COMP = mycompare]':
main.cpp:173:1: required from here
fib_heap.h:196:7: warning: reference to local variable 'min_ans' returned [-Wreturn-local-addr]
TYPE min_ans;
^~~~~~~
In file included from main.cpp:6:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = cell*; COMP = mycompare]':
main.cpp:173:1: required from here
unsorted_heap.h:86:7: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min=data[0];
^~~
In file included from main.cpp:5:0:
binary_heap.h: In instantiation of 'const TYPE& binary_heap<TYPE, COMP>::get_min() const [with TYPE = cell*; COMP = mycompare]':
main.cpp:173:1: required from here
binary_heap.h:103:7: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min=data[0];
^~~
In file included from main.cpp:7:0:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::node::node(TYPE) [with TYPE = cell*; COMP = mycompare]':
fib_heap.h:121:10: required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = cell*; COMP = mycompare]'
main.cpp:173:1: required from here
fib_heap.h:59:8: warning: 'fib_heap<cell*, mycompare>::node::key' will be initialized after [-Wreorder]
TYPE key;
^~~
fib_heap.h:57:9: warning: 'fib_heap<cell*, mycompare>::node* fib_heap<cell*, mycompare>::node::parent' [-Wreorder]
node *parent;
^~~~~~
fib_heap.h:63:3: warning: when initialized here [-Wreorder]
node(TYPE val):key(val),parent(NULL),child(NULL),degree(0),left(this),right(this){}
^~~~
g++ -g -Wall -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully