prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
main.cpp:12:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* short_options = "i:v";
^~~~~
In file included from main.cpp:3:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = Point; COMP = compare_t]':
main.cpp:212:1: required from here
unsorted_heap.h:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<size ; i++)
~^~~~~
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = Point; COMP = compare_t]':
main.cpp:212:1: required from here
unsorted_heap.h:92:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<size ; i++)
~^~~~~
In file included from main.cpp:4:0:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::Fibnode::Fibnode(TYPE) [with TYPE = Point; COMP = compare_t]':
fib_heap.h:106:17: required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = Point; COMP = compare_t]'
main.cpp:212:1: required from here
fib_heap.h:66:14: warning: 'fib_heap<Point, compare_t>::Fibnode::child' will be initialized after [-Wreorder]
Fibnode *child;
^~~~~
fib_heap.h:65:14: warning: 'fib_heap<Point, compare_t>::Fibnode* fib_heap<Point, compare_t>::Fibnode::parent' [-Wreorder]
Fibnode *parent;
^~~~~~
fib_heap.h:68:5: warning: when initialized here [-Wreorder]
Fibnode(TYPE val):key(val),degree(0),left(NULL),right(NULL),child(NULL),parent(NULL)
^~~~~~~
main.cpp: In function 'int main(int, char**)':
main.cpp:102:10: warning: 'PQ' may be used uninitialized in this function [-Wmaybe-uninitialized]
C=PQ->dequeue_min();
~^~~~~~~~~~~~~~~~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully