pybind11/docs
Ralf W. Grosse-Kunstleve b1bd7f2600
fix: define (non-empty) PYBIND11_EXPORT_EXCEPTION only under macOS. (#4298)
Background: #2999, #4105, #4283, #4284

In a nutshell:

* Only macOS actually needs `PYBIND11_EXPORT_EXCEPTION` (#4284).

* Evidently (#4283), under macOS `PYBIND11_EXPORT_EXCEPTION` does not run the risk of introducing ODR violations,

* but evidently (#4283) under Linux it does, in the presumably rare/unusual situation that `RTLD_GLOBAL` is used.

* Windows does no have the equivalent of `RTLD_GLOBAL`, therefore `PYBIND11_EXPORT_EXCEPTION` has no practical benefit, on the contrary, noisy warning suppression pragmas are needed, therefore it is best left empty.
2022-10-31 13:36:26 -04:00
..
_static/css docs: use Furo (#3109) 2022-07-13 10:13:35 -05:00
advanced fix: define (non-empty) PYBIND11_EXPORT_EXCEPTION only under macOS. (#4298) 2022-10-31 13:36:26 -04:00
cmake fix: find_import didn't work properly for classic tools (#2550) 2020-10-05 15:31:00 -04:00
basics.rst Dropping MSVC 2015 (#3722) 2022-02-14 11:36:22 -08:00
benchmark.py chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
benchmark.rst ci: GHA basic format & pre-commit (#2309) 2020-07-20 13:35:21 -04:00
changelog.rst Revert "feat: add entrypoint for cmake modules dir" (#4270) 2022-10-21 17:25:53 -04:00
classes.rst [docs] Fix "Enumerations and internal types" example (#4034) 2022-06-28 12:38:37 -07:00
compiling.rst Docs: No Strip in Debug (#3779) 2022-03-17 11:21:28 -07:00
conf.py docs: use Furo (#3109) 2022-07-13 10:13:35 -05:00
Doxyfile Python 2 removal part 1: tests (C++ code is intentionally ~untouched) (#3688) 2022-02-10 18:28:08 -08:00
faq.rst Dropping MSVC 2015 (#3722) 2022-02-14 11:36:22 -08:00
index.rst fix: chapters in PDF again (#2606) 2020-10-18 14:31:28 -04:00
installing.rst docs: add a note about compiling the example (#2737) 2020-12-24 09:51:36 -05:00
limitations.rst docs: reduce visibility of 3.9.0 warning (#3105) 2021-07-15 15:01:13 -04:00
Makefile took a stab at some documentation 2015-10-13 03:16:44 +02:00
pybind11_vs_boost_python1.png documentation improvements 2016-04-28 15:32:07 +02:00
pybind11_vs_boost_python1.svg Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
pybind11_vs_boost_python2.png documentation improvements 2016-04-28 15:32:07 +02:00
pybind11_vs_boost_python2.svg Much more efficient generation of function signatures, updated docs 2016-01-17 22:31:15 +01:00
pybind11-logo.png docs: use Furo (#3109) 2022-07-13 10:13:35 -05:00
reference.rst feat: reapply fixed version of #3271 (#3293) 2021-09-23 15:06:07 -04:00
release.rst docs: touch up manual release suggestion (#3422) 2021-11-05 22:48:27 -04:00
requirements.txt docs: use Furo (#3109) 2022-07-13 10:13:35 -05:00
upgrade.rst chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00