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:122:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x < 0 || x >= m || y < 0 || y >= n)
~~^~~~
main.cpp:122:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x < 0 || x >= m || y < 0 || y >= n)
~~^~~~
main.cpp:132:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (N->x == x2 && N->y == y2)
~~~~~^~~~~
main.cpp:132:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (N->x == x2 && N->y == y2)
~~~~~^~~~~
In file included from main.cpp:16:0:
fib_heap.h: In instantiation of 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = point*; COMP = point::compare_t]':
main.cpp:172:1: required from here
fib_heap.h:126:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (auto i = 0; i < root_size; i++)
~~^~~~~~~~~~~
In file included from main.cpp:15:0:
unsorted_heap.h: In member function 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point*; COMP = point::compare_t]':
unsorted_heap.h:87:12: warning: function returns address of local variable [-Wreturn-local-addr]
return val;
^~~
unsorted_heap.h:80:10: note: declared here
auto temp = data[1];
^~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully