Closed
Description
Anyone tried to build for Electron 13?
Trying it with prebuild -r electron -t 13.0.1
leads to errors such as
tree-sitter\src\node.cc(32,129): error C2661: 'v8::ArrayBuffer::New': no overloaded function takes 3 arguments
tree-sitter\src\node.cc(36,42): error C3536: 'js_transfer_buffer': cannot be used before it is initialized
tree-sitter\src\node.cc(36,69): error C2665: 'v8::Uint32Array::New': none of the 2 overloads could convert all the argument types
I'm aware of #83, and the problems described above happen after changing binding.gyp
to following
"cflags": [
"-std=c++17",
],
'xcode_settings': {
'CLANG_CXX_LANGUAGE_STANDARD': 'c++17',
},
This does not happen when building for other versions of electron or node.
Metadata
Metadata
Assignees
Labels
No labels