Bugs item #3307791, was opened at 2011-05-26 12:37
Message generated for change (Comment added) made by benyam You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3307791&group_id=12740 Please 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: Closed >Resolution: Duplicate 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 ---------------------------------------------------------------------- >Comment By: charas (benyam) Date: 2011-06-24 00:24 Message: The issue is now resolved after upgrading to the latest version thanks for the replies ---------------------------------------------------------------------- Comment By: Fahad Khan (fak98) Date: 2011-06-22 20:18 Message: Looks like this issue was fixed by http://quantlib.svn.sourceforge.net/viewvc/quantlib/trunk/QuantLib/ql/math/interpolations/multicubicspline.hpp?r1=17506&r2=17505&pathrev=17506 There are no other mutable references in that file, or anywhere else in the source tree that I can find. This bug should be closed. ---------------------------------------------------------------------- Comment By: Hong Yu (hyu9910) Date: 2011-06-22 19:38 Message: I will be interested to help; however, I currently do not have sufficient computer space to install Fedora. So if you have Fedora and can let me access via SSH/SFTP etc., I will be happy to help tracing. My contact is: <[hidden email]>, or, SourceForge account 'hyu9910'. ---------------------------------------------------------------------- Comment By: Fahad Khan (fak98) Date: 2011-06-22 03:37 Message: I don't get any such issues on Fedora 15. Both on QuantLib-1.1 and trunk $ gcc --version gcc (GCC) 4.6.0 20110509 (Red Hat 4.6.0-7) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112740&aid=3307791&group_id=12740 ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _______________________________________________ QuantLib-dev mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-dev |
Free forum by Nabble | Edit this page |