We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1133fe commit 101a786Copy full SHA for 101a786
include/pybind11/detail/common.h
@@ -323,6 +323,7 @@ PYBIND11_WARNING_POP
323
324
// For libc++, the exceptions should be exported,
325
// otherwise, the exception translation would be incorrect.
326
+// IMPORTANT: This code block must stay BELOW the #include <exception> above (see PR #5390).
327
#if !defined(PYBIND11_EXPORT_EXCEPTION)
328
# if defined(_LIBCPP_EXCEPTION)
329
# define PYBIND11_EXPORT_EXCEPTION PYBIND11_EXPORT
0 commit comments