Skip to content

Commit 9dfa30b

Browse files
richardlaunodejs-github-bot
authored andcommitted
build: compile with C++17 (MSVC)
PR-URL: #38807 Refs: #38788 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
1 parent 228e703 commit 9dfa30b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

common.gypi

+4-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,10 @@
259259
],
260260
'msvs_settings': {
261261
'VCCLCompilerTool': {
262-
'AdditionalOptions': ['/Zc:__cplusplus'],
262+
'AdditionalOptions': [
263+
'/Zc:__cplusplus',
264+
'-std:c++17'
265+
],
263266
'BufferSecurityCheck': 'true',
264267
'DebugInformationFormat': 1, # /Z7 embed info in .obj files
265268
'ExceptionHandling': 0, # /EHsc

0 commit comments

Comments
 (0)