|
Getting this compile error in CVS
I think the using Old::Path in path.hpp is overriding the namespace
definition.
g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../.. -g -O2 -Wall -MT
mccliquetoption.lo -MD -MP -MF .deps/mccliquetoption.Tpo -c
mccliquetoption.cpp -fPIC -DPIC -o .libs/mccliquetoption.o
In file included from /usr/include/boost/config.hpp:35,
from ../../ql/qldefines.hpp:28,
from ../../ql/Patterns/observable.hpp:27,
from ../../ql/Patterns/lazyobject.hpp:27,
from ../../ql/instrument.hpp:27,
from ../../ql/option.hpp:27,
from ../../ql/Pricers/mccliquetoption.hpp:27,
from mccliquetoption.cpp:20:
/usr/include/boost/config/compiler/gcc.hpp:92:7: warning: #warning
"Unknown compiler version - please run the configure tests and report
the results"
../../ql/MonteCarlo/multipathgenerator.hpp: In member function ‘const
typename QuantLib::New::MultiPathGenerator<GSG>::sample_type&
QuantLib::New::MultiPathGenerator<GSG>::next(bool) const’:
../../ql/MonteCarlo/multipathgenerator.hpp:290: error: ‘class
QuantLib::Old::Path’ has no member named ‘value’
../../ql/MonteCarlo/multipathgenerator.hpp:313: error: ‘class
QuantLib::Old::Path’ has no member named ‘value’
make[3]: *** [mccliquetoption.lo] 错误 1
make[3]: Leaving directory `/home/joe/QuantLib/ql/Pricers'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/joe/QuantLib/ql'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/home/joe/QuantLib/ql'
|