db5a3c014a
* chore: bump node in DEPS to v16.14.0 * src: add flags for controlling process behavior https://github.com/nodejs/node/pull/40339 * src: add x509.fingerprint512 to crypto module https://github.com/nodejs/node/pull/39809 * deps: upgrade to libuv 1.43.0 https://github.com/nodejs/node/pull/41398 * chore: fixup patch indices * chore: add missing filenames https://github.com/nodejs/node/pull/39283 https://github.com/nodejs/node/pull/40665 * crypto: trim input for NETSCAPE_SPKI_b64_decode https://github.com/nodejs/node/pull/40757 * chore: update patches * chore: bump node in DEPS to v16.14.1 * tools: enable no-empty ESLint rule https://github.com/nodejs/node/pull/41831 * chore: update patches * chore: update patches * chore: bump node in DEPS to v16.14.2 * chore: update patches Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
29 lines
950 B
Diff
29 lines
950 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: deepak1556 <hop2deep@gmail.com>
|
|
Date: Tue, 16 Nov 2021 20:05:57 +0900
|
|
Subject: fix: suppress clang -Wdeprecated-declarations in libuv
|
|
|
|
Should be upstreamed.
|
|
|
|
diff --git a/deps/uv/src/win/util.c b/deps/uv/src/win/util.c
|
|
index 2d4cc0aaa02e61bf359e80eca27527efb49fd85e..aaa16052e2a9c7d1dca82763c41c0890371f1471 100644
|
|
--- a/deps/uv/src/win/util.c
|
|
+++ b/deps/uv/src/win/util.c
|
|
@@ -1950,10 +1950,17 @@ int uv_os_uname(uv_utsname_t* buffer) {
|
|
#ifdef _MSC_VER
|
|
#pragma warning(suppress : 4996)
|
|
#endif
|
|
+ #ifdef __clang__
|
|
+ #pragma clang diagnostic push
|
|
+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
+ #endif
|
|
if (GetVersionExW(&os_info) == 0) {
|
|
r = uv_translate_sys_error(GetLastError());
|
|
goto error;
|
|
}
|
|
+ #ifdef __clang__
|
|
+ #pragma clang diagnostic pop
|
|
+ #endif
|
|
}
|
|
|
|
/* Populate the version field. */
|