[Libreoffice-commits] core.git: boost/boost.wunused.patch

Stephan Bergmann sbergman at redhat.com
Fri Aug 23 01:20:49 PDT 2013


 boost/boost.wunused.patch |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

New commits:
commit 7ba3d14686c44f1c02d3d59d7d478d3c7ff50ea4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Aug 23 10:20:25 2013 +0200

    New -Werror=unused-local-typedefs in Boost 1.54
    
    Change-Id: Ie1b079c0e8f431d7a48f225b18be2b96fd20e85e

diff --git a/boost/boost.wunused.patch b/boost/boost.wunused.patch
index 8a7cab4..ddffa04 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 @@


More information about the Libreoffice-commits mailing list