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:170:1: required from here
fib_heap.h:121:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < H_min->degree; i++) {
~~^~~~~~~~~~~~~~~
fib_heap.h:124:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==H_min->degree-1)
~^~~~~~~~~~~~~~~~~
In file included from main.cpp:2:0:
unsorted_heap.h: In member function 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
unsorted_heap.h:95:12: warning: function returns address of local variable [-Wreturn-local-addr]
return min;
^~~
unsorted_heap.h:88:10: note: declared here
TYPE temp=data[0];
^~~~
main.cpp: In function 'int main(int, char**)':
main.cpp:107:12: warning: 'method' may be used uninitialized in this function [-Wmaybe-uninitialized]
switch(*method){
^~~~~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully