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

Loading…
Cancel
Save