Browse Source

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

pull/2/head
Alibek Omarov 5 years ago
parent
commit
32eb42a92f
  1. 4
      wscript

4
wscript

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

Loading…
Cancel
Save