pybind11/include/pybind11
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
..
detail fix: define (non-empty) PYBIND11_EXPORT_EXCEPTION only under macOS. (#4298) 2022-11-18 10:08:11 -08:00
eigen Merge branch 'master' into sh_merge_master 2022-10-30 13:26:32 -07:00
stl feature: support compilers that use std::experimental::filesystem (#3840) 2022-03-31 22:16:10 -07:00
attr.h Fix: 3.11 beta support (#3923) 2022-07-06 16:35:12 -04:00
buffer_info.h Fully-automatic clang-format with include reordering (#3713) 2022-02-10 12:17:07 -08:00
cast.h Merge branch 'master' into sh_merge_master 2022-10-30 13:26:32 -07:00
chrono.h chore: drop Python 3.5 (#3719) 2022-02-11 19:06:16 -05:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Fully-automatic clang-format with include reordering (#3713) 2022-02-10 12:17:07 -08:00
eigen.h First draft of Eigen::Tensor support (#4201) 2022-10-18 16:54:16 -07:00
embed.h embed.h Python 3.11 config.use_environment=1 + PYTHONPATH test (#4119) 2022-08-21 09:44:01 -07:00
eval.h fix: missing move in eval.h (#3775) 2022-03-02 15:25:43 -05:00
functional.h Cleanup casters to release none() to avoid ref counting (#4269) 2022-10-21 12:51:26 -04:00
gil.h Add PYBIND11_SIMPLE_GIL_MANAGEMENT option (cmake, C++ define) (#4216) 2022-10-30 08:57:23 -07:00
iostream.h chore: add err guard to capsule destructor and add a move to iostream (#3958) 2022-05-27 14:32:57 -04:00
numpy.h Words matter updates (#4155) 2022-08-24 07:34:31 -07:00
operators.h Reproducer and fix for issue encountered in smart_holder update. (#4228) 2022-10-09 21:50:35 -07:00
options.h Fully-automatic clang-format with include reordering (#3713) 2022-02-10 12:17:07 -08:00
pybind11.h Merge branch 'master' into sh_merge_master 2022-10-30 13:26:32 -07:00
pytypes.h fix: define (non-empty) PYBIND11_EXPORT_EXCEPTION only under macOS. (#4298) 2022-11-18 10:08:11 -08:00
smart_holder.h Automatic pre-commit run --all-files and clang-tidy changes (NO manual changes). 2022-02-14 19:00:40 -08:00
stl_bind.h Merge branch 'master' into sh_merge_master 2022-04-12 15:48:59 -07:00
stl.h Merge branch 'master' into sh_merge_master 2022-10-30 13:26:32 -07:00
trampoline_self_life_support.h Removing obsolete detail/pragma_warning_block.h 2021-08-14 08:42:38 -07:00