From bdf5c0ca49f721f065421e230f7f9c9d3acff882 Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Thu, 26 Dec 2019 20:21:53 +0100 Subject: [PATCH] Update uWS, add /W3 to Windows builds --- build.c | 2 +- uWebSockets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.c b/build.c index faaeeab..ce686d5 100644 --- a/build.c +++ b/build.c @@ -77,7 +77,7 @@ void copy_files() { void build_windows(char *arch) { /* For all versions */ for (unsigned int i = 0; i < sizeof(versions) / sizeof(struct node_version); i++) { - run("cl /D \"LIBUS_USE_LIBUV\" /D \"LIBUS_USE_OPENSSL\" /std:c++17 /I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c " + run("cl /W3 /D \"LIBUS_USE_LIBUV\" /D \"LIBUS_USE_OPENSSL\" /std:c++17 /I uWebSockets/uSockets/src uWebSockets/uSockets/src/*.c " "uWebSockets/uSockets/src/eventing/*.c uWebSockets/uSockets/src/crypto/*.c /I targets/node-%s/include/node /I uWebSockets/src /EHsc " "/Ox /LD /Fedist/uws_win32_%s_%s.node src/addon.cpp targets/node-%s/node.lib", versions[i].name, arch, versions[i].abi, versions[i].name); diff --git a/uWebSockets b/uWebSockets index 6d1a6ba..cccbf2a 160000 --- a/uWebSockets +++ b/uWebSockets @@ -1 +1 @@ -Subproject commit 6d1a6ba1bdbcb32ad5f40088ac89b518824418ec +Subproject commit cccbf2acabb1a785d020b978ca09269ad63f0c03