summarylogtreecommitdiffstats
path: root/gcc7.patch
diff options
context:
space:
mode:
authorfrederik2017-06-07 16:58:41 +0200
committerfrederik2017-06-07 16:59:20 +0200
commitebe132fdb69fbea6642ec7b41c5bf690246e41b0 (patch)
treed63e2bea4a7283141250c43c4539c0eaaca3a21a /gcc7.patch
downloadaur-ebe132fdb69fbea6642ec7b41c5bf690246e41b0.tar.gz
initial commit
Diffstat (limited to 'gcc7.patch')
-rw-r--r--gcc7.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc7.patch b/gcc7.patch
new file mode 100644
index 000000000000..1e1171f42358
--- /dev/null
+++ b/gcc7.patch
@@ -0,0 +1,12 @@
+diff --git a/Srcs/jsonlib/jsoncpp.cpp b/Srcs/jsonlib/jsoncpp.cpp
+index c373405..1723253 100644
+--- a/Srcs/jsonlib/jsoncpp.cpp
++++ b/Srcs/jsonlib/jsoncpp.cpp
+@@ -1446,6 +1446,7 @@ bool OurReader::readToken(Token& token) {
+ ok = readStringSingleQuote();
+ break;
+ } // else continue
++ [[gnu::fallthrough]];
+ case '/':
+ token.type_ = tokenComment;
+ ok = readComment();