nbis: Disable array-parameter and array-bounds warnings

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.
This commit is contained in:
Benjamin Berg 2020-12-09 15:46:23 +01:00
parent c96958582f
commit 2d10d864d8

View file

@ -234,6 +234,8 @@ libnbis = static_library('nbis',
'-Wno-error=redundant-decls', '-Wno-error=redundant-decls',
'-Wno-redundant-decls', '-Wno-redundant-decls',
'-Wno-discarded-qualifiers', '-Wno-discarded-qualifiers',
'-Wno-array-bounds',
'-Wno-array-parameter',
]), ]),
install: false) install: false)