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:207:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < Print.size()){
~~^~~~~~~~~~~~~~
main.cpp:112:9: warning: unused variable 'range' [-Wunused-variable]
int range = 1;
^~~~~
In file included from main.cpp:8:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = main(int, char**)::position; COMP = main(int, char**)::position::compare_t]':
main.cpp:236:1: required from here
binary_heap.h:84:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 2; i <= data.size() - 1; i = 2 * position){
~~^~~~~~~~~~~~~~~~~~
binary_heap.h:85:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < data.size() - 1 && compare(data[i + 1], data[i])){
~~^~~~~~~~~~~~~~~~~
In file included from main.cpp:7:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = main(int, char**)::position; COMP = main(int, char**)::position::compare_t]':
main.cpp:236:1: required from here
unsorted_heap.h:71:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < data.size(); i++){
unsorted_heap.h: In instantiation of 'const TYPE& unsorted_heap<TYPE, COMP>::get_min() const [with TYPE = main(int, char**)::position; COMP = main(int, char**)::position::compare_t]':
main.cpp:236:1: required from here
unsorted_heap.h:86:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < data.size(); i++){
unsorted_heap.h:85:10: warning: reference to local variable 'temp' returned [-Wreturn-local-addr]
TYPE temp = data[0];
^~~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully