Browse Source

wscript: enforce error on uninitialized variables

pull/2/head
Alibek Omarov 5 years ago
parent
commit
92f0bf54f1
  1. 2
      wscript

2
wscript

@ -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

Loading…
Cancel
Save