summaryrefslogtreecommitdiff
path: root/boost
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-11-01 23:26:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-11-02 00:20:56 +0000
commit069e4f80333b5d4027d91d334bc8dae6f5a68533 (patch)
treeec97245c8efe1ecb2643ec1c429e88663716c497 /boost
parent157b804ba1dad4b857bd723c454ab907b623a980 (diff)
WaE: extra clang warnings
Change-Id: I69b105c39f67372331910b6957214d62e1f3818c
Diffstat (limited to 'boost')
-rw-r--r--boost/boost.6397.warnings.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/boost/boost.6397.warnings.patch b/boost/boost.6397.warnings.patch
index 380dfbc57264..c544d54e3006 100644
--- a/boost/boost.6397.warnings.patch
+++ b/boost/boost.6397.warnings.patch
@@ -336,3 +336,37 @@
std::transform(new_array.index_base_list_.begin(),
new_array.index_base_list_.end(),
+--- misc/boost_1_44_0/boost/random/mersenne_twister.hpp
++++ misc/build/boost_1_44_0/boost/random/mersenne_twister.hpp
+@@ -195,16 +195,16 @@
+ }
+ #endif
+
+- friend bool operator==(const mersenne_twister& x, const mersenne_twister& y)
++ friend bool operator==(const mersenne_twister& x_, const mersenne_twister& y_)
+ {
+ for(int j = 0; j < state_size; ++j)
+- if(x.compute(j) != y.compute(j))
++ if(x_.compute(j) != y_.compute(j))
+ return false;
+ return true;
+ }
+
+- friend bool operator!=(const mersenne_twister& x, const mersenne_twister& y)
+- { return !(x == y); }
++ friend bool operator!=(const mersenne_twister& x_, const mersenne_twister& y_)
++ { return !(x_ == y_); }
+ #else
+ // Use a member function; Streamable concept not supported.
+ bool operator==(const mersenne_twister& rhs) const
+--- misc/boost_1_44_0/boost/uuid/uuid_io.hpp
++++ misc/build/boost_1_44_0/boost/uuid/uuid_io.hpp
+@@ -59,7 +59,7 @@
+ }
+
+ if (flags & std::ios_base::left) {
+- for (std::streamsize i=uuid_width; i<width; i++) {
++ for (std::streamsize s=uuid_width; s<width; ++s) {
+ os << fill;
+ }
+ }