wscript: enforce error on uninitialized variables

This commit is contained in:
Alibek Omarov 2020-05-02 18:01:44 +03:00
parent 8fcfde1e42
commit 92f0bf54f1

View File

@ -271,7 +271,7 @@ 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',
'-Wuninitialized', '-Werror=uninitialized',
'-Winit-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