projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03f9ce
)
build-sys: disable -Wstring-plus-int
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 7 Mar 2019 09:56:15 +0000
(10:56 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 7 Mar 2019 09:58:49 +0000
(10:58 +0100)
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.
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index ae2ef48231ed11ff9b7d062218531ce128f7887b..3d8220e1549a271ebb45b2d11744371eff350c6e 100644
(file)
--- 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',