Skip to content

Commit 079fe03

Browse files
committed
build: lower c++ version to 17
1 parent 4652005 commit 079fe03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

binding.gyp

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@
2525
"NAPI_VERSION=<(napi_build_version)",
2626
],
2727
"cflags_cc": [
28-
"-std=c++20"
28+
"-std=c++17"
2929
],
3030
"conditions": [
3131
["OS=='mac'", {
3232
"xcode_settings": {
3333
"GCC_SYMBOLS_PRIVATE_EXTERN": "YES", # -fvisibility=hidden
34-
"CLANG_CXX_LANGUAGE_STANDARD": "c++20",
34+
"CLANG_CXX_LANGUAGE_STANDARD": "c++17",
3535
"MACOSX_DEPLOYMENT_TARGET": "10.9",
3636
},
3737
}],
3838
["OS=='win'", {
3939
"msvs_settings": {
4040
"VCCLCompilerTool": {
4141
"AdditionalOptions": [
42-
"/std:c++20",
42+
"/std:c++17",
4343
],
4444
"RuntimeLibrary": 0,
4545
},

0 commit comments

Comments
 (0)