summaryrefslogtreecommitdiff
path: root/boost/boost_1_44_0-clang-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'boost/boost_1_44_0-clang-warnings.patch')
-rw-r--r--boost/boost_1_44_0-clang-warnings.patch12
1 files changed, 11 insertions, 1 deletions
diff --git a/boost/boost_1_44_0-clang-warnings.patch b/boost/boost_1_44_0-clang-warnings.patch
index f48910e91074..cf7603adb0a1 100644
--- a/boost/boost_1_44_0-clang-warnings.patch
+++ b/boost/boost_1_44_0-clang-warnings.patch
@@ -97,4 +97,14 @@
}
}
-
+--- misc/boost_1_44_0/boost/random/discard_block.hpp
++++ misc/build/boost_1_44_0/boost/random/discard_block.hpp
+@@ -76,7 +76,7 @@
+
+ result_type min BOOST_PREVENT_MACRO_SUBSTITUTION () const { return (_rng.min)(); }
+ result_type max BOOST_PREVENT_MACRO_SUBSTITUTION () const { return (_rng.max)(); }
+- static bool validation(result_type x) { return true; } // dummy
++ static bool validation(result_type) { return true; } // dummy
+
+ #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE
+