We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_GLIBCXX_USE_CXX11_ABI
1 parent 476c322 commit 271720fCopy full SHA for 271720f
include/pybind11/conduit/pybind11_platform_abi_id.h
@@ -75,8 +75,10 @@
75
# elif defined(_LIBCPP_ABI_VERSION) // https://libcxx.llvm.org/DesignDocs/ABIVersioning.html
76
# define PYBIND11_BUILD_ABI "_abi" PYBIND11_PLATFORM_ABI_ID_TOSTRING(_LIBCPP_ABI_VERSION)
77
# elif defined(__GXX_ABI_VERSION)
78
-# if __GXX_ABI_VERSION >= 1002 && __GXX_ABI_VERSION < 2000 \
79
- && defined(_GLIBCXX_USE_CXX11_ABI)
+# if __GXX_ABI_VERSION >= 1002 && __GXX_ABI_VERSION < 2000
+# if !defined(_GLIBCXX_USE_CXX11_ABI)
80
+# error "UNEXPECTED: _GLIBCXX_USE_CXX11_ABI not defined"
81
+# endif
82
# define PYBIND11_BUILD_ABI \
83
"_gxx_abi_1xxx_usecxx11_" PYBIND11_PLATFORM_ABI_ID_TOSTRING(_GLIBCXX_USE_CXX11_ABI)
84
# else
0 commit comments