Skip to content

Commit afb9fbf

Browse files
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: nodejs#45402
1 parent 3cf6888 commit afb9fbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
'VCCLCompilerTool': {
287287
'AdditionalOptions': [
288288
'/Zc:__cplusplus',
289-
'-std:c++17'
289+
'-std:c++20'
290290
],
291291
'BufferSecurityCheck': 'true',
292292
'DebugInformationFormat': 1, # /Z7 embed info in .obj files

0 commit comments

Comments
 (0)