prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
In file included from main.cpp:3:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]':
main.cpp:208:1: required from here
unsorted_heap.h:70:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(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:208:1: required from here
unsorted_heap.h:85:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<data.size();i++){
In file included from main.cpp:4:0:
fib_heap.h: In instantiation of 'void fib_heap<TYPE, COMP>::consolidate() [with TYPE = cell; COMP = compare_t]':
fib_heap.h:147:24: required from 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]'
main.cpp:208:1: required from here
fib_heap.h:173:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<n;i++){
~^~
fib_heap.h:206:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<n;i++){
~^~
In file included from main.cpp:5:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolateDown(int) [with TYPE = cell; COMP = compare_t]':
binary_heap.h:80:18: required from 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = cell; COMP = compare_t]'
main.cpp:208:1: required from here
binary_heap.h:112:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=2*id+1;j<data.size();j=2*id+1){
binary_heap.h:114:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<data.size()-1&&compare(data[j+1],data[j])) j++;
~^~~~~~~~~~~~~~
main.cpp: In function 'int main(int, char**)':
main.cpp:204:28: warning: 'PQ' may be used uninitialized in this function [-Wmaybe-uninitialized]
PQ->enqueue(*N);
~~~~~~~~~~~^~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully