From aca5755c91d9b830f7d502f1c3b29be054c77dbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Thu, 16 Feb 2023 20:27:26 +0100 Subject: [PATCH] meson.build: promote two warnings to errors Promote the following warnings to errors: * implicit-function-declaration * int-conversion because the code very likely will not work correctly if any of these two trigger. --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index ab8487cec..6b475b244 100644 --- a/meson.build +++ b/meson.build @@ -91,6 +91,8 @@ cc_flags = common_flags + [ '-D_GNU_SOURCE', '-DFASTPATH', # '-DSPA_DEBUG_MEMCPY', + '-Werror=implicit-function-declaration', + '-Werror=int-conversion', ] add_project_arguments(cc.get_supported_arguments(cc_flags), language: 'c')