engine: fix remaining -Wformat=2 and force it to -Werror

This commit is contained in:
Alibek Omarov
2025-03-14 10:06:39 +03:00
parent 91bc372811
commit 1e8e4825fa
2 changed files with 2 additions and 3 deletions

View File

@@ -333,7 +333,7 @@ def configure(conf):
'-Werror=bool-operation',
# '-Werror=cast-align=strict',
'-Werror=duplicated-cond',
'-Werror=format-extra-args',
'-Werror=format=2',
'-Werror=free-nonheap-object',
'-Werror=implicit-fallthrough=2',
'-Werror=logical-op',
@@ -356,7 +356,6 @@ def configure(conf):
# unstable diagnostics, may cause false positives
'-Walloc-zero',
'-Wformat=2',
'-Winit-self',
'-Wmisleading-indentation',
'-Wmismatched-dealloc',