From: Sandipan Das Date: Wed, 8 Apr 2020 18:26:21 +0000 (+0000) Subject: scons: Fix gcc-9.2.x builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0f1eccd928874102800b7b0d54a93915fa86e66;p=gem5.git scons: Fix gcc-9.2.x builds Change-Id: I53fcc19cea6e2f386ae6dbe6765de101ae4ab70b Signed-off-by: Sandipan Das --- diff --git a/SConstruct b/SConstruct index 0e9e57508..ba84d9675 100755 --- a/SConstruct +++ b/SConstruct @@ -372,6 +372,9 @@ if main['GCC'] or main['CLANG']: '-Wno-cast-function-type', '-Wno-error=class-memaccess', '-Wno-error=catch-value', + '-Wno-error=deprecated-copy', + '-Wno-error=address-of-packed-member', + '-Wno-error=array-bounds', ]) else: print(termcap.Yellow + termcap.Bold + 'Error' + termcap.Normal, end=' ')