prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:5:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::Percolate_Down(int) [with TYPE = point; COMP = compare_t]':
main.cpp:251:1: required from here
binary_heap.h:101:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ((this->data.size() - 1) >= 2 * i + 1 && !empty()) {
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
binary_heap.h:102:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((this->data.size() - 1) >= 2 * i + 2) {
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int main(int, char**)':
main.cpp:207:17: warning: 'pq' may be used uninitialized in this function [-Wmaybe-uninitialized]
pq->enqueue(field[C.y - 1][C.x]);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully