From 2fcafe99c534842ed34efb6794458c6b8a8838ed Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 2 Mar 2011 13:18:22 +0000 Subject: silence warning with a specialization --- boost/boost.gcc47679.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'boost/boost.gcc47679.patch') diff --git a/boost/boost.gcc47679.patch b/boost/boost.gcc47679.patch index 961234673f40..1c804aaa998c 100644 --- a/boost/boost.gcc47679.patch +++ b/boost/boost.gcc47679.patch @@ -13,3 +13,26 @@ } template +--- 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 ++ struct negative_accumulate ++ { ++ // 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 + inline bool allow_more_digits(std::size_t i) + { -- cgit