diff options
author | Evan Martin <martine@danga.com> | 2012-09-07 20:10:48 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-09-07 20:10:48 (GMT) |
commit | c840cf6e7ead218828f1e24097b5de07169b83b7 (patch) | |
tree | 5b8911165ce724de0af01519f553c2326ead3ff3 /configure.py | |
parent | 2c145bbf2ebd80e9d6223a0672600e37a4589d32 (diff) | |
download | Ninja-c840cf6e7ead218828f1e24097b5de07169b83b7.zip Ninja-c840cf6e7ead218828f1e24097b5de07169b83b7.tar.gz Ninja-c840cf6e7ead218828f1e24097b5de07169b83b7.tar.bz2 |
disable a new warning that popped up on Windows
This pattern is safe as long as you're careful; we don't use it
very much.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.py b/configure.py index ec26a37..85f3689 100755 --- a/configure.py +++ b/configure.py @@ -118,6 +118,8 @@ if platform == 'windows': '/WX', # Warnings as errors. '/wd4530', '/wd4100', '/wd4706', '/wd4512', '/wd4800', '/wd4702', '/wd4819', + # Disable warnings about passing "this" during initialization. + '/wd4355', '/GR-', # Disable RTTI. # Disable size_t -> int truncation warning. # We never have strings or arrays larger than 2**31. |