diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-26 11:52:04 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-29 11:16:23 +0100 |
commit | 48c67fdfb13b09c2db25b1944b4730a21910f809 (patch) | |
tree | 1011e3286e66f143fc5484af2bf2bd8626aa86cc | |
parent | 8a7da94082bf611ed57f6ddc19acefa1a1473048 (diff) | |
download | systemd-48c67fdfb13b09c2db25b1944b4730a21910f809.tar.gz |
meson: upgrade warning about bad init values to an error
We never expect to get this warning, it is most likely to occur if
somebody messes up enumeration values.
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 97732b6243..b0054b6667 100644 --- a/meson.build +++ b/meson.build @@ -345,6 +345,7 @@ possible_common_cc_flags = [ '-Werror=incompatible-pointer-types', '-Werror=int-conversion', '-Werror=overflow', + '-Werror=override-init', '-Werror=return-type', '-Werror=shift-count-overflow', '-Werror=shift-overflow=2', |