Skip to content

Commit 28081fc

Browse files
committed
Change usecxx11 to use_cxx11_abi for correspondence with _GLIBCXX_USE_CXX11_ABI (similarly to gxx_abi for __GXX_ABI_VERSION).
1 parent 970a7eb commit 28081fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/pybind11/conduit/pybind11_platform_abi_id.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,11 @@
7777
# elif defined(__GXX_ABI_VERSION)
7878
# if __GXX_ABI_VERSION >= 1002 && __GXX_ABI_VERSION < 2000
7979
# if !defined(_GLIBCXX_USE_CXX11_ABI)
80-
# error "UNEXPECTED: _GLIBCXX_USE_CXX11_ABI not defined"
80+
# error "UNEXPECTED: _GLIBCXX_USE_CXX11_ABI not defined: PLEASE REVISE THIS CODE."
8181
# endif
8282
# define PYBIND11_BUILD_ABI \
83-
"_gxx_abi_1xxx_usecxx11_" PYBIND11_PLATFORM_ABI_ID_TOSTRING(_GLIBCXX_USE_CXX11_ABI)
83+
"_gxx_abi_1xxx_use_cxx11_abi_" PYBIND11_PLATFORM_ABI_ID_TOSTRING( \
84+
_GLIBCXX_USE_CXX11_ABI)
8485
# else
8586
# error "Unknown platform or compiler (__GXX_ABI_VERSION): PLEASE REVISE THIS CODE."
8687
# endif

0 commit comments

Comments
 (0)