diff options
author | Jon <jon.forums@gmail.com> | 2012-09-20 14:08:30 (GMT) |
---|---|---|
committer | Jon <jon.forums@gmail.com> | 2012-09-20 14:08:30 (GMT) |
commit | 7c3b8455ef0243f9c00c3d82d2ce74d79909365e (patch) | |
tree | 5671ae157b4ac718756f0115f78854747318ce44 | |
parent | 3b3e1c831cc49d8c02928aaad7683c820cce9400 (diff) | |
download | Ninja-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.
-rwxr-xr-x | configure.py | 1 |
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'] |