- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Cheers,
Alex
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel C++ for linux has to use the same demangling as g++; did you try it? Intel C++ for Windows has to match MSVC++ demangling.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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..
Cheers,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
articles on building boost and boost python with Intel compilers have been posted:
http://software.intel.com/en-us/articles/building-boost-with-intel-c
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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))
Cheers,
Alex

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page