From: Cheng Zhao Date: Fri, 27 Jun 2014 03:04:58 +0000 (+0800) Subject: Suppress new compiler warnings for VS2013. X-Git-Tag: v0.14.0~1^2~90 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=2d073e78ef1b60d2bbc1e4083066ec194370297f;p=electron.git Suppress new compiler warnings for VS2013. --- 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': {