From 48c67fdfb13b09c2db25b1944b4730a21910f809 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 26 Nov 2021 11:52:04 +0100 Subject: [PATCH] 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. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 97732b62434..b0054b66672 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', -- 2.47.3