Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 769d26c0d30ea1a9a2d4fcf50a60fbdf7dcb7575..e66cead106c90a57a828e39cb1248c32233d12cc 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2676,6 +2676,13 @@ |
# "/Oy /Oy-" and warnings about overriding. |
'AdditionalOptions': ['/Oy-'], |
}], |
+ ['win_debug_disable_iterator_debugging!=1', { |
scottmg
2013/09/18 19:03:49
is this used elsewhere? it really shouldn't be cal
Will Harris
2013/09/19 09:40:57
added a new win_release_disable_iterator_debugging
|
+ # VS2010 changed default _ITERATOR_DEBUG_LEVEL to 0 |
+ # on Release builds so we change it back to 1 to restore these |
+ # checks, except if explicitly disabled |
+ # See http://crbug.com/289691 |
+ 'PreprocessorDefinitions': ['_ITERATOR_DEBUG_LEVEL=1'], |
+ }], |
], |
'AdditionalOptions': [ '<@(win_release_extra_cflags)', ], |
}, |