disable a new warning that popped up on Windows
authorEvan Martin <martine@danga.com>
Fri, 7 Sep 2012 20:10:48 +0000 (13:10 -0700)
committerEvan 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

index ec26a37..85f3689 100755 (executable)
@@ -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.