[Boost-bugs] [Boost C++ Libraries] #12024: boost test depends on nonexisting abi::__cxa_demangle on android

Subject: [Boost-bugs] [Boost C++ Libraries] #12024: boost test depends on nonexisting abi::__cxa_demangle on android
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-02-26 13:48:46


#12024: boost test depends on nonexisting abi::__cxa_demangle on android
------------------------------+---------------------
 Reporter: anonymous | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.60.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 execution_monitor.ipp should use boost/core/demangle.hpp instead of
 implementing itself.

 The following patch fixes the problem:

 {{{
 37a38
> #include <boost/core/demangle.hpp>
 185,188d185
 < #if defined(__GNUC__) && !defined(BOOST_NO_TYPEID)
 < # include <cxxabi.h>
 < #endif
 <
 317,323c314
 < #ifdef __GNUC__
 < int status;
 <
 < return abi::__cxa_demangle( typeid(t).name(), 0, 0, &status );
 < #else
 < return typeid(t).name();
 < #endif
 ---
> return boost::core::demangle(typeid(t).name()).c_str();
 }}}

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