prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:4:0:
fib_heap.h: In instantiation of 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = _point*; COMP = compare_t]':
main.cpp:158:1: required from here
fib_heap.h:143:19: error: invalid conversion from '_point*' to 'int' [-fpermissive]
int key =min->key;
~~~~~^~~
fib_heap.h:169:12: error: invalid conversion from 'int' to '_point*' [-fpermissive]
return key;
^~~
Makefile:16: recipe for target 'main.o' failed
make: *** [main.o] Error 1
build failed