prepare (1/3):
finished
make (2/3):
clang++ -g -Wall -O2 -o main.o -c main.cpp
main.cpp:28:3: warning: control may reach end of non-void function [-Wreturn-type]
}
^
In file included from main.cpp:8:
./unsorted_heap.h:88:9: warning: reference to stack memory associated with local variable 'temp' returned [-Wreturn-stack-address]
return temp;
^~~~
./unsorted_heap.h:19:2: note: in instantiation of member function 'unsorted_heap<point *, point::compare_point>::get_min' requested here
unsorted_heap(COMP comp = COMP());
^
main.cpp:81:12: note: in instantiation of member function 'unsorted_heap<point *, point::compare_point>::unsorted_heap' requested here
PQ = new unsorted_heap<point *, point::compare_point>;
^
2 warnings generated.
clang++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully