Bugs item #3307791, was opened at 2011-05-26 12:37
Message generated for change (Tracker Item Submitted) made by benyam
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3307791&group_id=12740Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: charas (benyam)
Assigned to: Nobody/Anonymous (nobody)
Summary: g++ complains about mutable variables
Initial Comment:
While building a package for quantlib on archlinux i got the following warning and error
reference 'y2_' cannot be declared 'mutable' [-fpermissive]
../ql/math/interpolations/multicubicspline.hpp:277:34: warning: reference 'v_' cannot be declared 'mutable' [-fpermissive]
../ql/math/interpolations/multicubicspline.hpp:336:33: warning: reference 'y2_' cannot be declared 'mutable' [-fpermissive]
../ql/math/interpolations/multicubicspline.hpp:337:34: warning: reference 'v_' cannot be declared 'mutable' [-fpermissive]
../ql/math/interpolations/multicubicspline.hpp:337:39: warning: reference 'v1_' cannot be declared 'mutable' [-fpermissive]
../ql/math/interpolations/multicubicspline.hpp:337:45: warning: reference 'v2_' cannot be declared 'mutable' [-fpermissive]
make[2]: *** [BermudanSwaption.o] Error 1
After compiling with -fpermissive I could get it compiled but the warnings are still there whenever the compiler encounters
the mutable variables.
Thanks for Quantlib
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3307791&group_id=12740------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev