[Libreoffice-commits] .: boost/boost.4713.warnings.patch

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Mon Jul 25 16:03:56 PDT 2011


 boost/boost.4713.warnings.patch |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 54253927690b1780054d98716909d8bbe0adbefa
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Mon Jul 25 17:57:58 2011 -0500

    supress unused variable warning in ptr_sequence_adapater.hpp

diff --git a/boost/boost.4713.warnings.patch b/boost/boost.4713.warnings.patch
index fe18ab7..df76947 100644
--- a/boost/boost.4713.warnings.patch
+++ b/boost/boost.4713.warnings.patch
@@ -45,6 +45,14 @@
              }
          }
  
+@@ -671,6 +671,7 @@
+         void range_check_impl( iterator first, iterator last,
+                                std::random_access_iterator_tag )
+         {
++            (void)first; (void)last;
+             BOOST_ASSERT( first <= last && "out of range unique()/erase_if()" );
+             BOOST_ASSERT( this->begin() <= first && "out of range unique()/erase_if()" );
+             BOOST_ASSERT( last <= this->end() && "out of range unique()/erase_if)(" );             
 --- misc/boost_1_44_0/boost/spirit/home/classic/error_handling/exceptions.hpp	2010-04-07 02:41:42.000000000 +0200
 +++ misc/build/boost_1_44_0/boost/spirit/home/classic/error_handling/exceptions.hpp	2011-02-04 16:39:19.000000000 +0100
 @@ -222,9 +222,9 @@


More information about the Libreoffice-commits mailing list