|
|
@ -271,7 +271,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', # older GCC versions have -Wmaybe-uninitialized enabled by this switch, which is not accurate |
|
|
|
|
|
|
|
# so just warn, not error |
|
|
|
'-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 |
|
|
|