projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c145bb
)
disable a new warning that popped up on Windows
author
Evan Martin
<martine@danga.com>
Fri, 7 Sep 2012 20:10:48 +0000
(13:10 -0700)
committer
Evan Martin
<martine@danga.com>
Fri, 7 Sep 2012 20:10:48 +0000
(13:10 -0700)
This pattern is safe as long as you're careful; we don't use it
very much.
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
ec26a37
..
85f3689
100755
(executable)
--- 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.