From 031237133e33ee4eb5e9641396d6b0f566b575c8 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Sun, 12 Aug 2012 14:07:38 -0700 Subject: doc some cl.exe flags in the configure script --- configure.py | 9 +++++++-- 1 file 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', -- cgit v0.12