-Werror,-Wshadow

Change-Id: I9828e16c295d3634bd5f0c6910cf28e2f4dde3d2
This commit is contained in:
Stephan Bergmann
2012-12-14 12:31:02 +01:00
parent 65674e4801
commit fef2ef3b91

View File

@@ -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 @@