From: Zbigniew Jędrzejewski-Szmek Date: Thu, 7 Mar 2019 09:56:15 +0000 (+0100) Subject: build-sys: disable -Wstring-plus-int X-Git-Tag: v242-rc1~184^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eed336233cb5b4015a625fb5c6193f5a3284d46a;p=thirdparty%2Fsystemd.git 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. --- diff --git a/meson.build b/meson.build index ae2ef48231e..3d8220e1549 100644 --- a/meson.build +++ b/meson.build @@ -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',