diff options
author | robot-piglet <[email protected]> | 2025-03-12 20:46:53 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-03-12 20:56:57 +0300 |
commit | 0225cf80af14a18b60c5f52e353d238c671a5fab (patch) | |
tree | 1f06b3bc57a01aeecdab6c21317bbfa0af79c97f /contrib/restricted/boost/proto/patches/0003-xcode-workaround.patch | |
parent | e8b9bf4693cd4cb2d0124ad3e1545568a2023023 (diff) |
Intermediate changes
commit_hash:9238849c63346221a3ce13aa39095edcf1e96aeb
Diffstat (limited to 'contrib/restricted/boost/proto/patches/0003-xcode-workaround.patch')
-rw-r--r-- | contrib/restricted/boost/proto/patches/0003-xcode-workaround.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/restricted/boost/proto/patches/0003-xcode-workaround.patch b/contrib/restricted/boost/proto/patches/0003-xcode-workaround.patch new file mode 100644 index 00000000000..a1c43c275c0 --- /dev/null +++ b/contrib/restricted/boost/proto/patches/0003-xcode-workaround.patch @@ -0,0 +1,20 @@ +--- a/include/boost/proto/expr.hpp (index) ++++ b/include/boost/proto/expr.hpp (working tree) +@@ -132,7 +132,7 @@ namespace boost { namespace proto + // actually defined: + #include <boost/proto/detail/basic_expr.hpp> + +- #if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 ++ #if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 && !defined(__apple_build_version__) + #pragma GCC diagnostic push + // The warning cannot be fixed for aggregates + // Sadly, GCC currently emits the warning at the use location: +@@ -144,7 +144,7 @@ namespace boost { namespace proto + // actually defined: + #include <boost/proto/detail/expr.hpp> + +- #if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 ++ #if defined(__GNUC__) && __GNUC__ >= 9 || defined(__clang__) && __clang_major__ >= 10 && !defined(__apple_build_version__) + #pragma GCC diagnostic pop + #endif + } |