From 5be9958711b3b514088164e6942ea9fcc3e65fc2 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Sat, 11 Jan 2020 05:47:20 +0000 Subject: [PATCH] build: silence OpenSSL Windows compiler warnings Silence the following compiler warning on Windows: `'function': different 'const' qualifiers` PR-URL: https://github.com/nodejs/node/pull/31311 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- deps/openssl/openssl_common.gypi | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/openssl/openssl_common.gypi b/deps/openssl/openssl_common.gypi index 93b87064b3fb3e..d866630f444291 100644 --- a/deps/openssl/openssl_common.gypi +++ b/deps/openssl/openssl_common.gypi @@ -32,6 +32,7 @@ 'cflags': [ '-W3', '-wd4090', '-Gs0', '-GF', '-Gy', '-nologo','/O2', ], + 'msvs_disabled_warnings': [4090], 'link_settings': { 'libraries': [ '-lws2_32.lib',