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:106:56: warning: narrowing conversion of 'i' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
*temp = {i, j, weight, nullptr, 0, false, 0};
^
main.cpp:106:56: warning: narrowing conversion of 'j' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:106:56: warning: narrowing conversion of 'weight' from 'int' to 'unsigned int' inside { } [-Wnarrowing]
main.cpp:134:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i->x == x1 && i->y == y1) {
~~~~~^~~~~
main.cpp:134:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i->x == x1 && i->y == y1) {
~~~~~^~~~~
In file included from main.cpp:2:0:
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = place*; COMP = compare_t]':
main.cpp:168:1: required from here
unsorted_heap.h:86:10: warning: reference to local variable 'min' returned [-Wreturn-local-addr]
TYPE min = data[0];
^~~
main.cpp:116:30: warning: 'pql' may be used uninitialized in this function [-Wmaybe-uninitialized]
pql->enqueue(grid[x0][y0]);
^
g++ -g -Wall -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully