prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main main.cpp
main.cpp: In function 'int main(int, char**)':
main.cpp:27:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *strin = "vi:";
^~~~~
main.cpp:25:9: warning: unused variable 'digit_optind' [-Wunused-variable]
int digit_optind = 0;
^~~~~~~~~~~~
In file included from main.cpp:12:0:
unsorted_heap.h: In instantiation of 'TYPE unsorted_heap<TYPE, COMP>::dequeue_min() [with TYPE = main(int, char**)::coordinate; COMP = main(int, char**)::compare_t]':
main.cpp:235:1: required from here
unsorted_heap.h:79:19: 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**)::coordinate; COMP = main(int, char**)::compare_t]':
main.cpp:235:1: required from here
unsorted_heap.h:97:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<data.size();i++){
In file included from main.cpp:11:0:
binary_heap.h: In instantiation of 'TYPE binary_heap<TYPE, COMP>::dequeue_min() [with TYPE = main(int, char**)::coordinate; COMP = main(int, char**)::compare_t]':
main.cpp:235:1: required from here
binary_heap.h:82:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=2;j<=data.size();j=2*id){
binary_heap.h:83:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j<data.size() && compare(data[j],data[j-1])){j++;}
In file included from main.cpp:13:0:
fib_heap.h: In instantiation of 'void fib_heap<TYPE, COMP>::Consolidate() [with TYPE = main(int, char**)::coordinate; COMP = main(int, char**)::compare_t]':
fib_heap.h:151:22: required from 'TYPE fib_heap<TYPE, COMP>::dequeue_min() [with TYPE = main(int, char**)::coordinate; COMP = main(int, char**)::compare_t]'
main.cpp:235:1: required from here
fib_heap.h:185:10: warning: unused variable 'exist' [-Wunused-variable]
bool exist=0;
^~~~~
main.cpp:108:5: warning: 'im' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(im==0){PQ= new binary_heap<coordinate, compare_t>;}
^~
finished
clean (3/3):
finished
all task finished, build successfully