From 4815f22ad395fa3009eb88a392cecf950a7e9a07 Mon Sep 17 00:00:00 2001 From: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com> Date: Sun, 5 Feb 2023 09:43:42 +0100 Subject: [PATCH] Update build.c --- build.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.c b/build.c index 1c43c63..2258a76 100644 --- a/build.c +++ b/build.c @@ -12,7 +12,7 @@ int main(int argc, char **argv) { char *EXAMPLE_FILES[] = {"Client", "Http3Server", "Broadcast", "HelloWorld", "Crc32", "ServerName", "EchoServer", "BroadcastingEchoServer", "UpgradeSync", "UpgradeAsync"}; - strcat(CXXFLAGS, " -O3 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion -std=c++2a -Isrc -IuSockets/src"); + strcat(CXXFLAGS, " -O3 -Wpedantic -Wall -Wextra -Wsign-conversion -Wconversion -std=c++20 -Isrc -IuSockets/src"); strcat(LDFLAGS, " uSockets/*.o"); // By default we use LTO, but Windows does not support it @@ -88,4 +88,4 @@ int main(int argc, char **argv) { } else if (!strcmp(argv[1], "all")) { printf("all target does nothing yet\n"); } -} \ No newline at end of file +}