[Libreoffice-commits] core.git: external/boost

Tor Lillqvist tml at collabora.com
Wed Apr 2 07:36:20 PDT 2014


 external/boost/boost.jsonparser.warnings.patch.0 |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit 0978c495da920c12934324c3c662fa94daf95475
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Apr 2 17:30:11 2014 +0300

    WaE: comparison of constant 255 with expression of type 'const char'
    
    Change-Id: Ibe07fc9a61ae8432e92c43ac6ff07c4dc9e6c771

diff --git a/external/boost/boost.jsonparser.warnings.patch.0 b/external/boost/boost.jsonparser.warnings.patch.0
index 4a71b3b..b3d9bbf 100644
--- a/external/boost/boost.jsonparser.warnings.patch.0
+++ b/external/boost/boost.jsonparser.warnings.patch.0
@@ -56,3 +56,14 @@
            m_tr(tr), m_start(m_value.begin())
      {}
 
+--- boost/property_tree/detail/json_parser_write.hpp
++++ boost/property_tree/detail/json_parser_write.hpp
+@@ -33,7 +33,7 @@
+             // We escape everything outside ASCII, because this code can't
+             // handle high unicode characters.
+             if (*b == 0x20 || *b == 0x21 || (*b >= 0x23 && *b <= 0x2E) ||
+-                (*b >= 0x30 && *b <= 0x5B) || (*b >= 0x5D && *b <= 0xFF))
++                (*b >= 0x30 && *b <= 0x5B) || (*b >= 0x5D))
+                 result += *b;
+             else if (*b == Ch('\b')) result += Ch('\\'), result += Ch('b');
+             else if (*b == Ch('\f')) result += Ch('\\'), result += Ch('f');


More information about the Libreoffice-commits mailing list