diff --git a/meson.build b/meson.build index a6d3afdd6..f7fcea046 100644 --- a/meson.build +++ b/meson.build @@ -84,6 +84,7 @@ common_flags = [ '-Wno-pedantic', '-Wdeprecated-declarations', '-Wunused-result', + '-Werror=return-type', ] cc_flags = common_flags + [