From e1cbf9610048dcfdf4817488cc75e264dea1212c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 7 Aug 2023 19:44:41 +0300 Subject: [PATCH] wscript: make stringop-overflow non-fatal --- wscript | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wscript b/wscript index 362705b2..c8f2c834 100644 --- a/wscript +++ b/wscript @@ -310,16 +310,13 @@ def configure(conf): # unstable diagnostics, may cause false positives '-Winit-self', '-Wmisleading-indentation', + '-Wstringop-overflow', '-Wunintialized', # disabled, flood # '-Wdouble-promotion', ] - # buggy compiler on NSW - if conf.env.DEST_OS != 'nswitch': - opt_flags += [ '-Werror=stringop-overflow' ] - opt_cflags = [ '-Werror=declaration-after-statement', '-Werror=enum-conversion',