mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: fix remaining -Wformat=2 and force it to -Werror
This commit is contained in:
3
wscript
3
wscript
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user