Boost C++ Libraries: Ticket #6773: Add cxxabi.h detection code for clang in boost/units/detail/utility.hpp https://svn.boost.org/trac10/ticket/6773 <p> <code>boost::units::detail::demangle</code> does not demangle names on clang with libc++ even when <code>cxxabi.h</code> is available. Attached a patch to add <code>cxxabi.h</code> detection code for clang. This allows <code>boost::units::detail::demangle</code> to use <code>abi::__cxa_demangle</code> on clang when <code>cxxabi.h</code> is available. </p> <p> The patch uses clang's <code>__has_include</code> macro to detect <code>cxxabi.h</code>. This macro checks the existence of a header file. For reference, here is the link to <code>__has_include</code> documentation: <a class="ext-link" href="http://clang.llvm.org/docs/LanguageExtensions.html#has_include"><span class="icon">​</span>http://clang.llvm.org/docs/LanguageExtensions.html#has_include</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6773 Trac 1.4.3 Michel Morin Sat, 07 Apr 2012 00:52:20 GMT attachment set https://svn.boost.org/trac10/ticket/6773 https://svn.boost.org/trac10/ticket/6773 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">units_detail_utility.patch</span> </li> </ul> <p> A patch for <code>boost/units/detail/utility.hpp</code> to add <code>cxxabi.h</code> detection code for clang. </p> Ticket Andrey Semashev Wed, 11 Jun 2014 18:54:48 GMT <link>https://svn.boost.org/trac10/ticket/6773#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6773#comment:1</guid> <description> <p> I believe the ticket can be closed as soon as <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/10116" title="#10116: Patches: Port to Boost.Core demangle() (closed: fixed)">#10116</a> is closed. Boost.Core implementation has support for clang. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jürgen Hunold</dc:creator> <pubDate>Wed, 05 Nov 2014 09:27:38 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/6773#comment:2 https://svn.boost.org/trac10/ticket/6773#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Steven Watanabe</span> to <span class="trac-author">Jürgen Hunold</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Jürgen Hunold Wed, 05 Nov 2014 09:27:47 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/6773#comment:3 https://svn.boost.org/trac10/ticket/6773#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.57.0</span> </li> </ul> Ticket