prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -std=c++11 -o main.o -c main.cpp
g++ -g -Wall -O2 -std=c++11 -o st_path.o -c st_path.cpp
st_path.cpp: In constructor 'grid::grid(unsigned int, unsigned int)':
st_path.cpp:13:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < h; i++){
~~^~~
st_path.cpp: In destructor 'grid::~grid()':
st_path.cpp:21:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < height; i++){
~~^~~~~~~~
st_path.cpp: In member function 'void grid::shortest_path(unsigned int, bool)':
st_path.cpp:69:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (x+1 < width && !weight[y][x+1].mark) {
~~~~^~~~~~~
st_path.cpp:72:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (y+1 < height && !weight[y+1][x].mark) {
~~~~^~~~~~~~
In file included from st_path.cpp:8:0:
fib_heap.h: In instantiation of 'void fib_heap<TYPE, COMP>::consolidate() [with TYPE = point*; COMP = grid::compare_t]':
fib_heap.h:153:16: required from 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = point*; COMP = grid::compare_t]'
st_path.cpp:105:1: required from here
fib_heap.h:164:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i<size;i++){
~^~~~~
fib_heap.h:193:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < size; i++){
~~^~~~~~
g++ -g -Wall -O2 -std=c++11 -o main main.o st_path.o
finished
clean (3/3):
finished
all task finished, build successfully