From 692a50b78e5c2772583ddb470697b239ef9329bc Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 28 Jun 2024 14:44:01 +0100 Subject: [PATCH] build: Enable -Wfloat-conversion by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GLib now compiles without emitting any float conversion warnings, so let’s keep it that way. Signed-off-by: Philip Withnall Helps: #3405 --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index de82c0049..76efac60c 100644 --- a/meson.build +++ b/meson.build @@ -551,6 +551,7 @@ endforeach if cc.get_id() == 'gcc' or cc.get_id() == 'clang' warning_common_args = [ '-Wduplicated-branches', + '-Wfloat-conversion', '-Wimplicit-fallthrough', '-Wmisleading-indentation', '-Wmissing-field-initializers',