From fef2ef3b91a42d59d1a24a3d17dfd13f2debf094 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Dec 2012 12:31:02 +0100 Subject: [PATCH] -Werror,-Wshadow Change-Id: I9828e16c295d3634bd5f0c6910cf28e2f4dde3d2 --- boost/boost_1_44_0-clang-warnings.patch | 39 +++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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 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 + #include + #include // 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 + #include // std::copy + #include +--- 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 + #include + #include // 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 @@