From 2d073e78ef1b60d2bbc1e4083066ec194370297f Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 27 Jun 2014 11:04:58 +0800 Subject: [PATCH] Suppress new compiler warnings for VS2013. --- common.gypi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 820bf959..0db29d0f 100644 --- a/common.gypi +++ b/common.gypi @@ -5,7 +5,7 @@ ['OS=="mac" or OS=="linux"', { 'clang': 1, }], - ['OS=="win" and (MSVS_VERSION=="2012e" or MSVS_VERSION=="2010e")', { + ['OS=="win" and (MSVS_VERSION=="2013e" or MSVS_VERSION=="2012e" or MSVS_VERSION=="2010e")', { 'msvs_express': 1, 'windows_driver_kit_path%': 'C:/WinDDK/7600.16385.1', },{ @@ -39,6 +39,7 @@ 'target_conditions': [ ['_target_name in ["libuv", "http_parser", "cares", "openssl", "openssl-cli", "node_lib", "zlib"]', { 'msvs_disabled_warnings': [ + 4703, # potentially uninitialized local pointer variable 'req' used 4013, # 'free' undefined; assuming extern returning int 4054, # 4057, # 'function' : 'volatile LONG *' differs in indirection to slightly different base types from 'unsigned long *' @@ -136,6 +137,7 @@ 4201, # (uv.h) nameless struct/union 4800, # (v8.h) forcing value to bool 'true' or 'false' 4819, # The file contains a character that cannot be represented in the current code page + 4996, # (atlapp.h) 'GetVersionExW': was declared deprecated ], 'msvs_settings': { 'VCCLCompilerTool': { -- 2.43.0