wscript: don't error if uninitialized(old compilers like gcc5 have bad heuristics)
This commit is contained in:
parent
5d8b770e6c
commit
32eb42a92f
1 changed files with 2 additions and 2 deletions
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…
Add table
Reference in a new issue