summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 331e027..1cdab49 100755
--- a/configure.py
+++ b/configure.py
@@ -108,8 +108,13 @@ else:
n.variable('ar', configure_env.get('AR', 'ar'))
if platform == 'windows':
- cflags = ['/nologo', '/Zi', '/W4', '/WX', '/wd4530', '/wd4100', '/wd4706',
- '/wd4512', '/wd4800', '/wd4702', '/wd4819', '/GR-',
+ cflags = ['/nologo', # Don't print startup banner.
+ '/Zi', # Create pdb with debug info.
+ '/W4', # Highest warning level.
+ '/WX', # Warnings as errors.
+ '/wd4530', '/wd4100', '/wd4706',
+ '/wd4512', '/wd4800', '/wd4702', '/wd4819',
+ '/GR-', # Disable RTTI.
# Disable size_t -> int truncation warning.
# We never have strings or arrays larger than 2**31.
'/wd4267',