[Ffts-develop] Re: libCommon
Status: Planning
Brought to you by:
mghiggins
|
From: Mark H. <mgh...@ya...> - 2001-05-20 15:56:32
|
Hmmm... that is odd. It doesn't complain with me for some reason. I'll add that include, though; probably some weird compiler thing. Let me know if you manage to get it running! --- s d <sea...@ho...> wrote: > 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 > ===== ------------------------------------------------------- Mark Higgins, mgh...@ya... http://www.molala.net Opinions expressed herein do not reflect my own views; I haven't had free will since last year when aliens ate my brain. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ |