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

Caolán McNamara caolanm at redhat.com
Thu May 12 10:37:12 UTC 2016


 external/boost/fallthrough.patch.0 |   10 ++++++++++
 1 file changed, 10 insertions(+)

New commits:
commit eacea16a6ca4c6b38c28de1aa1dec884f48042d9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu May 12 11:36:31 2016 +0100

    have a stab at fixing the -Wimplicit-fallthrough in json_parser
    
    Change-Id: I2e6909cd804159a3540de4eb8ddecc1bd9131457

diff --git a/external/boost/fallthrough.patch.0 b/external/boost/fallthrough.patch.0
index 02b09dc..ed9c83b 100644
--- a/external/boost/fallthrough.patch.0
+++ b/external/boost/fallthrough.patch.0
@@ -32,3 +32,13 @@
          case 'u':
          case 'd':
          case 'i':
+--- ./boost/property_tree/detail/json_parser/standard_callbacks.hpp
++++ ./boost/property_tree/detail/json_parser/standard_callbacks.hpp
+@@ -117,6 +117,7 @@
+             }
+             case object:
+                 assert(false); // must start with string, i.e. call new_value
++                BOOST_FALLTHROUGH;
+             case key: {
+                 l.t->push_back(std::make_pair(key_buffer, Ptree()));
+                 l.k = object;


More information about the Libreoffice-commits mailing list