prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:7:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = cell; COMP = compare_t]':
main.cpp:268:1: required from here
unsorted_heap.h:93:10: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min = data[0];
^~~
main.cpp: In function 'int main(int, char**)':
main.cpp:261:28: warning: 'PQ' may be used uninitialized in this function [-Wmaybe-uninitialized]
PQ->enqueue(node[current_y-1][current_x]);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:122:5: 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