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:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::FibNode::FibNode(TYPE) [with TYPE = int; COMP = std::less<int>]':
fib_heap.h:176:18: required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = int; COMP = std::less<int>]'
main.cpp:212:1: required from here
fib_heap.h:74:14: warning: 'fib_heap<int>::FibNode::mark' will be initialized after [-Wreorder]
bool mark;
^~~~
fib_heap.h:70:18: warning: 'fib_heap<int>::FibNode* fib_heap<int>::FibNode::left' [-Wreorder]
FibNode *left;
^~~~
fib_heap.h:75:9: warning: when initialized here [-Wreorder]
FibNode(TYPE value) : key(value), degree(0),mark(false),
^~~~~~~
main.cpp: In function 'void find_shortest_path(int, int, int, int, int, int, cell**&, int, int)':
main.cpp:24:26: warning: 'mincell' may be used uninitialized in this function [-Wmaybe-uninitialized]
neighbor->predecessor=mincell;
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.cpp:53:15: note: 'mincell' was declared here
cell *mincell;
^~~~~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully