From: Sandipan Das Date: Sat, 12 Jan 2019 07:10:57 +0000 (+0530) Subject: [PATCH] scons: Fix compilation issues with gcc-8.x X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3de0b7c5116535b10c1d9d5ff2ead9bce5862c55;p=gem5.git [PATCH] scons: Fix compilation issues with gcc-8.x Change-Id: I9260578643eda6c4f84af8024b5d9ff575fc281d Signed-off-by:Sandipan Das --- 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=' ')