configure: Add -Wno-char-subscripts.

Silences many warnings on systems with signed char where
the compiler cannot distinguish between char and int8_t.
This commit is contained in:
Carl Eugen Hoyos 2018-11-18 04:32:07 +01:00
parent 63c8558667
commit 737b5f5869
1 changed files with 1 additions and 0 deletions

1
configure vendored
View File

@ -6509,6 +6509,7 @@ check_disable_warning -Wno-format-zero-length
check_disable_warning -Wno-pointer-sign
check_disable_warning -Wno-unused-const-variable
check_disable_warning -Wno-bool-operation
check_disable_warning -Wno-char-subscripts
check_disable_warning_headers(){
warning_flag=-W${1#-Wno-}