|
From: Andreas S. <an...@sp...> - 2009-02-19 10:10:18
|
Ok, > I looked up this in the Sun compiler C++ user reference - and will try > it out tomorrow: removing the "-template=wholeclass" switch now takes me through to the experimental subdir and dies at fdmstepconditioncomposite.cpp: libtool: compile: CC -DHAVE_CONFIG_H -I. -I. -I../../../ql -I../../.. -I../../.. -I/home/spenglan/local/include/boost-1_38 -erroff=wvarhidemem,hidevf,hidevfinvb,wbadinitl,badargtypel2w -errtags=yes -KPIC -features=rtti -instances=global -fast -library=Cstd,iostream,no%stlport4,Crun -xarch=v8plusa -fsimple=1 -mt -Drindex=rindex -Dindex=index -D__solaris_sparc__ -c fdmstepconditioncomposite.cpp -KPIC -DPIC -o .libs/fdmstepconditioncomposite.o "../../../ql/math/array.hpp", line 544: Warning (Anachronism), badargtype2w: Formal argument x of type double(*)(double) in call to std::ptr_fun<double, double>(double(*)(double)) is being passed extern "C" double(*)(double). "../../../ql/math/array.hpp", line 551: Warning (Anachronism), badargtype2w: Formal argument x of type double(*)(double) in call to std::ptr_fun<double, double>(double(*)(double)) is being passed extern "C" double(*)(double). "../../../ql/math/array.hpp", line 558: Warning (Anachronism), badargtype2w: Formal argument x of type double(*)(double) in call to std::ptr_fun<double, double>(double(*)(double)) is being passed extern "C" double(*)(double). "../../../ql/math/array.hpp", line 565: Warning (Anachronism), badargtype2w: Formal argument x of type double(*)(double) in call to std::ptr_fun<double, double>(double(*)(double)) is being passed extern "C" double(*)(double). "fdmstepconditioncomposite.cpp", line 37: Error, nomatchoverin: Could not find a match for std::vector<double>::vector(__rwstd::__rb_tree<double, double, __rwstd::__ident<double, double>, std::less<double>, std::allocator<double>>::const_iterator, __rwstd::__rb_tree<double, double, __rwstd::__ident<double, double>, std::less<double>, std::allocator<double>>::const_iterator) needed in QuantLib::FdmStepConditionComposite::FdmStepConditionComposite(const std::list<std::vector<double> >&, const std::list<boost::shared_ptr<QuantLib::StepCondition<QuantLib::Array>> >&). 1 Error(s) and 4 Warning(s) detected. I am a bit at my wits end here... Would it perhaps be possible to disable experimental code in the first place? Rgds, Andreas |