summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index d1e39c8a5a..bfc86857d6 100644
--- a/meson.build
+++ b/meson.build
@@ -389,6 +389,7 @@ possible_common_cc_flags = [
'-Wsuggest-attribute=noreturn',
'-Wunused-function',
'-Wwrite-strings',
+ '-Wzero-length-bounds',
# negative arguments are correctly detected starting with meson 0.46.
'-Wno-error=#warnings', # clang