From 556afd14826733e240a55798760dab13b7c0a220 Mon Sep 17 00:00:00 2001 From: Guillaume Champagne Date: Sun, 26 Jan 2020 18:24:44 -0500 Subject: [PATCH] meson: add -Wmissing-prototypes to the build Meson's warning level maps to -Wall, -Wextra and -Wpedantic. -Wmissing-prototypes is added by neither of those flag. Consequently, it is manually added to the build command line arguments. Signed-off-by: Guillaume Champagne --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 662867cb..7e735607 100644 --- a/meson.build +++ b/meson.build @@ -58,6 +58,7 @@ cc = meson.get_compiler('c') global_args = [] global_args_maybe = [ + '-Wmissing-prototypes', '-Wno-unused-parameter', '-Wno-shift-negative-value', # required due to Pixman '-Wno-missing-field-initializers',