Does the Intel Compiler suite provide a public function for name demangling?
GCC provides the abi::__cxa_demangle function specifically for this purpose. Is there an equivalent provided for the Intel compilers?
Thanks for the reply. Okay, it must be a problem in the library I'm using then..
Boost Python uses demangling to generate docstrings for function objects, but it doesn't work when using the Intel compiler, on Linux at least. The Boost headers must have some preprocessor macros that cause the discrepancy..
articles on building boost and boost python with Intel compilers have been posted:
but you haven't given enough information to know whether these could answer your questions. I don't even know why you would follow such a track for boost python.
Ah no! Just lost a post I spent 20 minutes writing!
Don't have time to repeat everything I just wrote, but basically what worked for me was to compile with the preprocessor definition "BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE".
Hopefully the fix will be as simple as inserting the following line (24) to <boost/python/type_id.hpp>:-
|| (defined(__linux) && defined(__ICC))