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

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


#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
Resolution: | Keywords:
-----------------------------------+----------------------------------------

Comment (by vvavrychuk@…):

 Patch is

 {{{
 From 69e657661b5d617b189667adf015346821c7297b Mon Sep 17 00:00:00 2001
 From: Vasyl Vavrychuk <vvavrychuk_at_[hidden]>
 Date: Wed, 10 Oct 2012 20:57:50 +0300
 Subject: [PATCH] Boost.Math: support libcxx

 Fixed compilation with libc++.
 ---
  boost/math/tools/config.hpp | 4 ++++
  1 file changed, 4 insertions(+)

 diff --git a/boost/math/tools/config.hpp b/boost/math/tools/config.hpp
 index 907d693..3742ae0 100644
 --- a/boost/math/tools/config.hpp
 +++ b/boost/math/tools/config.hpp
 @@ -99,6 +99,10 @@
  # define BOOST_MATH_USE_C99
  #endif

 +#if defined(_LIBCPP_VERSION)
 +# define BOOST_MATH_USE_C99
 +#endif
 +
  #if defined(__CYGWIN__) || defined(__HP_aCC) || defined(BOOST_INTEL) \
    || defined(BOOST_NO_NATIVE_LONG_DOUBLE_FP_CLASSIFY) \
    || (defined(__GNUC__) && !defined(BOOST_MATH_USE_C99))
 --
 1.7.11.4
 }}}

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