=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for sqlrelay-nodejs-1.8.0nb2 ../../../replace.sh @NODEJSINCLUDEDIRS@ "" binding_in.gyp > temp1.gyp ../../../replace.sh @NODEJSCFLAGS@ "-std=c++11 -I/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/c++ -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include" temp1.gyp > temp2.gyp ../../../replace.sh @NODEJSLIBS@ "-L/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/c++/.libs -lsqlrclient -L/usr/pkg/lib -lrudiments -lpthread -lssl -lcrypto -lgssapi -lkrb5 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lpcre -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -lcurl -lcrypt" temp2.gyp > binding.gyp rm -f temp1.gyp temp2.gyp ../../../replace.sh @SQLR_VERSION@ "1.8.0" package_in.json > package.json /usr/pkg/bin/node /usr/pkg/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js -v --nodedir /usr/pkg configure build gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/usr/pkg/bin/node', gyp verb cli '/usr/pkg/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli '-v', gyp verb cli '--nodedir', gyp verb cli '/usr/pkg', gyp verb cli 'configure', gyp verb cli 'build' gyp verb cli ] gyp info using node-gyp@5.1.0 gyp info using node@14.18.1 | netbsd | x64 gyp verb command configure [] gyp verb get node dir compiling against specified --nodedir dev files: /usr/pkg gyp verb build dir attempting to create "build" dir: /tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build gyp verb build dir "build" dir needed to be created? /tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build gyp verb build/config.gypi creating config file gyp verb build/config.gypi writing out config file: /tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build/config.gypi gyp verb config.gypi checking for gypi file: /tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/config.gypi gyp verb common.gypi checking for gypi file: /tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/common.gypi gyp verb gyp gyp format was not specified; forcing "make" gyp info spawn /usr/pkg/bin/python3.9 gyp info spawn args [ gyp info spawn args '/usr/pkg/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/pkg/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/usr/pkg/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/usr/pkg', gyp info spawn args '-Dnode_gyp_dir=/usr/pkg/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/usr/pkg/$(Configuration)/node.lib', gyp info spawn args '-Dmodule_root_dir=/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] gyp verb command build [] gyp verb build type Release gyp verb architecture x64 gyp verb node dev dir /usr/pkg gyp verb `which` succeeded for `gmake` /tmp/databases/sqlrelay-nodejs/work/.tools/bin/gmake gyp info spawn gmake gyp info spawn argsgmake[1]: Entering directory '/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build' [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ] c++ '-DNODE_GYP_MODULE_NAME=sqlrelay' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DBUILDING_NODE_EXTENSION' -I/usr/pkg/include/node -I/usr/pkg/src -I/usr/pkg/deps/openssl/config -I/usr/pkg/deps/openssl/openssl/include -I/usr/pkg/deps/uv/include -I/usr/pkg/deps/zlib -I/usr/pkg/deps/v8/include -I../. -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -std=c++11 -I/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/c++ -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF ./Release/.deps/Release/obj.target/sqlrelay/sqlrelay.o.d.raw -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/python3.9 -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/python3.9 -Wall -pipe -Wno-error=date-time -c -o Release/obj.target/sqlrelay/sqlrelay.o ../sqlrelay.cpp ../sqlrelay.cpp: In static member function 'static void SQLRConnection::Init(v8::Local)': ../sqlrelay.cpp:294:47: error: no matching function for call to 'v8::FunctionTemplate::SetClassName(v8::MaybeLocal)' tpl->SetClassName(newString("SQLRConnection")); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:6537:8: note: candidate: void v8::FunctionTemplate::SetClassName(v8::Local) void SetClassName(Local name); ^~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:6537:8: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:352:59: error: no matching function for call to 'v8::Object::Set(v8::MaybeLocal, v8::Local)' exports->Set(newString("SQLRConnection"),GetFunction(tpl)); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../sqlrelay.cpp: In static member function 'static void SQLRConnection::New(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:367:3: note: in expansion of macro 'checkArgCount' checkArgCount(args,7); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setConnectTimeout(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:396:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setAuthenticationTimeout(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:407:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setResponseTimeout(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:419:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setBindVariableDelimiters(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:430:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterQuestionMarkSupported(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:442:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterColonSupported(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:455:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterAtSignSupported(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:468:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterDollarSignSupported(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:481:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::enableKerberos(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:493:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,3); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::enableTls(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:506:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,7); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::disableEncryption(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:523:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::endSession(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:534:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::suspendSession(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:545:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getConnectionPort(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:556:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getConnectionSocket(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:567:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:571:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:571:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:571:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:571:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:571:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::resumeSession(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:578:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::ping(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:590:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::identify(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:601:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:605:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:605:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:605:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:605:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:605:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::dbVersion(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:612:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:616:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:616:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:616:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:616:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:616:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::dbHostName(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:623:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:627:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:627:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:627:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:627:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:627:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::dbIpAddress(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:634:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:638:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:638:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:638:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:638:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:638:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::serverVersion(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:645:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:649:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:649:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:649:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:649:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:649:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::clientVersion(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:656:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:660:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:660:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:660:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:660:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:660:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::bindFormat(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:667:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:671:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:671:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:671:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:671:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:671:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::selectDatabase(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:678:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getCurrentDatabase(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:689:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:693:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:693:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:693:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:693:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:693:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getLastInsertId(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:700:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::autoCommitOn(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:711:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::autoCommitOff(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:722:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::begin(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:733:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::commit(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:744:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::rollback(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:755:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::errorMessage(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:766:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:770:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:770:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:770:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:770:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:770:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::errorNumber(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:777:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::debugOn(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:788:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::debugOff(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:799:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getDebug(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:810:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setDebugFile(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:821:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setClientInfo(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:832:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getClientInfo(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:843:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:847:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:847:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:847:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:847:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:847:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::Init(v8::Local)': ../sqlrelay.cpp:862:43: error: no matching function for call to 'v8::FunctionTemplate::SetClassName(v8::MaybeLocal)' tpl->SetClassName(newString("SQLRCursor")); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:6537:8: note: candidate: void v8::FunctionTemplate::SetClassName(v8::Local) void SetClassName(Local name); ^~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:6537:8: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:978:55: error: no matching function for call to 'v8::Object::Set(v8::MaybeLocal, v8::Local)' exports->Set(newString("SQLRCursor"),GetFunction(tpl)); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../sqlrelay.cpp: In static member function 'static void SQLRCursor::New(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:993:3: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::setResultSetBufferSize(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1019:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getResultSetBufferSize(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1030:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::dontGetColumnInfo(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1041:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnInfo(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1052:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::mixedCaseColumnNames(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1063:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::upperCaseColumnNames(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1074:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::lowerCaseColumnNames(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1085:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::cacheToFile(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1096:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::setCacheTtl(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1107:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getCacheFileName(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1118:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1122:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1122:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1122:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1122:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1122:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::cacheOff(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1129:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getDatabaseList(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1140:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getTableList(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1151:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnList(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1162:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::sendQuery(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:1182:3: note: in expansion of macro 'throwWrongNumberOfArguments' throwWrongNumberOfArguments(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::sendFileQuery(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1192:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::prepareQuery(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1204:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:1212:3: note: in expansion of macro 'throwWrongNumberOfArguments' throwWrongNumberOfArguments(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::prepareFileQuery(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1222:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::substitution(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1242:4: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:1250:3: note: in expansion of macro 'throwWrongNumberOfArguments' throwWrongNumberOfArguments(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::substitutions(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:1270:29: error: no matching function for call to 'v8::Array::Get(v8::Local)' vals->Get(newInteger(0)); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1281:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1281:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1284:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))) ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1284:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))) ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1297:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1297:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1300:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i)))); ^ ../sqlrelay.cpp:106:25: note: in definition of macro 'toInteger' #define toInteger(arg) arg->IntegerValue(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1304:6: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1308:4: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:1323:29: error: no matching function for call to 'v8::Array::Get(v8::Local)' vals->Get(newInteger(0)); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1333:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1333:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1337:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:107:24: note: in definition of macro 'toNumber' #define toNumber(arg) arg->NumberValue(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1341:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1345:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i)))); ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1349:6: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1353:4: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:1356:3: note: in expansion of macro 'throwWrongNumberOfArguments' throwWrongNumberOfArguments(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBind(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1379:4: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:1412:3: note: in expansion of macro 'throwWrongNumberOfArguments' throwWrongNumberOfArguments(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBindBlob(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1422:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,3); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBindClob(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1435:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,3); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBinds(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:1458:29: error: no matching function for call to 'v8::Array::Get(v8::Local)' vals->Get(newInteger(0)); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1469:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1469:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1472:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))) ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1472:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))) ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1485:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1485:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1489:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i)))); ^ ../sqlrelay.cpp:106:25: note: in definition of macro 'toInteger' #define toInteger(arg) arg->IntegerValue(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1493:6: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1497:4: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:1512:29: error: no matching function for call to 'v8::Array::Get(v8::Local)' vals->Get(newInteger(0)); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1523:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1523:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1527:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:107:24: note: in definition of macro 'toNumber' #define toNumber(arg) arg->NumberValue(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1531:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i))), ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:1535:21: error: no matching function for call to 'v8::Array::Get(v8::Local)' newInteger(i)))); ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() ^~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, v8::Local) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: v8::MaybeLocal v8::Object::Get(v8::Local, uint32_t) V8_WARN_UNUSED_RESULT MaybeLocal Get(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1539:6: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1543:4: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:1546:3: note: in expansion of macro 'throwWrongNumberOfArguments' throwWrongNumberOfArguments(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindString(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1556:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindInteger(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1568:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindDouble(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1579:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindBlob(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1590:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindClob(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1601:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindCursor(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1612:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::clearBinds(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1623:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::countBindVariables(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1634:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::validateBinds(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1645:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::validBind(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1656:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::executeQuery(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1667:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::fetchFromBindCursor(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1678:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindString(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1689:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1694:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1694:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1694:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1694:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1694:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindInteger(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1701:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindDouble(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1713:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindBlob(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1725:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1730:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1730:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1730:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1730:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1730:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindClob(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1737:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1742:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1742:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1742:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1742:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1742:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindLength(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1749:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindCursor(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1761:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::openCachedResultSet(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1773:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::colCount(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1785:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::rowCount(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1796:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::totalRows(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1807:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::affectedRows(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1818:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::firstRowIndex(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1829:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::endOfResultSet(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1840:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::errorMessage(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1851:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1855:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1855:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1855:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1855:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1855:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::errorNumber(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1862:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getNullsAsEmptyStrings(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1873:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getNullsAsNulls(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1884:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getField(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1895:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1906:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1909:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1909:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1909:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1909:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:1909:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getFieldAsInteger(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1916:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1929:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getFieldAsDouble(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1939:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1952:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getFieldLength(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1962:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:1975:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getRow(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1985:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:1992:49: error: no matching function for call to 'v8::Array::Set(v8::Local, v8::MaybeLocal)' result->Set(newInteger(i),newString(fields[i])); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getRowLengths(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2002:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:2011:26: error: no matching function for call to 'v8::Array::Set(v8::Local, v8::Local)' newUint32(lengths[i])); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnNames(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2021:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:2028:48: error: no matching function for call to 'v8::Array::Set(v8::Local, v8::MaybeLocal)' result->Set(newInteger(i),newString(names[i])); ^ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, v8::Local, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: v8::Maybe v8::Object::Set(v8::Local, uint32_t, v8::Local) V8_WARN_UNUSED_RESULT Maybe Set(Local context, uint32_t index, ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate expects 3 arguments, 2 provided ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnName(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2038:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2043:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2043:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2043:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2043:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2043:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnType(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2050:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2059:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue::Set(v8::MaybeLocal)' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2062:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: template void v8::ReturnValue::Set(const v8::Global&) [with S = S; T = v8::Value] V8_INLINE void Set(const Global& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::Global' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2062:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: template void v8::ReturnValue::Set(const v8::TracedReferenceBase&) [with S = S; T = v8::Value] V8_INLINE void Set(const TracedReferenceBase& handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'const v8::TracedReferenceBase' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2062:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: template void v8::ReturnValue::Set(v8::Local) [with S = S; T = v8::Value] V8_INLINE void Set(const Local handle); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal' is not derived from 'v8::Local' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2062:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: void v8::ReturnValue::Set(bool) [with T = v8::Value] void ReturnValue::Set(bool value) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'bool' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: void v8::ReturnValue::Set(double) [with T = v8::Value] void ReturnValue::Set(double i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'double' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: void v8::ReturnValue::Set(int32_t) [with T = v8::Value; int32_t = int] void ReturnValue::Set(int32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'int32_t {aka int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: void v8::ReturnValue::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int] void ReturnValue::Set(uint32_t i) { ^~~~~~~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'uint32_t {aka unsigned int}' /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: template void v8::ReturnValue::Set(S*) [with S = S; T = v8::Value] V8_INLINE void Set(S* whatever); ^~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: mismatched types 'S*' and 'v8::MaybeLocal' #define returnString(result) if (result) { args.GetReturnValue().Set(newString(result)); } else { args.GetReturnValue().Set(Null(isolate)); } ^ ../sqlrelay.cpp:2062:2: note: in expansion of macro 'returnString' returnString(result); ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnLength(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2069:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2078:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnPrecision(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2088:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2097:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnScale(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2107:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2116:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsNullable(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2126:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2135:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsPrimaryKey(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2145:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2154:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsUnique(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2165:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2174:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsPartOfKey(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2184:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2193:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsUnsigned(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2203:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2212:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsZeroFilled(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2222:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2231:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsBinary(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2241:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2250:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsAutoIncrement(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2260:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2271:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getLongest(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2281:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp:115:116: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) ^ ../sqlrelay.cpp:2290:3: note: in expansion of macro 'throwInvalidArgumentType' throwInvalidArgumentType(); ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::suspendResultSet(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2300:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getResultSetId(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2311:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::resumeResultSet(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2322:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,1); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::resumeCachedResultSet(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2333:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,2); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' ../sqlrelay.cpp: In static member function 'static void SQLRCursor::closeResultSet(const v8::FunctionCallbackInfo&)': ../sqlrelay.cpp:114:123: error: no matching function for call to 'v8::Exception::TypeError(v8::MaybeLocal)' #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) ^ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2346:2: note: in expansion of macro 'checkArgCount' checkArgCount(args,0); ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8:0: /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: candidate: static v8::Local v8::Exception::TypeError(v8::Local) static Local TypeError(Local message); ^~~~~~~~~ /tmp/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:23: note: no known conversion for argument 1 from 'v8::MaybeLocal' to 'v8::Local' gmake[1]: *** [sqlrelay.target.mk:109: Release/obj.target/sqlrelay/sqlrelay.o] Error 1 gmake[1]: Leaving directory '/tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build' gyp ERR! build error gyp ERR! stack Error: `gmake` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/pkg/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System NetBSD 9.0 gyp ERR! command "/usr/pkg/bin/node" "/usr/pkg/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "-v" "--nodedir" "/usr/pkg" "configure" "build" gyp ERR! cwd /tmp/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs gyp ERR! node -v v14.18.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok gmake: *** [Makefile:16: build/Release/sqlrelay.node] Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/sqlrelay-nodejs *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/databases/sqlrelay-nodejs