From be952e71a70bb6ac1afde8876e4615b287bd4089 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 24 Mar 2022 10:34:41 +0100 Subject: [PATCH] meson: turn on -Wno-unused-function project-wide We generate a lot of functions without knowing if they end up being used or not. So we can't easily avoid these warnings. This fixes a bunch of warnings for me when building with Clang. Acked-by: Alyssa Rosenzweig Part-of: --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 189a5c51ec4..7d3520c17ba 100644 --- a/meson.build +++ b/meson.build @@ -1167,6 +1167,7 @@ else '-fno-common', # Clang '-Wno-microsoft-enum-value', + '-Wno-unused-function', ] _trial_cpp = [ '-Werror=return-type',