summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-12-14 12:31:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-12-14 12:31:16 +0100
commitfef2ef3b91a42d59d1a24a3d17dfd13f2debf094 (patch)
treed36d8eb15cd05f90601d9ce7dba372265afef993 /boost
parent65674e4801cd5eac58f899d34f8e34a65532633b (diff)
-Werror,-Wshadow
Change-Id: I9828e16c295d3634bd5f0c6910cf28e2f4dde3d2
Diffstat (limited to 'boost')
-rw-r--r--boost/boost_1_44_0-clang-warnings.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/boost/boost_1_44_0-clang-warnings.patch b/boost/boost_1_44_0-clang-warnings.patch
index cf7603adb0a1..d5772057970e 100644
--- a/boost/boost_1_44_0-clang-warnings.patch
+++ b/boost/boost_1_44_0-clang-warnings.patch
@@ -80,6 +80,45 @@
template<class Token, class Value>
static void plus_equal(Token &t, const Value &v) {
t += v;
+--- misc/boost_1_44_0/boost/random/lagged_fibonacci.hpp
++++ misc/build/boost_1_44_0/boost/random/lagged_fibonacci.hpp
+@@ -16,6 +16,10 @@
+ #ifndef BOOST_RANDOM_LAGGED_FIBONACCI_HPP
+ #define BOOST_RANDOM_LAGGED_FIBONACCI_HPP
+
++#if defined __GNUC__
++#pragma GCC system_header
++#endif
++
+ #include <boost/config/no_tr1/cmath.hpp>
+ #include <iostream>
+ #include <algorithm> // std::max
+--- misc/boost_1_44_0/boost/random/shuffle_output.hpp
++++ misc/build/boost_1_44_0/boost/random/shuffle_output.hpp
+@@ -16,6 +16,10 @@
+ #ifndef BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
+ #define BOOST_RANDOM_SHUFFLE_OUTPUT_HPP
+
++#if defined __GNUC__
++#pragma GCC system_header
++#endif
++
+ #include <iostream>
+ #include <algorithm> // std::copy
+ #include <cassert>
+--- misc/boost_1_44_0/boost/random/subtract_with_carry.hpp
++++ misc/build/boost_1_44_0/boost/random/subtract_with_carry.hpp
+@@ -16,6 +16,10 @@
+ #ifndef BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
+ #define BOOST_RANDOM_SUBTRACT_WITH_CARRY_HPP
+
++#if defined __GNUC__
++#pragma GCC system_header
++#endif
++
+ #include <boost/config/no_tr1/cmath.hpp>
+ #include <iostream>
+ #include <algorithm> // std::equal
--- misc/boost_1_44_0/boost/uuid/name_generator.hpp
+++ misc/build/boost_1_44_0/boost/uuid/name_generator.hpp
@@ -72,10 +72,10 @@