From: Cheng Zhao Date: Mon, 1 Jul 2013 10:45:46 +0000 (+0800) Subject: Fix warnings in http_parser. X-Git-Tag: v0.1.0~60 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=14f7a64a914870badc5f4c665b0359767e6b7de8;p=electron.git Fix warnings in http_parser. --- diff --git a/common.gypi b/common.gypi index 98dbb79f..2ca29541 100644 --- a/common.gypi +++ b/common.gypi @@ -12,7 +12,7 @@ # Settings to compile node under Windows. 'target_defaults': { 'target_conditions': [ - ['_target_name in ["libuv", "cares", "openssl", "node", "zlib"]', { + ['_target_name in ["libuv", "http_parser", "cares", "openssl", "node", "zlib"]', { 'msvs_disabled_warnings': [ 4013, # 'free' undefined; assuming extern returning int 4054, # @@ -23,6 +23,7 @@ 4152, # function/data pointer conversion in expression 4206, # translation unit is empty 4204, # non-constant aggregate initializer + 4214, # bit field types other than int 4232, # address of dllimport 'free' is not static, identity not guaranteed 4295, # array is too small to include a terminating null character 4389, # '==' : signed/unsigned mismatch