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 += [