[Libreoffice-commits] .: boost/boost.gcc47679.patch

Caolán McNamara caolan at kemper.freedesktop.org
Wed Mar 2 13:21:28 PST 2011


 boost/boost.gcc47679.patch |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

New commits:
commit 6a7ab034e9f305b517dcc80b669b7eb954b7bbc9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 2 13:18:22 2011 +0000

    silence warning with a specialization

diff --git a/boost/boost.gcc47679.patch b/boost/boost.gcc47679.patch
index 9612346..1c804aa 100644
--- a/boost/boost.gcc47679.patch
+++ b/boost/boost.gcc47679.patch
@@ -13,3 +13,26 @@
  }
  
  template<class OptionalPointee>
+--- misc/boost_1_44_0/boost/spirit/home/classic/core/primitives/impl/numerics.ipp	2011-03-02 12:22:47.222870106 +0000
++++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/primitives/impl/numerics.ipp	2011-03-02 12:22:47.222870106 +0000
+@@ -219,6 +219,20 @@
+             }
+         };
+ 
++        template <int Radix>
++        struct negative_accumulate<unsigned char, Radix>
++        {
++            //  Use this accumulator if number is negative
++            static bool add(unsigned char& n, unsigned digit)
++            {
++                n *= Radix;
++                if (n < digit)
++                    return false;
++                n -= digit;
++                return true;
++            }
++        };
++
+         template <int MaxDigits>
+         inline bool allow_more_digits(std::size_t i)
+         {


More information about the Libreoffice-commits mailing list