I'm using version 1.6.1.
Next time I have to remember to mention that. Very well spotted!
Thanks a lot :-)
Hello Richard,this should have been fixed back in version 1.6.2. What version are you using?LuigiOn Tue, Jan 19, 2016 at 5:04 AM Richard Gomes <[hidden email]> wrote:Hello,
I've built Boost 1.60.0 and installed it under /usr/local.
Then I've tried to build QuantLib like this:
./configure --prefix=/usr/local --with-boost-include=/usr/local/include
--with-boost-lib=/usr/local/lib
... and after 2 hours I see this :-( :
garch.cpp: In static member function ‘static void
GARCHTest::testCalibration()’:
garch.cpp:85:39: error: reference to ‘tolerance’ is ambiguous
CHECK(calibrated, cgarch1, alpha, tolerance);
^
garch.cpp:58:54: note: in definition of macro ‘CHECK’
if (std::fabs(results.member - garch.member()) > tolerance) { \
^
garch.cpp:54:17: note: candidates are: QuantLib::Real {anonymous}::tolerance
static Real tolerance = 1e-6;
^
In file included from /usr/local/include/boost/test/tools/fpc_op.hpp:19:0,
from /usr/local/include/boost/test/test_tools.hpp:54,
from /usr/local/include/boost/test/unit_test.hpp:18,
from garch.hpp:23,
from garch.cpp:20:
So, seems like it's confusing ``tolerance`` defined in garch.cpp with
another ``tolerance`` declared somewhere else.
Thoughts?
Thanks a lot,
--
Richard Gomes
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Free forum by Nabble | Disable Popup Ads | Edit this page |