Commit ce7b116f authored by Rene Engelhard's avatar Rene Engelhard Committed by Rene Engelhard

Import Debian changes 1.1.0+dfsg-3

rapidjson (1.1.0+dfsg-3) experimental; urgency=medium

  * add upstream patches to fix build with gcc 7 (closes: #873231)
parent e0acdaba
rapidjson (1.1.0+dfsg-3) experimental; urgency=medium
* add upstream patches to fix build with gcc 7 (closes: #873231)
-- Rene Engelhard <rene@debian.org> Sat, 26 Aug 2017 16:49:27 +0000
rapidjson (1.1.0+dfsg-2) experimental; urgency=medium
* make .install even more strict to not install bogus /usr/include/gtest
......
Description: fix build with gcc7
From
https://github.com/miloyip/rapidjson/commit/fe19b7b6016d446722621fb407738209d1a911e8
and
https://github.com/miloyip/rapidjson/commit/cba45fe9de6923b858edb0780e257b7257aa4f7b
Bug-Debian: https://bugs.debian.org/846568
---
Origin: upstream
Forwarded: not-needed
Last-Update: 2017-08-26
--- rapidjson-1.1.0+dfsg.orig/include/rapidjson/internal/regex.h
+++ rapidjson-1.1.0+dfsg/include/rapidjson/internal/regex.h
@@ -29,6 +29,9 @@ RAPIDJSON_DIAG_OFF(implicit-fallthrough)
#ifdef __GNUC__
RAPIDJSON_DIAG_PUSH
RAPIDJSON_DIAG_OFF(effc++)
+#if __GNUC__ >= 7
+RAPIDJSON_DIAG_OFF(implicit-fallthrough)
+#endif
#endif
#ifdef _MSC_VER
disable-valgrind_unittest.diff
no-jsoncheckertest.diff
gcc7.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment