Opened 7 years ago

Closed 6 years ago

#12024 closed Bugs (fixed)

boost test depends on nonexisting abi::__cxa_demangle on android

Reported by: anonymous Owned by: Raffi Enficiaud
Milestone: Boost 1.62.0 Component: test
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description

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();

Change History (4)

comment:1 by Raffi Enficiaud, 6 years ago

Owner: changed from Gennadiy Rozental to Raffi Enficiaud

Under testing on branch topic/trac-12024-nonexisting-cxa_demangle-android

comment:2 by Raffi Enficiaud, 6 years ago

Status: newassigned

comment:3 by Raffi Enficiaud, 6 years ago

Milestone: To Be DeterminedBoost 1.62.0

On next-internal for testing

comment:4 by Raffi Enficiaud, 6 years ago

Resolution: fixed
Status: assignedclosed

Merged to master a38161dd316028d64f9dbf36168095470680a747

Note: See TracTickets for help on using tickets.