prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O3 -o p4.o -c p4.cpp
In file included from p4.cpp:16:0:
utility.h: In function 'bool find_match(equity*, order*, bool, bool, int*, int*, int*, int*, std::map<std::__cxx11::basic_string<char>, transfer>*)':
utility.h:128:12: warning: unused variable 'erase_it1' [-Wunused-variable]
bool erase_it1=0;
^~~~~~~~~
utility.h:200:12: warning: unused variable 'erase_it1' [-Wunused-variable]
bool erase_it1=0;
^~~~~~~~~
p4.cpp: In function 'int main(int, char**)':
p4.cpp:152:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<(it1->second.match_price.size()/2);i++){
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:161:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<((it1->second.match_price.size()+1)/2);i++){
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:229:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<(it1->second.match_price.size()/2);i++){
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:238:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<((it1->second.match_price.size()+1)/2);i++){
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
p4.cpp:291:9: warning: variable 'max_sell_id' set but not used [-Wunused-but-set-variable]
int max_sell_id=-1;
^~~~~~~~~~~
p4.cpp:294:9: warning: variable 'max_buy_id' set but not used [-Wunused-but-set-variable]
int max_buy_id=-1;
^~~~~~~~~~
g++ -g -Wall -O3 -o main p4.o
finished
clean (3/3):
finished
all task finished, build successfully