From ba0706d6b94357cc82b9e56db0c5fc059001934d Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Tue, 30 Jan 2024 10:21:33 +0100 Subject: [PATCH] Error out on bogus int conversion --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 7ccbacc..94fca52 100644 --- a/meson.build +++ b/meson.build @@ -69,7 +69,8 @@ endif flags = [ '-Werror=implicit-function-declaration', '-Werror=vla', - '-fvisibility=hidden' + '-fvisibility=hidden', + '-Werror=int-conversion' ] flags = cc.get_supported_arguments(flags)