From afb9fbf82dd432967981db00c06b52d941ead295 Mon Sep 17 00:00:00 2001 From: StefanStojanovic Date: Fri, 19 Apr 2024 17:50:32 +0200 Subject: [PATCH] build: compile with C++20 support on Windows Our Linux build infra is not ready for it yet, but V8 is making it difficult to compile on Windows without it. Refs: https://github.com/nodejs/node/issues/45402 --- common.gypi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 0e028e3bf97d97..deec371ab5484e 100644 --- a/common.gypi +++ b/common.gypi @@ -286,7 +286,7 @@ 'VCCLCompilerTool': { 'AdditionalOptions': [ '/Zc:__cplusplus', - '-std:c++17' + '-std:c++20' ], 'BufferSecurityCheck': 'true', 'DebugInformationFormat': 1, # /Z7 embed info in .obj files