Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
# once node-gyp supports them.
'conditions': [
['clang==1', {
'LanguageStandard': 'stdcpp20',
'LanguageStandard': 'stdcpp23',
'LanguageStandard_C': 'stdc11',
'AdditionalOptions': [
'/Zc:__cplusplus',
Expand All @@ -308,8 +308,8 @@
}, {
'AdditionalOptions': [
'/Zc:__cplusplus',
# The following option enables c++20 on Windows. This is needed for V8 v12.4+
'-std:c++20',
# The following option enables c++23 on Windows.
'-std:c++23',
# The following option reduces the "error C1060: compiler is out of heap space"
'/Zm2000',
],
Expand Down Expand Up @@ -502,7 +502,7 @@
'-fno-rtti',
'-fno-exceptions',
'-fno-strict-aliasing',
'-std=gnu++20',
'-std=gnu++23',
],
'defines': [ '__STDC_FORMAT_MACROS' ],
'ldflags': [ '-rdynamic' ],
Expand Down Expand Up @@ -675,7 +675,7 @@
['clang==1', {
'xcode_settings': {
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++20', # -std=gnu++20
'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++23', # -std=gnu++23
'CLANG_CXX_LIBRARY': 'libc++',
},
}],
Expand Down
Loading