From dba49bbf849d591341b297983339ce981c0e0dc0 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 30 Sep 2020 14:58:56 +0200 Subject: [PATCH] fix compilation with Clang 10 on ubuntu 20.04 (#2243) * fix compilation with Clang 10 on ubuntu 20.04 * Allow newer warning options in old clang * Fix space --- SConstruct | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SConstruct b/SConstruct index 7ab9e2a5ed..fc119262b5 100644 --- a/SConstruct +++ b/SConstruct @@ -134,8 +134,11 @@ env = Environment( "-O2", "-Wunused", "-Werror", + "-Wno-unknown-warning-option", "-Wno-deprecated-register", "-Wno-inconsistent-missing-override", + "-Wno-c99-designator", + "-Wno-reorder-init-list", ] + cflags + ccflags_asan, CPPPATH=cpppath + [