From: Bert Belder Date: Thu, 8 Jan 2015 12:43:22 +0000 (+0100) Subject: win,openssl: disable some warnings X-Git-Tag: v1.0.0~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e70562704c863fb3f347ac3602276f2dde456b4b;p=platform%2Fupstream%2Fnodejs.git win,openssl: disable some warnings This patch disables two (categories of) warnings: * deprecation of GetVersionExA * possible loss of data in implicit conversion of scalar types These warnings don't seem to point out serious problems, and avoiding them in openssl is somebody else's business. PR-URL: https://github.com/iojs/io.js/pull/261 Reviewed-By: Ben Noordhuis --- diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index 5d7880a..ea85838 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -1108,6 +1108,11 @@ 'WIN32_LEAN_AND_MEAN', 'OPENSSL_SYSNAME_WIN32', ], + 'msvs_disabled_warnings': [ + 4244, # conversion from 'signed type', possible loss of data + 4267, # conversion from 'unsigned type', possible loss of data + 4996, # 'GetVersionExA': was declared deprecated + ], }, { 'defines': [ # ENGINESDIR must be defined if OPENSSLDIR is.