prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
main.cpp:17:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* const short_options = "i:v";
^~~~~
In file included from main.cpp:1:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = point; COMP = compare_t]':
main.cpp:315:1: required from here
unsorted_heap.h:68:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0;i<=data.size()-1;i++)
~^~~~~~~~~~~~~~~
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = point; COMP = compare_t]':
main.cpp:315:1: required from here
unsorted_heap.h:82:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0;i<=data.size()-1;i++)
~^~~~~~~~~~~~~~~
In file included from main.cpp:2:0:
binary_heap.h: In instantiation of 'void binary_heap<TYPE, COMP>::percolateDown(int) [with TYPE = point; COMP = compare_t]':
binary_heap.h:74:18: required from 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = point; COMP = compare_t]'
main.cpp:315:1: required from here
binary_heap.h:112:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 2*id; j<= data.size(); j = 2*id) //j is id
binary_heap.h:114:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j < data.size() && !compare(data[j-1],data[j])) j++;
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully