projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca09bc3
)
meson: enable -Wunterminated-string-initialization
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 7 Aug 2024 05:03:13 +0000
(14:03 +0900)
committer
Luca Boccassi
<bluca@debian.org>
Thu, 15 Aug 2024 13:04:41 +0000
(14:04 +0100)
With
af1a6db58fde8f64edcf7d27e1f3b636c999934c
, now we can build with the
option.
(cherry picked from commit
f548bc4011bcdab008b125b9d0993817efa00718
)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index 48e6c6ff214058c350ac7689c168a2bd8b482794..737f9f0c660046912f85ee4af1a5e0b5796cdb87 100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-399,6
+399,7
@@
possible_common_cc_flags = [
'-Wstrict-aliasing=2',
'-Wstrict-prototypes',
'-Wsuggest-attribute=noreturn',
+ '-Wunterminated-string-initialization',
'-Wunused-function',
'-Wwrite-strings',
'-Wzero-length-bounds',