boost/boost_1_44_0-clang-warnings.patch |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

New commits:
commit 185fe1de1f437ec2a60cbab3f30bd505e9d14d36
Author: Tor Lillqvist <t...@iki.fi>
Date:   Mon Nov 26 18:20:10 2012 +0200

    WaE: use of logical '&&' with constant operand
    
    Thanks, Clang. The code was indeed (obviously) wrong.
    
    Is fixed in upstream boost:
    https://svn.boost.org/trac/boost/changeset/72270
    https://svn.boost.org/trac/boost/ticket/5145
    
    Change-Id: I5efbb60a8518e387785f2fb65cd821f1938534cc

diff --git a/boost/boost_1_44_0-clang-warnings.patch 
b/boost/boost_1_44_0-clang-warnings.patch
index df0883c..f48910e 100644
--- a/boost/boost_1_44_0-clang-warnings.patch
+++ b/boost/boost_1_44_0-clang-warnings.patch
@@ -80,3 +80,21 @@
      template<class Token, class Value> 
      static void plus_equal(Token &t, const Value &v) {
        t += v;
+--- misc/boost_1_44_0/boost/uuid/name_generator.hpp
++++ misc/build/boost_1_44_0/boost/uuid/name_generator.hpp
+@@ -72,10 +72,10 @@
+ 
+         for (size_t i=0; i<count; i++) {
+             uint32_t c = characters[i];
+-            sha.process_byte( (c >> 0) && 0xFF );
+-            sha.process_byte( (c >> 8) && 0xFF );
+-            sha.process_byte( (c >> 16) && 0xFF );
+-            sha.process_byte( (c >> 24) && 0xFF );
++            sha.process_byte( (c >> 0) & 0xFF );
++            sha.process_byte( (c >> 8) & 0xFF );
++            sha.process_byte( (c >> 16) & 0xFF );
++            sha.process_byte( (c >> 24) & 0xFF );
+         }
+     }
+     
+
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to