blob: a1c43c275c04d0a1408ceab89bb3bf4926f330dc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}
|