summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boost/boost.wunused.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
index 89abb5372ec4..f305b4f2d0e0 100644
--- a/boost/boost.wunused.patch
+++ b/boost/boost.wunused.patch
@@ -1,3 +1,13 @@
+--- foo/foo/foo/boost/math/special_functions/fpclassify.hpp
++++ foo/foo/foo/boost/math/special_functions/fpclassify.hpp
+@@ -100,6 +100,7 @@
+ #ifdef isnan
+ return isnan(t);
+ #elif defined(BOOST_MATH_DISABLE_STD_FPCLASSIFY) || !defined(BOOST_HAS_FPCLASSIFY)
++ (void) t;
+ return false;
+ #else // BOOST_HAS_FPCLASSIFY
+ return (BOOST_FPCLASSIFY_PREFIX fpclassify(t) == (int)FP_NAN);
--- foo/foo/foo/boost/unordered/detail/table.hpp
+++ foo/foo/foo/boost/unordered/detail/table.hpp
@@ -458,6 +458,7 @@
@@ -8,4 +18,3 @@
BOOST_ASSERT(node_alloc() == other.node_alloc());
}
-