You are not logged in.
Dear Archers
While trying to build the Quantlib package from AUR ,I get the following error:
BermudanSwaption.Tpo" -c -o BermudanSwaption.o BermudanSwaption.cpp; \
then mv -f ".deps/BermudanSwaption.Tpo" ".deps/BermudanSwaption.Po"; else rm -f ".deps/BermudanSwaption.Tpo"; exit 1; fi
In file included from ../../ql/math/interpolations/all.hpp:18:0,
from ../../ql/math/all.hpp:31,
from ../../ql/quantlib.hpp:46,
from BermudanSwaption.cpp:22:
../../ql/math/interpolations/multicubicspline.hpp:276:33: error: reference 'y2_' cannot be declared 'mutable' [-fpermissive]
../../ql/math/interpolations/multicubicspline.hpp:277:34: error: reference 'v_' cannot be declared 'mutable' [-fpermissive]
../../ql/math/interpolations/multicubicspline.hpp:336:33: error: reference 'y2_' cannot be declared 'mutable' [-fpermissive]
../../ql/math/interpolations/multicubicspline.hpp:337:34: error: reference 'v_' cannot be declared 'mutable' [-fpermissive]
../../ql/math/interpolations/multicubicspline.hpp:337:39: error: reference 'v1_' cannot be declared 'mutable' [-fpermissive]
../../ql/math/interpolations/multicubicspline.hpp:337:45: error: reference 'v2_' cannot be declared 'mutable' [-fpermissive]
make[2]: *** [BermudanSwaption.o] Error 1Any suggestions would be appreciated.
Offline
https://bugs.launchpad.net/ubuntu/+sour … bug/770950
http://www.mail-archive.com/debian-bugs … 98780.html
there are some better explanations of what it means, but it looks like using -fpermissive right now would work,
also, reporting this upstream would probably be the best and getting their patch applied would be ideal.
Offline
Thanks for the reply,
I added -fpermissive to CXXFLAGS in /etc/makepkg.conf and I could build the package,
Although the warnings are still there.
Eventually I reported a bug to https://sourceforge.net/projects/quantlib/develop
Offline
great news!
just as a reference, here is the link to the actual bug report:
http://sourceforge.net/tracker/index.ph … tid=112740
Offline