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
old-commit-hash: dba49bbf84
commatwo_master
Willem Melching 5 years ago committed by GitHub
parent 25400f9456
commit d1dea6bac6
  1. 3
      SConstruct

@ -134,8 +134,11 @@ env = Environment(
"-O2", "-O2",
"-Wunused", "-Wunused",
"-Werror", "-Werror",
"-Wno-unknown-warning-option",
"-Wno-deprecated-register", "-Wno-deprecated-register",
"-Wno-inconsistent-missing-override", "-Wno-inconsistent-missing-override",
"-Wno-c99-designator",
"-Wno-reorder-init-list",
] + cflags + ccflags_asan, ] + cflags + ccflags_asan,
CPPPATH=cpppath + [ CPPPATH=cpppath + [

Loading…
Cancel
Save