Skip to content

Commit

Permalink
[WIN] disable warning for non official build
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang authored and GnorTech committed Nov 28, 2016
1 parent 1a03dd6 commit 80cba13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions deps/openssl/openssl.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
'link_settings': {
'libraries': ['<@(openssl_default_libraries_win)'],
},
'msvs_disabled_warnings': [4311],
}, {
'defines': ['<@(openssl_default_defines_not_win)'],
'cflags': ['-Wno-missing-field-initializers'],
Expand Down
2 changes: 1 addition & 1 deletion deps/uv/uv.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
'WARNING_CFLAGS': [ '-Wall', '-Wextra', '-Wno-unused-parameter' , '-Wno-error=gnu-folding-constant', '-Wno-varargs'],
'OTHER_CFLAGS': [ '-g', '--std=gnu89', '-pedantic' ],
},
'msvs_disabled_warnings': [4267],
'msvs_disabled_warnings': [4267, 4477],
},

'targets': [
Expand Down
2 changes: 1 addition & 1 deletion node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
#'../../chrome/chrome.gyp:chrome_dll',
],

'msvs_disabled_warnings': [4146, 4267, 4003, 4065],
'msvs_disabled_warnings': [4146, 4267, 4003, 4065, 4477],

'xcode_settings': {
'WARNING_CFLAGS': [ '-Wno-error=deprecated-declarations' ],
Expand Down

0 comments on commit 80cba13

Please sign in to comment.