build-sys: disable -Wstring-plus-int

clang-8 warns about constructs like "foobar"+3 (to get "bar"). We
like to use patterns like this, so let's just disable the warning.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-03-07 10:56:15 +01:00
parent c03f9cec42
commit eed336233c
1 changed files with 2 additions and 1 deletions

View File

@ -336,7 +336,8 @@ possible_cc_flags = [
'-Wno-missing-field-initializers',
'-Wno-unused-result',
'-Wno-format-signedness',
'-Wno-error=#warnings',
'-Wno-error=#warnings', # clang
'-Wno-string-plus-int', # clang
# work-around for gcc 7.1 turning this on on its own.
'-Wno-error=nonnull',