[Boost-bugs] [Boost C++ Libraries] #5360: Missing full qualification in boost::math bessel special functions

Subject: [Boost-bugs] [Boost C++ Libraries] #5360: Missing full qualification in boost::math bessel special functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-23 15:15:03


#5360: Missing full qualification in boost::math bessel special functions
--------------------------+-------------------------------------------------
 Reporter: jfalcou | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.47.0 | Component: math
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 On Ubuntu 10.10 64 bits, the attached code fails to compile.
 The error is :

 /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

 Looks like the following piece of code

 *p = real(f);
 *q = imag(f);

 is not fully qualified enough.

 Changing them to std::real/std::imag fix the problem tough.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5360>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC