summaryrefslogtreecommitdiffstats
path: root/rapidjson
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-09-22 19:31:44 +0000
committer Eric Hameleers <alien@slackware.com>2020-09-22 19:31:44 +0000
commit8b368c200ef6294a89b0d8937bb72b9a9c8f39cd (patch)
treefc12f92c994fb6c7cd3000149a0c02e5f5443166 /rapidjson
parent86b325b621aae14f0a91d3f3988a739a3d4d7ead (diff)
downloadasb-8b368c200ef6294a89b0d8937bb72b9a9c8f39cd.tar.gz
asb-8b368c200ef6294a89b0d8937bb72b9a9c8f39cd.tar.xz
Initial revision
Diffstat (limited to 'rapidjson')
-rw-r--r--rapidjson/build/patches/rapidjson_gcc7.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/rapidjson/build/patches/rapidjson_gcc7.patch b/rapidjson/build/patches/rapidjson_gcc7.patch
new file mode 100644
index 00000000..d55a4776
--- /dev/null
+++ b/rapidjson/build/patches/rapidjson_gcc7.patch
@@ -0,0 +1,13 @@
+diff -Nur rapidjson-1.1.0.orig/include/rapidjson/internal/regex.h rapidjson-1.1.0/include/rapidjson/internal/regex.h
+--- rapidjson-1.1.0.orig/include/rapidjson/internal/regex.h 2016-08-25 02:59:05.000000000 -0500
++++ rapidjson-1.1.0/include/rapidjson/internal/regex.h 2017-12-27 01:10:17.765316098 -0600
+@@ -29,6 +29,9 @@
+ #ifdef __GNUC__
+ RAPIDJSON_DIAG_PUSH
+ RAPIDJSON_DIAG_OFF(effc++)
++#if __GNUC__ >= 7
++RAPIDJSON_DIAG_OFF(implicit-fallthrough)
++#endif
+ #endif
+
+ #ifdef _MSC_VER