summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2020-12-09 15:46:23 +0100
committerMarco Trevisan (TreviƱo) <mail@3v1n0.net>2020-12-10 16:22:26 +0100
commit4b675a069171eea3adbbfec1f0cf1270e60ec550 (patch)
treefe6adec118ff0fa7db70db2611b19f6df60d32ac
parent52d30a88fc267f172b7ba6dbcb657f89a81557e7 (diff)
nbis: Disable array-parameter and array-bounds warningsv1.90.6+tod1
NBIS just does weird things and while the array-parameter warning is easy to fix, the other is not trivial. So disable these warnings so that we can still build using newer GCC versions.
-rw-r--r--libfprint/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/libfprint/meson.build b/libfprint/meson.build
index 317e4c2..030e1e6 100644
--- a/libfprint/meson.build
+++ b/libfprint/meson.build
@@ -234,6 +234,8 @@ libnbis = static_library('nbis',
'-Wno-error=redundant-decls',
'-Wno-redundant-decls',
'-Wno-discarded-qualifiers',
+ '-Wno-array-bounds',
+ '-Wno-array-parameter',
]),
install: false)