]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix warnings in http_parser.
authorCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 10:45:46 +0000 (18:45 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 1 Jul 2013 10:45:46 +0000 (18:45 +0800)
common.gypi

index 98dbb79f26e8b53985c5a789fba2d090a8215094..2ca2954167c532c2af44e64bbfc80c37affa14e5 100644 (file)
@@ -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