From 3de0b7c5116535b10c1d9d5ff2ead9bce5862c55 Mon Sep 17 00:00:00 2001 From: Sandipan Das Date: Sat, 12 Jan 2019 12:40:57 +0530 Subject: [PATCH] [PATCH] scons: Fix compilation issues with gcc-8.x Change-Id: I9260578643eda6c4f84af8024b5d9ff575fc281d Signed-off-by:Sandipan Das --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SConstruct b/SConstruct index b382d3377..9502dc148 100755 --- a/SConstruct +++ b/SConstruct @@ -367,6 +367,10 @@ if main['GCC'] or main['CLANG']: main.Append(CCFLAGS=['-Werror', '-Wno-error=deprecated-declarations', '-Wno-error=deprecated', + '-Wno-ignored-qualifiers', + '-Wno-cast-function-type', + '-Wno-error=class-memaccess', + '-Wno-error=catch-value', ]) else: print(termcap.Yellow + termcap.Bold + 'Error' + termcap.Normal, end=' ') -- 2.30.2