Opened 2 years ago

Closed 20 months 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:


execution_monitor.ipp should use boost/core/demangle.hpp instead of implementing itself.

The following patch fixes the problem:

> #include <boost/core/demangle.hpp>
< #if defined(__GNUC__) && !defined(BOOST_NO_TYPEID)
< #  include <cxxabi.h>
< #endif
< #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();

Attachments (0)

Change History (4)

comment:1 Changed 21 months ago by Raffi Enficiaud

Owner: changed from Gennadiy Rozental to Raffi Enficiaud

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

comment:2 Changed 21 months ago by Raffi Enficiaud

Status: newassigned

comment:3 Changed 21 months ago by Raffi Enficiaud

Milestone: To Be DeterminedBoost 1.62.0

On next-internal for testing

comment:4 Changed 20 months ago by Raffi Enficiaud

Resolution: fixed
Status: assignedclosed

Merged to master a38161dd316028d64f9dbf36168095470680a747

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Raffi Enficiaud.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.