diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-10-23 00:25:40 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-10-23 11:15:09 +0300 |
commit | eb016138e817d686795e1902a7a295d93639da27 (patch) | |
tree | 81f9f816c2f89c72e0ef772f5ffa215ee3012e5f /boost | |
parent | 40e38fd6b1a54decc9de5e792b75a36dc125abcc (diff) |
Apple's Clang 4.1 does not have -Wself-assign-field
Change-Id: Iac87cae6e9ee0e4efa07f64903f8789fa47869cc
Diffstat (limited to 'boost')
-rw-r--r-- | boost/boost_1_44_0-clang-warnings.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/boost_1_44_0-clang-warnings.patch b/boost/boost_1_44_0-clang-warnings.patch index c1b4f0ae894a..b9249c07c83c 100644 --- a/boost/boost_1_44_0-clang-warnings.patch +++ b/boost/boost_1_44_0-clang-warnings.patch @@ -15,14 +15,14 @@ { BOOST_CONCEPT_USAGE(Assignable) { #if !defined(_ITERATOR_) // back_insert_iterator broken for VC++ STL -+#if defined __clang__ ++#if defined __clang__ && !defined(__APPLE__) +#if __clang_major__ == 3 && __clang_minor__ >= 2 || __clang_major__ > 3 +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wself-assign-field" +#endif +#endif a = a; // require assignment operator -+#if defined __clang__ ++#if defined __clang__ && !defined(__APPLE__) +#if __clang_major__ == 3 && __clang_minor__ >= 2 || __clang_major__ > 3 +#pragma clang diagnostic pop +#endif |