[PATCH] scons: Fix compilation issues with gcc-8.x
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 12 Jan 2019 07:10:57 +0000 (12:40 +0530)
committerKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 06:30:49 +0000 (12:00 +0530)
Change-Id: I9260578643eda6c4f84af8024b5d9ff575fc281d
Signed-off-by:Sandipan Das <sandipan@linux.ibm.com>

SConstruct

index b382d33770fabdf4d30df9d370405f6ebf9bfba1..9502dc148f42a41b507f419a8341887657c73745 100755 (executable)
@@ -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=' ')