win: Fix Debug build

This commit is contained in:
Cheng Zhao
2015-04-07 13:50:58 +08:00
parent 2f5090d667
commit 0f97bf03fa
3 changed files with 8 additions and 2 deletions

View File

@@ -247,7 +247,6 @@
# include its dependencies here.
'vendor/node/deps/cares/cares.gyp:cares',
'vendor/node/deps/http_parser/http_parser.gyp:http_parser',
'vendor/node/deps/openssl/openssl.gyp:openssl',
'vendor/node/deps/uv/uv.gyp:libuv',
'vendor/node/deps/zlib/zlib.gyp:zlib',
# Build with breakpad support.

View File

@@ -43,6 +43,7 @@
'msvs_disabled_warnings': [
4703, # potentially uninitialized local pointer variable 'req' used
4013, # 'free' undefined; assuming extern returning int
4018, # signed/unsigned mismatch
4054, #
4057, # 'function' : 'volatile LONG *' differs in indirection to slightly different base types from 'unsigned long *'
4189, #
@@ -146,6 +147,12 @@
'-Wno-empty-body',
],
}], # OS=="linux"
['OS=="win"', {
'msvs_disabled_warnings': [
# unreferenced local function has been removed.
4505,
],
}], # OS=="win"
],
}],
['_type in ["executable", "shared_library"]', {