Re: [Boost-bugs] [Boost C++ Libraries] #4763: boost/units/detail/utility.hpp uses gcc demangle API which is not available on clang

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4763: boost/units/detail/utility.hpp uses gcc demangle API which is not available on clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-07 06:17:16


#4763: boost/units/detail/utility.hpp uses gcc demangle API which is not available
on clang
-------------------------------+--------------------------------------------
  Reporter: sefi@… | Owner: steven_watanabe
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: units
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by Michel MORIN <mimomorin@…>):

> Attached a patch that enables to use `abi::__cxa_demangle` in libc++
>

 This is a wrong patch.
 libc++ does not provide `__cxa_demangle` (and `cxxabi.h`);
 it's [http://libcxxabi.llvm.org/ libc++abi] that provides them.
 I withdraw the patch.

 In Mac OS X, to build libc++, libc++abi is needed
 (libc++abi is dynamically linked to libc++ and its symbols are re-
 exported).
 So using libc++ in Mac OS X implies that the functionality of libc++abi is
 also available.
 {{{
 #if defined(__GLIBCXX__) || defined(__GLIBCPP__) ||
 (defined(_LIBCPP_VERSION) && defined(__APPLE__))
 }}}
 can detect this environment (and I locally use this code).

 Sorry for the noise.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4763#comment:3>
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:07 UTC