From 7c3b8455ef0243f9c00c3d82d2ce74d79909365e Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 20 Sep 2012 10:08:30 -0400 Subject: Silence bothersome warning from -Wextra Struct initializations such as those in `CLWrapper::Run` of file `src/msvc_helper-win32.cc` causes MinGW GCC to spew warnings. --- configure.py | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.py b/configure.py index e458605..8d9f31e 100755 --- a/configure.py +++ b/configure.py @@ -140,6 +140,7 @@ else: '-fno-rtti', '-fno-exceptions', '-fvisibility=hidden', '-pipe', + '-Wno-missing-field-initializers', '-DNINJA_PYTHON="%s"' % options.with_python] if options.debug: cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC'] -- cgit v0.12