summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJon <jon.forums@gmail.com>2012-09-20 14:08:30 (GMT)
committerJon <jon.forums@gmail.com>2012-09-20 14:08:30 (GMT)
commit7c3b8455ef0243f9c00c3d82d2ce74d79909365e (patch)
tree5671ae157b4ac718756f0115f78854747318ce44 /configure.py
parent3b3e1c831cc49d8c02928aaad7683c820cce9400 (diff)
downloadNinja-7c3b8455ef0243f9c00c3d82d2ce74d79909365e.zip
Ninja-7c3b8455ef0243f9c00c3d82d2ce74d79909365e.tar.gz
Ninja-7c3b8455ef0243f9c00c3d82d2ce74d79909365e.tar.bz2
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.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py1
1 files changed, 1 insertions, 0 deletions
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']