prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -std=c++11 -o main.o -c main.cpp
main.cpp:86:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
char* const short_options = "vmptg:";
^~~~~~~~
main.cpp: In function 'int main(int, char* const*)':
main.cpp:167:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i =0;i<it->second.traded_price.size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:168:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j =i;j<it->second.traded_price.size();j++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:383:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i =0;i<it->second.traded_price.size();i++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:384:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j =i;j<it->second.traded_price.size();j++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:444:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i =0;i<= ttt.size()-1;i++)
~^~~~~~~~~~~~~~~
main.cpp:449:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0;j<mapEquity[ttt[i]].sell_list_ttt.size();j++) //buy from j
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:451:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0;k<mapEquity[ttt[i]].buy_list_ttt.size();k++) //sell from k
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:426:6: warning: unused variable 'bug' [-Wunused-variable]
int bug = 0;
^~~
main.cpp: In member function 'bool compare_sell::operator()(O, O) const':
main.cpp:40:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In member function 'bool compare_buy::operator()(O, O) const':
main.cpp:50:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
g++ -g -Wall -O2 -std=c++11 -o main main.o
finished
clean (3/3):
finished
all task finished, build successfully