From 244b9dc02bb01bdd6faa7ec9471aebc8600077c6 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 24 Jun 2024 20:01:29 +0300 Subject: [PATCH] wscript: disable -Wformat=2 back (it wasn't supposed to be pushed anyway) --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 8795dd50..6c9b0319 100644 --- a/wscript +++ b/wscript @@ -293,7 +293,6 @@ def configure(conf): '-Werror=bool-operation', '-Werror=cast-align=strict', '-Werror=duplicated-cond', - '-Werror=format=2', '-Werror=implicit-fallthrough=2', '-Werror=logical-op', '-Werror=nonnull', @@ -314,11 +313,12 @@ def configure(conf): '-Werror=write-strings', # unstable diagnostics, may cause false positives + '-Walloc-zero', + '-Wformat=2', '-Winit-self', '-Wmisleading-indentation', '-Wstringop-overflow', '-Wunintialized', - '-Walloc-zero', # disabled, flood # '-Wdouble-promotion',