Skip to content

Commit

Permalink
meson: enable -Wunterminated-string-initialization
Browse files Browse the repository at this point in the history
With af1a6db58fde8f64edcf7d27e1f3b636c999934c, now we can build with the
option.

(cherry picked from commit f548bc4011bcdab008b125b9d0993817efa00718)
(cherry picked from commit 772549666cf291d85c28d3bfc1ab2b7227422d4f)
(cherry picked from commit da229ea)
(cherry picked from commit fbc4335)
  • Loading branch information
yuwata authored and bluca committed Aug 19, 2024
1 parent a264598 commit 5159b7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ possible_common_cc_flags = [
'-Wstrict-aliasing=2',
'-Wstrict-prototypes',
'-Wsuggest-attribute=noreturn',
'-Wunterminated-string-initialization',
'-Wunused-function',
'-Wwrite-strings',
'-Wzero-length-bounds',
Expand Down

0 comments on commit 5159b7a

Please sign in to comment.