Login  Register

Re: Compilation problems with SUN CC

Posted by Andreas Spengler-2 on Feb 19, 2009; 10:10am
URL: http://quantlib.414.s1.nabble.com/Compilation-problems-with-SUN-CC-tp12581p12587.html

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


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev