Skip to content

Commit b95db5d

Browse files
committed
Add a comment
1 parent f1133fe commit b95db5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/detail/common.h

+1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ PYBIND11_WARNING_POP
323323

324324
// For libc++, the exceptions should be exported,
325325
// otherwise, the exception translation would be incorrect.
326+
// IMPORTANT: This code block must stay BELOW the system library includes above (see PR #5390).
326327
#if !defined(PYBIND11_EXPORT_EXCEPTION)
327328
# if defined(_LIBCPP_EXCEPTION)
328329
# define PYBIND11_EXPORT_EXCEPTION PYBIND11_EXPORT

0 commit comments

Comments
 (0)