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:
fib_heap.h: In member function 'void fib_heap<TYPE, COMP>::consolidate()':
fib_heap.h:158:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (A[i] != NULL)
^
fib_heap.h: In instantiation of 'node<TYPE, COMP>::node(TYPE) [with TYPE = point; COMP = std::less<point>]':
fib_heap.h:201:22: required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = point; COMP = point::compare_t]'
main.cpp:180:1: required from here
fib_heap.h:17:18: warning: 'node<point, std::less<point> >::right' will be initialized after [-Wreorder]
node<TYPE> * right;
^~~~~
fib_heap.h:12:9: warning: 'int node<point, std::less<point> >::degree' [-Wreorder]
int degree;
^~~~~~
fib_heap.h:19:5: warning: when initialized here [-Wreorder]
node(TYPE t_val = TYPE()):val(t_val),parent(NULL),child(NULL),left(this),right(this),degree(0)
^~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully