Boost C++ Libraries: Ticket #5360: Missing full qualification in boost::math bessel special functions https://svn.boost.org/trac10/ticket/5360 <p> On Ubuntu 10.10 64 bits, the attached code fails to compile. The error is : </p> <p> /usr/include/boost/math/special_functions/detail/bessel_jy.hpp:192: error: ‘(boost::math::policies::discrete_quantile_policy_type)0u’ cannot be used as a function </p> <p> Looks like the following piece of code </p> <p> *p = real(f); *q = imag(f); </p> <p> is not fully qualified enough. </p> <p> Changing them to std::real/std::imag fix the problem tough. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5360 Trac 1.4.3 Joel Falcou Wed, 23 Mar 2011 15:15:31 GMT attachment set https://svn.boost.org/trac10/ticket/5360 https://svn.boost.org/trac10/ticket/5360 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">bm.cpp</span> </li> </ul> <p> Small repro for boost math failure </p> Ticket Joel Falcou Wed, 23 Mar 2011 15:19:59 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5360#comment:1 https://svn.boost.org/trac10/ticket/5360#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> OK, PEBCAK errors. I close this </p> Ticket