mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-04 19:24:22 +00:00
wscript: disable treating uninitialized as error because it gives too much false-positives
This commit is contained in:
parent
0db1a7743d
commit
64a96b26ad
3
wscript
3
wscript
@ -271,7 +271,8 @@ def configure(conf):
|
||||
'-Werror=duplicated-branches', # BEWARE: buggy
|
||||
'-Werror=bool-compare',
|
||||
'-Werror=bool-operation',
|
||||
'-Werror=uninitialized',
|
||||
'-Wuninitialized', # older GCC versions have -Wmaybe-uninitialized enabled by this switch, which is not accurate
|
||||
# so just warn, not error
|
||||
'-Winit-self',
|
||||
'-Werror=implicit-fallthrough=2', # clang incompatible without "=2"
|
||||
# '-Wdouble-promotion', # disable warning flood
|
||||
|
Loading…
x
Reference in New Issue
Block a user