prepare (1/3):
finished
make (2/3):
g++ -g -Wall -o main.o -c main.cpp
In file included from main.cpp:2:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = grid*; COMP = mycompare]':
main.cpp:135:1: required from here
unsorted_heap.h:83:11: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min = data[0];
^~~
In file included from main.cpp:3:0:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::FibonacciHeapNode::FibonacciHeapNode(TYPE) [with TYPE = grid*; COMP = mycompare]':
fib_heap.h:173:16: required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = grid*; COMP = mycompare]'
main.cpp:135:1: required from here
fib_heap.h:61:26: warning: 'fib_heap<grid*, mycompare>::FibonacciHeapNode::child' will be initialized after [-Wreorder]
FibonacciHeapNode * child; //first child node
^~~~~
fib_heap.h:57:15: warning: 'unsigned int fib_heap<grid*, mycompare>::FibonacciHeapNode::degree' [-Wreorder]
unsigned degree; //degree
^~~~~~
fib_heap.h:63:1: warning: when initialized here [-Wreorder]
FibonacciHeapNode(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