diff --git a/build/ninja/clang.py b/build/ninja/clang.py index 0e57eef..5633e15 100755 --- a/build/ninja/clang.py +++ b/build/ninja/clang.py @@ -107,7 +107,7 @@ def initialize(self, project, archs, configs, includepaths, dependlibs, libpaths self.cflags += ['-w'] self.cxxflags = list(self.cflags) - self.cflags += ['-std=c11'] + self.cflags += ['-std=c11', '-Wno-pre-c11-compat'] if self.target.is_macos() or self.target.is_ios(): self.cxxflags += ['-std=c++14', '-stdlib=libc++'] else: