prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:52:32: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(argv[optind] == "UNSORTED"){
^~~~~~~~~~
main.cpp:54:38: warning: comparison with string literal results in unspecified behavior [-Waddress]
}else if(argv[optind] == "BINARY"){
^~~~~~~~
main.cpp:40:10: warning: unused variable 'comp' [-Wunused-variable]
COMP comp;
^~~~
main.cpp:61:72: warning: unused variable 'option' [-Wunused-variable]
int width,height,start_x,start_y,end_x,end_y,index,previndex,o = 0,option, count;;
^~~~~~
In file included from main.cpp:5:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = point*; COMP = COMP]':
main.cpp:94:35: required from here
unsorted_heap.h:70:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < data.size();i++){
In file included from main.cpp:6:0:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::~fib_heap() [with TYPE = point*; COMP = COMP]':
main.cpp:249:35: required from here
fib_heap.h:228:14: warning: unused variable 'p' [-Wunused-variable]
TYPE p = min->key;
^
fib_heap.h:229:13: warning: unused variable 'i' [-Wunused-variable]
int i,d;
^
fib_heap.h:229:15: warning: unused variable 'd' [-Wunused-variable]
int i,d;
^
fib_heap.h:226:11: warning: unused variable 'temp' [-Wunused-variable]
node *temp;
^~~~
In file included from main.cpp:5:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point*; COMP = COMP]':
main.cpp:636:1: required from here
unsorted_heap.h:86:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < size;i++){
~~^~~~~~
unsorted_heap.h:85:10: warning: reference to local variable 'minimum' returned [-Wreturn-local-addr]
TYPE minimum = data[0];
^~~~~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully