Boost C++ Libraries: Ticket #8461: Name demangling in docstrings broken using Intel Compilers on Linux https://svn.boost.org/trac10/ticket/8461 <p> Hi, </p> <p> I'm using my system's boost_python library (compiled with GCC) whilst developing an extension module. I thought I'd try compiling it with the Intel Compilers, but when I do, docstring signatures show mangled names. </p> <p> e.g. </p> <pre class="wiki">&gt;&gt;&gt; import test_make_list &gt;&gt;&gt; print test_make_list.IntList.__getitem__.__doc__ __getitem__( (object)arg1, (object)arg2) -&gt; object : C++ signature : N5boost6python3api6objectE __getitem__(N5boost6python14back_referenceIRSt4listIiSaIiEEEE,P7_object) </pre><p> It turns out I can fix this by adding "BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE" to the list of preprocessor definitions, but wondered if a fix could be introduced directly into the headers. </p> <p> Not sure how I can test this without recompiling the entirety of boost, but I thought the following macro clause could be added at line 24 of <a href="http://www.boost.org/doc/libs/1_53_0/boost/python/type_id.hpp">&lt;boost/python/type_id.hpp&gt;</a>, to resolve this: </p> <pre class="wiki"> || (defined(__linux) &amp;&amp; defined(__ICC)) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8461 Trac 1.4.3