mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: ok, let's disable format-nonliteral for now
This commit is contained in:
2
wscript
2
wscript
@@ -360,6 +360,7 @@ def configure(conf):
|
|||||||
'-Wmismatched-dealloc',
|
'-Wmismatched-dealloc',
|
||||||
'-Wstringop-overflow',
|
'-Wstringop-overflow',
|
||||||
'-Wunintialized',
|
'-Wunintialized',
|
||||||
|
'-Wno-error=format-nonliteral',
|
||||||
|
|
||||||
# disabled, flood
|
# disabled, flood
|
||||||
# '-Wdouble-promotion',
|
# '-Wdouble-promotion',
|
||||||
@@ -372,7 +373,6 @@ def configure(conf):
|
|||||||
if conf.env.COMPILER_CC == 'clang':
|
if conf.env.COMPILER_CC == 'clang':
|
||||||
opt_flags += [
|
opt_flags += [
|
||||||
'-Werror=unsequenced', # clang's version of -Werror=sequence-point
|
'-Werror=unsequenced', # clang's version of -Werror=sequence-point
|
||||||
'-Wno-error=format-nonliteral', # clang is kinda stupid about it
|
|
||||||
]
|
]
|
||||||
|
|
||||||
opt_cflags = [
|
opt_cflags = [
|
||||||
|
|||||||
Reference in New Issue
Block a user