prepare (1/3):
finished
make (2/3):
g++ -g -Wall -O2 -o main.o -c main.cpp
g++ -g -Wall -O2 -o client.o -c client.cpp
g++ -g -Wall -O2 -o equity.o -c equity.cpp
equity.cpp: In member function 'void Stock::printTimeTraveler() const':
equity.cpp:155:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (minSell < 0 || minSell > trade->price) {
~~~~~~~~^~~~~~~~~~~~~~
In file included from equity.h:9:0,
from equity.cpp:2:
median.h: In instantiation of 'Median<TYPE, AVERAGE, COMP>::Median(AVERAGE, COMP) [with TYPE = long unsigned int; AVERAGE = MedianAverage<long unsigned int>; COMP = std::less<long unsigned int>]':
equity.cpp:5:37: required from here
median.h:24:13: warning: 'Median<long unsigned int>::average' will be initialized after [-Wreorder]
AVERAGE average;
^~~~~~~
median.h:22:56: warning: 'std::priority_queue<long unsigned int, std::vector<long unsigned int, std::allocator<long unsigned int> >, std::less<long unsigned int> > Median<long unsigned int>::maxQueue' [-Wreorder]
std::priority_queue<TYPE, std::vector<TYPE>, COMP> maxQueue;
^~~~~~~~
median.h:26:14: warning: when initialized here [-Wreorder]
explicit Median(AVERAGE average = AVERAGE(), COMP compare = COMP()) :
^~~~~~
g++ -g -Wall -O2 -o trading.o -c trading.cpp
g++ -g -Wall -O2 -o main main.o client.o equity.o trading.o
finished
clean (3/3):
finished
all task finished, build successfully