|
|
@ -310,16 +310,13 @@ def configure(conf): |
|
|
|
# unstable diagnostics, may cause false positives |
|
|
|
# unstable diagnostics, may cause false positives |
|
|
|
'-Winit-self', |
|
|
|
'-Winit-self', |
|
|
|
'-Wmisleading-indentation', |
|
|
|
'-Wmisleading-indentation', |
|
|
|
|
|
|
|
'-Wstringop-overflow', |
|
|
|
'-Wunintialized', |
|
|
|
'-Wunintialized', |
|
|
|
|
|
|
|
|
|
|
|
# disabled, flood |
|
|
|
# disabled, flood |
|
|
|
# '-Wdouble-promotion', |
|
|
|
# '-Wdouble-promotion', |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
# buggy compiler on NSW |
|
|
|
|
|
|
|
if conf.env.DEST_OS != 'nswitch': |
|
|
|
|
|
|
|
opt_flags += [ '-Werror=stringop-overflow' ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
opt_cflags = [ |
|
|
|
opt_cflags = [ |
|
|
|
'-Werror=declaration-after-statement', |
|
|
|
'-Werror=declaration-after-statement', |
|
|
|
'-Werror=enum-conversion', |
|
|
|
'-Werror=enum-conversion', |
|
|
|