Skip to content

Commit 0987a87

Browse files
committed
update docs
1 parent 4a08d26 commit 0987a87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/advanced/exceptions.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ section.
164164
may be explicitly (re-)thrown to delegate it to the other,
165165
previously-declared existing exception translators.
166166

167+
Libc++ `behaves differently <https://stackoverflow.com/questions/19496643/using-clang-fvisibility-hidden-and-typeinfo-and-type-erasure/28827430>`_
168+
with ``-fvisibility=hidden``. So you'll need to explicitly export exceptions who'll be used across ABI boundaries as ``tests/test_exceptions.h``.
169+
167170
.. _handling_python_exceptions_cpp:
168171

169172
Handling exceptions from Python in C++

0 commit comments

Comments
 (0)