From af25799552a8369655b59c978ac0a0d0c50ae066 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 14 May 2022 12:43:09 +0300 Subject: [PATCH] build: add some more warning checks --- meson.build | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index a495e273..508d1a67 100644 --- a/meson.build +++ b/meson.build @@ -42,8 +42,12 @@ infodir = join_paths(prefixdir, get_option('infodir')) extra_flags = [ '-Wno-unused-parameter', '-Wno-cast-function-type', - '-Wno-#warnings' -] + '-Wformat-security', + '-Wformat=2', + '-Wstack-protector', + # '-Wshadow', + '-Wno-switch-enum', + '-Wno-#warnings'] if get_option('buildtype') == 'debug' extra_flags += [