[Boost-bugs] [Boost C++ Libraries] #7492: add support of libc++

Subject: [Boost-bugs] [Boost C++ Libraries] #7492: add support of libc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-10 18:06:07


#7492: add support of libc++
----------------------------------+-----------------------------------------
 Reporter: vvavrychuk@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: math
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 Without this change I get compilation error


 {{{
 In file included from
 helmholtz/base/kom/green_func/green_func_helmholtz.cpp:1:
 In file included from
 helmholtz/base/kom/green_func/green_func_helmholtz.hpp:7:
 In file included from
 helmholtz/base/kom/fund_sol/fund_sol_helmholtz.hpp:6:
 In file included from base/base/kom/base/special_functions.hpp:9:
 In file included from base/base/kom/base/special_functions_ooura.hpp:4:
 In file included from
 third_party/boost/boost/math/special_functions/bessel.hpp:17:
 In file included from
 third_party/boost/boost/math/special_functions/detail/bessel_jy.hpp:14:
 In file included from
 third_party/boost/boost/math/special_functions/gamma.hpp:37:
 In file included from
 third_party/boost/boost/math/special_functions/powm1.hpp:14:
 third_party/boost/boost/math/special_functions/expm1.hpp:308:64: error:
 implicit conversion loses floating-point precision: 'double' to 'float'
 [-Werror,-Wconversion]
 inline float expm1(float x, const policies::policy<>&){ return ::expm1(x);
 }
                                                         ~~~~~~ ^~~~~~~~~~
 2 errors generated.
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7492>
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:10 UTC