]>
Commit | Line | Data |
---|---|---|
cbb48e0e JR |
1 | From 2d10d864d8bc4b952cf412f6e18e44412dba759a Mon Sep 17 00:00:00 2001 |
2 | From: Benjamin Berg <bberg@redhat.com> | |
3 | Date: Wed, 9 Dec 2020 15:46:23 +0100 | |
4 | Subject: [PATCH] nbis: Disable array-parameter and array-bounds warnings | |
5 | ||
6 | NBIS just does weird things and while the array-parameter warning is | |
7 | easy to fix, the other is not trivial. So disable these warnings so that | |
8 | we can still build using newer GCC versions. | |
9 | --- | |
10 | libfprint/meson.build | 2 ++ | |
11 | 1 file changed, 2 insertions(+) | |
12 | ||
13 | diff --git a/libfprint/meson.build b/libfprint/meson.build | |
14 | index 96cfe9b..4d1d30c 100644 | |
15 | --- a/libfprint/meson.build | |
16 | +++ b/libfprint/meson.build | |
17 | @@ -234,6 +234,8 @@ libnbis = static_library('nbis', | |
18 | '-Wno-error=redundant-decls', | |
19 | '-Wno-redundant-decls', | |
20 | '-Wno-discarded-qualifiers', | |
21 | + '-Wno-array-bounds', | |
22 | + '-Wno-array-parameter', | |
23 | ]), | |
24 | install: false) | |
25 | ||
26 | -- | |
27 | 2.26.2 | |
28 |