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
pull/2237/head^2
Willem Melching 5 years ago committed by GitHub
parent 846b56831f
commit dba49bbf84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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 + [

Loading…
Cancel
Save