summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-23 10:20:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-23 10:20:25 +0200
commit7ba3d14686c44f1c02d3d59d7d478d3c7ff50ea4 (patch)
treef5ccc0b712ff36dc1ba7ea9a72ce47d46ea80af7
parent474d5e7e3a9c9d62bf29154c531a112d996cd480 (diff)
New -Werror=unused-local-typedefs in Boost 1.54
Change-Id: Ie1b079c0e8f431d7a48f225b18be2b96fd20e85e
-rw-r--r--boost/boost.wunused.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
index 8a7cab40f2a3..ddffa045ba29 100644
--- a/boost/boost.wunused.patch
+++ b/boost/boost.wunused.patch
@@ -1,3 +1,33 @@
+--- foo/foo/foo/boost/math/special_functions/airy.hpp
++++ foo/foo/foo/boost/math/special_functions/airy.hpp
+@@ -340,13 +340,6 @@
+ inline T airy_ai_zero(unsigned m, const Policy& pol)
+ {
+ BOOST_FPU_EXCEPTION_GUARD
+- typedef typename policies::evaluation<T, Policy>::type value_type;
+- typedef typename policies::normalise<
+- Policy,
+- policies::promote_float<false>,
+- policies::promote_double<false>,
+- policies::discrete_quantile<>,
+- policies::assert_undefined<> >::type forwarding_policy;
+ BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type.");
+ return policies::checked_narrowing_cast<T, Policy>(detail::airy_ai_zero_imp<T>(m, pol), "boost::math::airy_ai_zero<%1%>(unsigned)");
+ }
+@@ -388,13 +381,6 @@
+ inline T airy_bi_zero(unsigned m, const Policy& pol)
+ {
+ BOOST_FPU_EXCEPTION_GUARD
+- typedef typename policies::evaluation<T, Policy>::type value_type;
+- typedef typename policies::normalise<
+- Policy,
+- policies::promote_float<false>,
+- policies::promote_double<false>,
+- policies::discrete_quantile<>,
+- policies::assert_undefined<> >::type forwarding_policy;
+ BOOST_STATIC_ASSERT_MSG(false == std::numeric_limits<T>::is_integer, "Airy return type must be a floating-point type.");
+ return policies::checked_narrowing_cast<T, Policy>(detail::airy_bi_zero_imp<T>(m, pol), "boost::math::airy_bi_zero<%1%>(unsigned)");
+ }
--- foo/foo/foo/boost/multi_array/base.hpp
+++ foo/foo/foo/boost/multi_array/base.hpp
@@ -501,6 +501,7 @@