pybind11/docs/advanced
Ralf W. Grosse-Kunstleve 59b45e0abf 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-11-18 10:08:11 -08:00
..
cast Open pybind11 namespace with consistent visility. (#4098) 2022-08-01 11:31:31 -07:00
pycpp docs: Missing semicolons (#4094) 2022-07-27 10:41:57 -07:00
classes.rst Open pybind11 namespace with consistent visility. (#4098) 2022-08-01 11:31:31 -07:00
embedding.rst maint: Add additional linter-related pre-commit hooks (#3337) 2021-10-08 08:38:04 -04:00
exceptions.rst fix: define (non-empty) PYBIND11_EXPORT_EXCEPTION only under macOS. (#4298) 2022-11-18 10:08:11 -08:00
functions.rst chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
misc.rst Clarify GIL documentation (#4057) 2022-09-14 14:00:27 -07:00
smart_ptrs.rst Merge branch 'master' into sh_merge_master 2022-08-07 15:43:25 -07:00