Re: [Ffts-develop] Re: libCommon
Status: Planning
Brought to you by:
mghiggins
From: s d <sea...@ho...> - 2001-05-19 13:25:16
|
After some more messing around, I found that the object OptionDataFns wouldn't compile, therefore libCommon never got built ( see the snippet below). Looking at OptionDataFns.cpp, it seems that function fabs is never defined. I added #include <cmath>. It now builds. Plan to spend some time playing with it. How did everybody else get this to build? jay common... g++ -fPIC -c CObjectFactory.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 g++ -fPIC -c OptionDataFns.cpp -L/usr/share/pgsql/ -I/usr/include/pgsql/ -L/opt/ffts/FFTS/lib -I/opt/ffts/FFTS/include -ftemplate-depth-36 OptionDataFns.cpp: In function `void FilterOptionQuotes (vector<OptionQuote, allocator<OptionQuote> > &, const Date &, double)': OptionDataFns.cpp:88: warning: choosing `NumericValue<T>::operator T () [with T = double]' over `NumericValue<T>::operator const T () const [with T = double]' OptionDataFns.cpp:88: warning: for conversion from `Double' to `double' OptionDataFns.cpp:88: warning: because conversion sequence for the argument is better OptionDataFns.cpp:106: `fabs' undeclared (first use this function) OptionDataFns.cpp:106: (Each undeclared identifier is reported only once for each function it appears in.) OptionDataFns.cpp:122: warning: choosing `NumericValue<T>::operator T () [with T = double]' over `NumericValue<T>::operator const T () const [with T = double]' OptionDataFns.cpp:122: warning: for conversion from `Double' to `double' OptionDataFns.cpp:122: warning: because conversion sequence for the argument is better make: *** [OptionDataFns.o] Error 1 utils... _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |