2
0
mirror of https://github.com/boostorg/python.git synced 2026-02-02 09:02:15 +00:00

Runtime detection of broken cxxabi::__cxa_demangle versions; based on code contributed by Ult Mundane

[SVN r32296]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2006-01-12 19:12:27 +00:00
parent d10b5e8d1a
commit 19a196493f
2 changed files with 60 additions and 1 deletions

View File

@@ -35,6 +35,13 @@ namespace boost { namespace python {
# define BOOST_PYTHON_TYPE_ID_NAME
# endif
#ifdef BOOST_PYTHON_HAVE_GCC_CP_DEMANGLE
// Runtime detection of broken cxxabi::__cxa_demangle versions,
// to avoid #ifdef clutter.
bool cxxabi_cxa_demangle_is_broken();
#define BOOST_PYTHON_HAVE_CXXABI_CXA_DEMANGLE_IS_BROKEN
#endif
// type ids which represent the same information as std::type_info
// (i.e. the top-level reference and cv-qualifiers are stripped), but
// which works across shared libraries.