scons: Fix gcc-9.2.x builds
authorSandipan Das <sandipan@linux.ibm.com>
Wed, 8 Apr 2020 18:26:21 +0000 (18:26 +0000)
committerSandipan Das <sandipan@linux.ibm.com>
Wed, 8 Apr 2020 18:26:21 +0000 (18:26 +0000)
Change-Id: I53fcc19cea6e2f386ae6dbe6765de101ae4ab70b
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
SConstruct

index 0e9e57508d07dc871be163533933d0c27fbc1acc..ba84d9675e3e7d342c2a86611dfc3b2f26419d92 100755 (executable)
@@ -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=' ')