We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1133fe commit b95db5dCopy full SHA for b95db5d
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 system library includes 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