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:218:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char *strin = "mptg:v";
^~~~~~~~
main.cpp:217:6: warning: unused variable 'optind' [-Wunused-variable]
int optind;
^~~~~~
main.cpp: In function 'Client antisearchid(int, std::priority_queue<Client, std::vector<Client>, antipricecomp>)':
main.cpp:188:1: warning: control reaches end of non-void function [-Wreturn-type]
}//no &
^
main.cpp: In function 'Client searchid(int, std::priority_queue<Client, std::vector<Client>, pricecomp>)':
main.cpp:202:1: warning: control reaches end of non-void function [-Wreturn-type]
}//no &
^
main.cpp: In function 'int main(int, char**)':
main.cpp:1385:43: warning: 'netvalue' may be used uninitialized in this function [-Wmaybe-uninitialized]
netvalue = netvalue - temp.quantity*temp.price;
~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:1329:13: warning: 'exp' may be used uninitialized in this function [-Wmaybe-uninitialized]
exp = exp + temp.exptime;
~~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:1189:83: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
cout<<"Median match price of "<<tempname<<" at time "<<ctstp<<" is $"<<(a+b)/2<<endl;
~~^~~
g++ -g -Wall -O2 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully