prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from game.h:11:0,
from main.cpp:4:
fib_heap.h: In instantiation of 'void fib_heap<TYPE, COMP>::Consolidate() [with TYPE = point_t; COMP = compare_t]':
fib_heap.h:253:25: required from 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = point_t; COMP = compare_t]'
main.cpp:70:1: required from here
fib_heap.h:182:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < A.size(); i++){
g++ -g -Wall -O2 -o game.o -c game.cpp
game.cpp: In function 'void play(std::vector<point_t>&, int, int, int, int, priority_queue<point_t, compare_t>*, unsigned int, unsigned int, bool)':
game.cpp:56:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x + 1+ width*C.y].x == end_x && grid[C.x + 1+ width*C.y].y == end_y){
game.cpp:56:82: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x + 1+ width*C.y].x == end_x && grid[C.x + 1+ width*C.y].y == end_y){
game.cpp:72:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x+ width*(C.y + 1)].x == end_x && grid[C.x+ width*(C.y + 1)].y == end_y){
game.cpp:72:86: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x+ width*(C.y + 1)].x == end_x && grid[C.x+ width*(C.y + 1)].y == end_y){
game.cpp:88:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x - 1 + width*C.y].x == end_x && grid[C.x - 1 + width*C.y].y == end_y){
game.cpp:88:84: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x - 1 + width*C.y].x == end_x && grid[C.x - 1 + width*C.y].y == end_y){
game.cpp:104:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x + width*(C.y - 1)].x == end_x && grid[C.x + width*(C.y - 1)].y == end_y){
game.cpp:104:88: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(grid[C.x + width*(C.y - 1)].x == end_x && grid[C.x + width*(C.y - 1)].y == end_y){
g++ -g -Wall -O2 -o main main.o game.o
finished
clean (3/3):
finished
all task finished, build successfully