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:121:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < grid.size() ; ++i) {
~~^~~~~~~~~~~~~
main.cpp:114:15: warning: unused variable 'compare' [-Wunused-variable]
compare_t compare;
^~~~~~~
In file included from main.cpp:9:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]':
main.cpp:242:1: required from here
unsorted_heap.h:71:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < data.size() ; ++i) {
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = cell; COMP = compare_t]':
main.cpp:242:1: required from here
unsorted_heap.h:92:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < data.size() ; ++i) {
In file included from main.cpp:10:0:
fib_heap.h: In instantiation of 'fib_heap<TYPE, COMP>::fib_nodes::fib_nodes(TYPE, fib_heap<TYPE, COMP>::fib_nodes*, fib_heap<TYPE, COMP>::fib_nodes*, fib_heap<TYPE, COMP>::fib_nodes*, fib_heap<TYPE, COMP>::fib_nodes*, int, bool) [with TYPE = cell; COMP = compare_t]':
fib_heap.h:123:23: required from 'void fib_heap<TYPE, COMP>::enqueue(const TYPE&) [with TYPE = cell; COMP = compare_t]'
main.cpp:242:1: required from here
fib_heap.h:67:12: warning: 'fib_heap<cell, compare_t>::fib_nodes::key' will be initialized after [-Wreorder]
TYPE key;
^~~
fib_heap.h:61:19: warning: 'fib_heap<cell, compare_t>::fib_nodes* fib_heap<cell, compare_t>::fib_nodes::parent' [-Wreorder]
fib_nodes * parent;
^~~~~~
fib_heap.h:69:7: warning: when initialized here [-Wreorder]
fib_nodes(TYPE k,
^~~~~~~~~
In file included from main.cpp:8:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolateDown(int) [with TYPE = cell; COMP = compare_t]':
binary_heap.h:93:18: required from 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]'
main.cpp:242:1: required from here
binary_heap.h:100:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 2*id; j <= data.size() ; j = 2*id) {
binary_heap.h:101:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j < data.size() && compare(data[j+1-1],data[j-1])) j++;
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully