From 2134ec5163ca05ebfe485c955099d793f2b10cc0 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Thu, 21 Dec 2023 19:15:51 -0800 Subject: [PATCH] scons: Remove warnings-as-errors comp feature for v23.1 Change-Id: Iae1981e06cd98aa12e1e2362487e36388602dc7b --- SConstruct | 8 -------- 1 file changed, 8 deletions(-) diff --git a/SConstruct b/SConstruct index 396a83b811..ef4d154312 100755 --- a/SConstruct +++ b/SConstruct @@ -597,14 +597,6 @@ for variant_path in variant_paths: env.Append(LINKFLAGS=['-Wl,--no-keep-memory']) else: error("Unable to use --no-keep-memory with the linker") - - # Treat warnings as errors but white list some warnings that we - # want to allow (e.g., deprecation warnings). - env.Append(CCFLAGS=['-Werror', - '-Wno-error=deprecated-declarations', - '-Wno-error=deprecated', - ]) - else: error('\n'.join(( "Don't know what compiler options to use for your compiler.",