2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00

wscript: make stringop-overflow non-fatal

This commit is contained in:
Alibek Omarov 2023-08-07 19:44:41 +03:00
parent 1d6f695749
commit e1cbf96100

View File

@ -310,16 +310,13 @@ def configure(conf):
# unstable diagnostics, may cause false positives
'-Winit-self',
'-Wmisleading-indentation',
'-Wstringop-overflow',
'-Wunintialized',
# disabled, flood
# '-Wdouble-promotion',
]
# buggy compiler on NSW
if conf.env.DEST_OS != 'nswitch':
opt_flags += [ '-Werror=stringop-overflow' ]
opt_cflags = [
'-Werror=declaration-after-statement',
'-Werror=enum-conversion',