mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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 PR-URL: https://github.com/nodejs/node/pull/52465 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
This commit is contained in:
parent
84aeeff06a
commit
b338202fab
@ -286,7 +286,8 @@
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': [
|
||||
'/Zc:__cplusplus',
|
||||
'-std:c++17'
|
||||
# The following option enables c++20 on Windows. This is needed for V8 v12.4+
|
||||
'-std:c++20',
|
||||
],
|
||||
'BufferSecurityCheck': 'true',
|
||||
'DebugInformationFormat': 1, # /Z7 embed info in .obj files
|
||||
|
Loading…
Reference in New Issue
Block a user