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-01-29 21:03:31


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

Comment (by anonymous):

 I just tried to compile `boost/units/detail/utility.hpp` with clang (trunk
 from monday) and no errors. I think the issue is not clang itself, but the
 C++ standard library used with it: I am using libstdc++ that came with gcc
 4.2.

 But using another standard library does not mean that
 `abi::__cxa_demangle` (the function used by utility.hpp) does not exist,
 as that function is not gcc-specific, but part of the C++ ABI:
 http://www.codesourcery.com/public/cxx-abi/abi.html#demangler

 `__cxa_demangle` is defined in the header file cxxabi.h. Perhaps at build-
 time, bjam should check for the existence of this header file.

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