From 94f8b9e2d4bcdf8d9f105036c879c3290f7b9429 Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Wed, 26 Jun 2024 18:19:20 +0000 Subject: [PATCH] Add 'see #5200' --- include/pybind11/detail/internals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h index a7514af19b..e61c1687fc 100644 --- a/include/pybind11/detail/internals.h +++ b/include/pybind11/detail/internals.h @@ -152,7 +152,7 @@ using instance_map = std::unordered_multimap; struct instance_map_shard { std::mutex mutex; instance_map registered_instances; - // alignas(64) would be better, but causes compile errors in macOS before 10.14 + // alignas(64) would be better, but causes compile errors in macOS before 10.14 (see #5200) char padding[64 - (sizeof(std::mutex) + sizeof(instance_map)) % 64]; };