From: Peter (Stig) Edwards Date: Fri, 1 Feb 2019 09:30:31 +0000 (+0000) Subject: -Wformat-security not needed with -Wformat=2 X-Git-Tag: v1.4.0^2~41^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=188c7482080aa8d463dca633cabfaf1cebea6d27;p=thirdparty%2Fzstd.git -Wformat-security not needed with -Wformat=2 --- diff --git a/build/meson/lib/meson.build b/build/meson/lib/meson.build index a02bd2d7a..f8014c625 100644 --- a/build/meson/lib/meson.build +++ b/build/meson/lib/meson.build @@ -98,7 +98,7 @@ if use_debug if cc_id == compiler_gcc or cc_id == compiler_clang libzstd_debug_cflags = ['-Wstrict-aliasing=1', '-Wswitch-enum', '-Wdeclaration-after-statement', '-Wstrict-prototypes', - '-Wundef', '-Wpointer-arith', '-Wformat-security', '-Wvla', + '-Wundef', '-Wpointer-arith', '-Wvla', '-Wformat=2', '-Winit-self', '-Wfloat-equal', '-Wwrite-strings', '-Wredundant-decls', '-Wmissing-prototypes', '-Wc++-compat'] endif