wscript: don't error if uninitialized(old compilers like gcc5 have bad heuristics)

This commit is contained in:
Alibek Omarov 2019-12-24 03:56:07 +03:00
parent 5d8b770e6c
commit 32eb42a92f

View File

@ -236,8 +236,8 @@ def configure(conf):
'-Werror=duplicated-branches', # BEWARE: buggy '-Werror=duplicated-branches', # BEWARE: buggy
'-Werror=bool-compare', '-Werror=bool-compare',
'-Werror=bool-operation', '-Werror=bool-operation',
'-Werror=uninitialized', '-Wuninitialized',
'-Werror=init-self', '-Winit-self',
'-Werror=implicit-fallthrough=2', # clang incompatible without "=2" '-Werror=implicit-fallthrough=2', # clang incompatible without "=2"
# '-Wdouble-promotion', # disable warning flood # '-Wdouble-promotion', # disable warning flood
'-Wstrict-aliasing', '-Wstrict-aliasing',