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:
parent
c96958582f
commit
2d10d864d8
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue