mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: disable -Wformat=2 back (it wasn't supposed to be pushed anyway)
This commit is contained in:
4
wscript
4
wscript
@@ -293,7 +293,6 @@ def configure(conf):
|
|||||||
'-Werror=bool-operation',
|
'-Werror=bool-operation',
|
||||||
'-Werror=cast-align=strict',
|
'-Werror=cast-align=strict',
|
||||||
'-Werror=duplicated-cond',
|
'-Werror=duplicated-cond',
|
||||||
'-Werror=format=2',
|
|
||||||
'-Werror=implicit-fallthrough=2',
|
'-Werror=implicit-fallthrough=2',
|
||||||
'-Werror=logical-op',
|
'-Werror=logical-op',
|
||||||
'-Werror=nonnull',
|
'-Werror=nonnull',
|
||||||
@@ -314,11 +313,12 @@ def configure(conf):
|
|||||||
'-Werror=write-strings',
|
'-Werror=write-strings',
|
||||||
|
|
||||||
# unstable diagnostics, may cause false positives
|
# unstable diagnostics, may cause false positives
|
||||||
|
'-Walloc-zero',
|
||||||
|
'-Wformat=2',
|
||||||
'-Winit-self',
|
'-Winit-self',
|
||||||
'-Wmisleading-indentation',
|
'-Wmisleading-indentation',
|
||||||
'-Wstringop-overflow',
|
'-Wstringop-overflow',
|
||||||
'-Wunintialized',
|
'-Wunintialized',
|
||||||
'-Walloc-zero',
|
|
||||||
|
|
||||||
# disabled, flood
|
# disabled, flood
|
||||||
# '-Wdouble-promotion',
|
# '-Wdouble-promotion',
|
||||||
|
|||||||
Reference in New Issue
Block a user