+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/sqlrelay-nodejs-1.8.0nb3/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/sqlrelay-nodejs-1.8.0nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for sqlrelay-nodejs-1.8.0nb3 ../../../replace.sh @NODEJSINCLUDEDIRS@ "" binding_in.gyp > temp1.gyp ../../../replace.sh @NODEJSCFLAGS@ "-std=c++11 -I/home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/c++ -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include" temp1.gyp > temp2.gyp ../../../replace.sh @NODEJSLIBS@ "-L/home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/c++/.libs -lsqlrclient -L/opt/local/lib -lrudiments -lsocket -lpthread -L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -L/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lkrb5 -lk5crypto -lcom_err -L/opt/local/lib -Wl,-R/opt/local/lib -lpcre -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lcurl -ldl" temp2.gyp > binding.gyp rm -f temp1.gyp temp2.gyp ../../../replace.sh @SQLR_VERSION@ "1.8.0" package_in.json > package.json /opt/local/bin/node /opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js -v --nodedir /opt/local configure build gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/opt/local/bin/node', gyp verb cli '/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli '-v', gyp verb cli '--nodedir', gyp verb cli '/opt/local', 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.3 | sunos | x64 gyp verb command configure [] gyp verb get node dir compiling against specified --nodedir dev files: /opt/local gyp verb build dir attempting to create "build" dir: /home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build gyp verb build dir "build" dir needed to be created? /home/pbulk/build/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: /home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build/config.gypi gyp verb config.gypi checking for gypi file: /home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/config.gypi gyp verb common.gypi checking for gypi file: /home/pbulk/build/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 /opt/local/bin/python3.9 gyp info spawn args [ gyp info spawn args '/opt/local/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 '/home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/opt/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/opt/local/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/opt/local', gyp info spawn args '-Dnode_gyp_dir=/opt/local/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/opt/local/$(Configuration)/node.lib', gyp info spawn args '-Dmodule_root_dir=/home/pbulk/build/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 /opt/local gyp verb `which` succeeded for `make` /home/pbulk/build/databases/sqlrelay-nodejs/work/.tools/bin/make gyp info spawn make gyp info spawn args [ 'V=1', 'BUILDTYPE=Release', '-C', 'build' ] make[1]: Entering directory '/home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build' g++ '-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/opt/local/include/node -I/opt/local/src -I/opt/local/deps/openssl/config -I/opt/local/deps/openssl/openssl/include -I/opt/local/deps/uv/include -I/opt/local/deps/zlib -I/opt/local/deps/v8/include -I../. -fPIC -Wall -Wextra -Wno-unused-parameter -m64 -pthreads -std=c++11 -I/home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/c++ -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/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/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/python3.9 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/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<v8::Object>)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:294:20: note: in expansion of macro 'newString' 294 | tpl->SetClassName(newString("SQLRConnection")); | ^~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:6537:35: note: initializing argument 1 of 'void v8::FunctionTemplate::SetClassName(v8::Local<v8::String>)' 6537 | void SetClassName(Local<String> name); | ~~~~~~~~~~~~~~^~~~ ../sqlrelay.cpp:352:59: error: no matching function for call to 'v8::Object::Set(v8::MaybeLocal<v8::String>, v8::Local<v8::Function>)' 352 | exports->Set(newString("SQLRConnection"),GetFunction(tpl)); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)' 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)' 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | ^~~ /home/pbulk/build/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<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:367:3: note: in expansion of macro 'checkArgCount' 367 | checkArgCount(args,7); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setConnectTimeout(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:396:2: note: in expansion of macro 'checkArgCount' 396 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setAuthenticationTimeout(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:407:2: note: in expansion of macro 'checkArgCount' 407 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setResponseTimeout(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:419:2: note: in expansion of macro 'checkArgCount' 419 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setBindVariableDelimiters(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:430:2: note: in expansion of macro 'checkArgCount' 430 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterQuestionMarkSupported(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:442:2: note: in expansion of macro 'checkArgCount' 442 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterColonSupported(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:455:2: note: in expansion of macro 'checkArgCount' 455 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterAtSignSupported(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:468:2: note: in expansion of macro 'checkArgCount' 468 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getBindVariableDelimiterDollarSignSupported(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:481:2: note: in expansion of macro 'checkArgCount' 481 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::enableKerberos(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:493:2: note: in expansion of macro 'checkArgCount' 493 | checkArgCount(args,3); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::enableTls(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:506:2: note: in expansion of macro 'checkArgCount' 506 | checkArgCount(args,7); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::disableEncryption(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:523:2: note: in expansion of macro 'checkArgCount' 523 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::endSession(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:534:2: note: in expansion of macro 'checkArgCount' 534 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::suspendSession(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:545:2: note: in expansion of macro 'checkArgCount' 545 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getConnectionPort(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:556:2: note: in expansion of macro 'checkArgCount' 556 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getConnectionSocket(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:567:2: note: in expansion of macro 'checkArgCount' 567 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 571 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 571 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 571 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 571 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 571 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::resumeSession(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:578:2: note: in expansion of macro 'checkArgCount' 578 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::ping(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:590:2: note: in expansion of macro 'checkArgCount' 590 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::identify(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:601:2: note: in expansion of macro 'checkArgCount' 601 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 605 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 605 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 605 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 605 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 605 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::dbVersion(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:612:2: note: in expansion of macro 'checkArgCount' 612 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 616 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 616 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 616 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 616 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 616 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::dbHostName(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:623:2: note: in expansion of macro 'checkArgCount' 623 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 627 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 627 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 627 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 627 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 627 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::dbIpAddress(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:634:2: note: in expansion of macro 'checkArgCount' 634 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 638 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 638 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 638 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 638 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 638 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::serverVersion(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:645:2: note: in expansion of macro 'checkArgCount' 645 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 649 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 649 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 649 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 649 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 649 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::clientVersion(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:656:2: note: in expansion of macro 'checkArgCount' 656 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 660 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 660 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 660 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 660 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 660 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::bindFormat(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:667:2: note: in expansion of macro 'checkArgCount' 667 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 671 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 671 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 671 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 671 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 671 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::selectDatabase(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:678:2: note: in expansion of macro 'checkArgCount' 678 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getCurrentDatabase(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:689:2: note: in expansion of macro 'checkArgCount' 689 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 693 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 693 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 693 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 693 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 693 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getLastInsertId(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:700:2: note: in expansion of macro 'checkArgCount' 700 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::autoCommitOn(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:711:2: note: in expansion of macro 'checkArgCount' 711 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::autoCommitOff(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:722:2: note: in expansion of macro 'checkArgCount' 722 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::begin(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:733:2: note: in expansion of macro 'checkArgCount' 733 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::commit(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:744:2: note: in expansion of macro 'checkArgCount' 744 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::rollback(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:755:2: note: in expansion of macro 'checkArgCount' 755 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::errorMessage(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:766:2: note: in expansion of macro 'checkArgCount' 766 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 770 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 770 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 770 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 770 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 770 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::errorNumber(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:777:2: note: in expansion of macro 'checkArgCount' 777 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::debugOn(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:788:2: note: in expansion of macro 'checkArgCount' 788 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::debugOff(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:799:2: note: in expansion of macro 'checkArgCount' 799 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getDebug(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:810:2: note: in expansion of macro 'checkArgCount' 810 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setDebugFile(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:821:2: note: in expansion of macro 'checkArgCount' 821 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::setClientInfo(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:832:2: note: in expansion of macro 'checkArgCount' 832 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRConnection::getClientInfo(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:843:2: note: in expansion of macro 'checkArgCount' 843 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 847 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 847 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 847 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 847 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 847 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::Init(v8::Local<v8::Object>)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:862:20: note: in expansion of macro 'newString' 862 | tpl->SetClassName(newString("SQLRCursor")); | ^~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:6537:35: note: initializing argument 1 of 'void v8::FunctionTemplate::SetClassName(v8::Local<v8::String>)' 6537 | void SetClassName(Local<String> name); | ~~~~~~~~~~~~~~^~~~ ../sqlrelay.cpp:978:55: error: no matching function for call to 'v8::Object::Set(v8::MaybeLocal<v8::String>, v8::Local<v8::Function>)' 978 | exports->Set(newString("SQLRCursor"),GetFunction(tpl)); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)' 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)' 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | ^~~ /home/pbulk/build/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<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:993:3: note: in expansion of macro 'checkArgCount' 993 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::setResultSetBufferSize(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1019:2: note: in expansion of macro 'checkArgCount' 1019 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getResultSetBufferSize(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1030:2: note: in expansion of macro 'checkArgCount' 1030 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::dontGetColumnInfo(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1041:2: note: in expansion of macro 'checkArgCount' 1041 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnInfo(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1052:2: note: in expansion of macro 'checkArgCount' 1052 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::mixedCaseColumnNames(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1063:2: note: in expansion of macro 'checkArgCount' 1063 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::upperCaseColumnNames(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1074:2: note: in expansion of macro 'checkArgCount' 1074 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::lowerCaseColumnNames(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1085:2: note: in expansion of macro 'checkArgCount' 1085 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::cacheToFile(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1096:2: note: in expansion of macro 'checkArgCount' 1096 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::setCacheTtl(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1107:2: note: in expansion of macro 'checkArgCount' 1107 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getCacheFileName(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1118:2: note: in expansion of macro 'checkArgCount' 1118 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 1122 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 1122 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 1122 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 1122 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 1122 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::cacheOff(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1129:2: note: in expansion of macro 'checkArgCount' 1129 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getDatabaseList(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1140:2: note: in expansion of macro 'checkArgCount' 1140 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getTableList(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1151:2: note: in expansion of macro 'checkArgCount' 1151 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnList(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1162:2: note: in expansion of macro 'checkArgCount' 1162 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::sendQuery(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:1182:3: note: in expansion of macro 'throwWrongNumberOfArguments' 1182 | throwWrongNumberOfArguments(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::sendFileQuery(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1192:2: note: in expansion of macro 'checkArgCount' 1192 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::prepareQuery(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1204:2: note: in expansion of macro 'checkArgCount' 1204 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:1212:3: note: in expansion of macro 'throwWrongNumberOfArguments' 1212 | throwWrongNumberOfArguments(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::prepareFileQuery(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1222:2: note: in expansion of macro 'checkArgCount' 1222 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::substitution(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1242:4: note: in expansion of macro 'throwInvalidArgumentType' 1242 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:1250:3: note: in expansion of macro 'throwWrongNumberOfArguments' 1250 | throwWrongNumberOfArguments(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::substitutions(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:1270:29: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::Integer>)' 1270 | vals->Get(newInteger(0)); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1281 | newInteger(i))), | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1281 | newInteger(i))), | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1284 | newInteger(i))) | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1284 | newInteger(i))) | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1297 | newInteger(i))), | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1297 | newInteger(i))), | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1300 | newInteger(i)))); | ^ ../sqlrelay.cpp:106:25: note: in definition of macro 'toInteger' 106 | #define toInteger(arg) arg->IntegerValue(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1304:6: note: in expansion of macro 'throwInvalidArgumentType' 1304 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1308:4: note: in expansion of macro 'throwInvalidArgumentType' 1308 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:1323:29: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::Integer>)' 1323 | vals->Get(newInteger(0)); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1333 | newInteger(i))), | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1333 | newInteger(i))), | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1337 | newInteger(i))), | ^ ../sqlrelay.cpp:107:24: note: in definition of macro 'toNumber' 107 | #define toNumber(arg) arg->NumberValue(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1341 | newInteger(i))), | ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' 105 | #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1345 | newInteger(i)))); | ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' 105 | #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1349:6: note: in expansion of macro 'throwInvalidArgumentType' 1349 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1353:4: note: in expansion of macro 'throwInvalidArgumentType' 1353 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:1356:3: note: in expansion of macro 'throwWrongNumberOfArguments' 1356 | throwWrongNumberOfArguments(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBind(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1379:4: note: in expansion of macro 'throwInvalidArgumentType' 1379 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:1412:3: note: in expansion of macro 'throwWrongNumberOfArguments' 1412 | throwWrongNumberOfArguments(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBindBlob(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1422:2: note: in expansion of macro 'checkArgCount' 1422 | checkArgCount(args,3); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBindClob(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1435:2: note: in expansion of macro 'checkArgCount' 1435 | checkArgCount(args,3); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::inputBinds(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:1458:29: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::Integer>)' 1458 | vals->Get(newInteger(0)); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1469 | newInteger(i))), | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1469 | newInteger(i))), | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1472 | newInteger(i))) | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1472 | newInteger(i))) | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1485 | newInteger(i))), | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1485 | newInteger(i))), | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1489 | newInteger(i)))); | ^ ../sqlrelay.cpp:106:25: note: in definition of macro 'toInteger' 106 | #define toInteger(arg) arg->IntegerValue(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1493:6: note: in expansion of macro 'throwInvalidArgumentType' 1493 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1497:4: note: in expansion of macro 'throwInvalidArgumentType' 1497 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:1512:29: error: no matching function for call to 'v8::Array::Get(v8::Local<v8::Integer>)' 1512 | vals->Get(newInteger(0)); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1523 | newInteger(i))), | ^ ../sqlrelay.cpp:103:26: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1523 | newInteger(i))), | ^ ../sqlrelay.cpp:103:74: note: in definition of macro 'toString' 103 | #define toString(arg) ((arg->IsNull())?NULL:*(String::Utf8Value(isolate,arg))) | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1527 | newInteger(i))), | ^ ../sqlrelay.cpp:107:24: note: in definition of macro 'toNumber' 107 | #define toNumber(arg) arg->NumberValue(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1531 | newInteger(i))), | ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' 105 | #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/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<v8::Integer>)' 1535 | newInteger(i)))); | ^ ../sqlrelay.cpp:105:24: note: in definition of macro 'toUint32' 105 | #define toUint32(arg) arg->Uint32Value(isolate->GetCurrentContext()).ToChecked() | ^~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)' 3717 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3717:43: note: candidate expects 2 arguments, 1 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate: 'v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)' 3720 | V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3720:43: note: candidate expects 2 arguments, 1 provided ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1539:6: note: in expansion of macro 'throwInvalidArgumentType' 1539 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1543:4: note: in expansion of macro 'throwInvalidArgumentType' 1543 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:1546:3: note: in expansion of macro 'throwWrongNumberOfArguments' 1546 | throwWrongNumberOfArguments(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindString(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1556:2: note: in expansion of macro 'checkArgCount' 1556 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindInteger(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1568:2: note: in expansion of macro 'checkArgCount' 1568 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindDouble(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1579:2: note: in expansion of macro 'checkArgCount' 1579 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindBlob(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1590:2: note: in expansion of macro 'checkArgCount' 1590 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindClob(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1601:2: note: in expansion of macro 'checkArgCount' 1601 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::defineOutputBindCursor(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1612:2: note: in expansion of macro 'checkArgCount' 1612 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::clearBinds(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1623:2: note: in expansion of macro 'checkArgCount' 1623 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::countBindVariables(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1634:2: note: in expansion of macro 'checkArgCount' 1634 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::validateBinds(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1645:2: note: in expansion of macro 'checkArgCount' 1645 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::validBind(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1656:2: note: in expansion of macro 'checkArgCount' 1656 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::executeQuery(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1667:2: note: in expansion of macro 'checkArgCount' 1667 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::fetchFromBindCursor(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1678:2: note: in expansion of macro 'checkArgCount' 1678 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindString(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1689:2: note: in expansion of macro 'checkArgCount' 1689 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 1694 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 1694 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 1694 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 1694 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 1694 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindInteger(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1701:2: note: in expansion of macro 'checkArgCount' 1701 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindDouble(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1713:2: note: in expansion of macro 'checkArgCount' 1713 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindBlob(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1725:2: note: in expansion of macro 'checkArgCount' 1725 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 1730 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 1730 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 1730 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 1730 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 1730 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindClob(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1737:2: note: in expansion of macro 'checkArgCount' 1737 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 1742 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 1742 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 1742 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 1742 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 1742 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindLength(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1749:2: note: in expansion of macro 'checkArgCount' 1749 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getOutputBindCursor(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1761:2: note: in expansion of macro 'checkArgCount' 1761 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::openCachedResultSet(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1773:2: note: in expansion of macro 'checkArgCount' 1773 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::colCount(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1785:2: note: in expansion of macro 'checkArgCount' 1785 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::rowCount(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1796:2: note: in expansion of macro 'checkArgCount' 1796 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::totalRows(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1807:2: note: in expansion of macro 'checkArgCount' 1807 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::affectedRows(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1818:2: note: in expansion of macro 'checkArgCount' 1818 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::firstRowIndex(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1829:2: note: in expansion of macro 'checkArgCount' 1829 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::endOfResultSet(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1840:2: note: in expansion of macro 'checkArgCount' 1840 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::errorMessage(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1851:2: note: in expansion of macro 'checkArgCount' 1851 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 1855 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 1855 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 1855 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 1855 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 1855 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::errorNumber(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1862:2: note: in expansion of macro 'checkArgCount' 1862 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getNullsAsEmptyStrings(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1873:2: note: in expansion of macro 'checkArgCount' 1873 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getNullsAsNulls(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1884:2: note: in expansion of macro 'checkArgCount' 1884 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getField(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1895:2: note: in expansion of macro 'checkArgCount' 1895 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1906:3: note: in expansion of macro 'throwInvalidArgumentType' 1906 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 1909 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 1909 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 1909 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 1909 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 1909 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getFieldAsInteger(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1916:2: note: in expansion of macro 'checkArgCount' 1916 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1929:3: note: in expansion of macro 'throwInvalidArgumentType' 1929 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getFieldAsDouble(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1939:2: note: in expansion of macro 'checkArgCount' 1939 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1952:3: note: in expansion of macro 'throwInvalidArgumentType' 1952 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getFieldLength(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1962:2: note: in expansion of macro 'checkArgCount' 1962 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:1975:3: note: in expansion of macro 'throwInvalidArgumentType' 1975 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getRow(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:1985:2: note: in expansion of macro 'checkArgCount' 1985 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:1992:49: error: no matching function for call to 'v8::Array::Set(v8::Local<v8::Integer>, v8::MaybeLocal<v8::String>)' 1992 | result->Set(newInteger(i),newString(fields[i])); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)' 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)' 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | ^~~ /home/pbulk/build/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<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2002:2: note: in expansion of macro 'checkArgCount' 2002 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:2011:26: error: no matching function for call to 'v8::Array::Set(v8::Local<v8::Integer>, v8::Local<v8::Integer>)' 2011 | newUint32(lengths[i])); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)' 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)' 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | ^~~ /home/pbulk/build/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<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2021:2: note: in expansion of macro 'checkArgCount' 2021 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:2028:48: error: no matching function for call to 'v8::Array::Set(v8::Local<v8::Integer>, v8::MaybeLocal<v8::String>)' 2028 | result->Set(newInteger(i),newString(names[i])); | ^ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, v8::Local<v8::Value>, v8::Local<v8::Value>)' 3670 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3670:37: note: candidate expects 3 arguments, 2 provided /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:3673:37: note: candidate: 'v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)' 3673 | V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index, | ^~~ /home/pbulk/build/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<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2038:2: note: in expansion of macro 'checkArgCount' 2038 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 2043 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 2043 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 2043 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 2043 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 2043 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnType(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2050:2: note: in expansion of macro 'checkArgCount' 2050 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2059:3: note: in expansion of macro 'throwInvalidArgumentType' 2059 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:30:88: error: no matching function for call to 'v8::ReturnValue<v8::Value>::Set(v8::MaybeLocal<v8::String>)' 30 | #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' 2062 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::Global<S>&) [with S = S; T = v8::Value]' 4220 | V8_INLINE void Set(const Global<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4220:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::Global<T>' 30 | #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' 2062 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(const v8::TracedReferenceBase<S>&) [with S = S; T = v8::Value]' 4222 | V8_INLINE void Set(const TracedReferenceBase<S>& handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4222:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'const v8::TracedReferenceBase<T>' 30 | #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' 2062 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(v8::Local<S>) [with S = S; T = v8::Value]' 4224 | V8_INLINE void Set(const Local<S> handle); | ^~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4224:18: note: template argument deduction/substitution failed: ../sqlrelay.cpp:30:88: note: 'v8::MaybeLocal<v8::String>' is not derived from 'v8::Local<T>' 30 | #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' 2062 | returnString(result); | ^~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:6: note: candidate: 'void v8::ReturnValue<T>::Set(bool) [with T = v8::Value]' 11161 | void ReturnValue<T>::Set(bool value) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11161:31: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'bool' 11161 | void ReturnValue<T>::Set(bool value) { | ~~~~~^~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:6: note: candidate: 'void v8::ReturnValue<T>::Set(double) [with T = v8::Value]' 11132 | void ReturnValue<T>::Set(double i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11132:33: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'double' 11132 | void ReturnValue<T>::Set(double i) { | ~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:6: note: candidate: 'void v8::ReturnValue<T>::Set(int32_t) [with T = v8::Value; int32_t = int]' 11138 | void ReturnValue<T>::Set(int32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11138:34: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'int32_t' {aka 'int'} 11138 | void ReturnValue<T>::Set(int32_t i) { | ~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:6: note: candidate: 'void v8::ReturnValue<T>::Set(uint32_t) [with T = v8::Value; uint32_t = unsigned int]' 11149 | void ReturnValue<T>::Set(uint32_t i) { | ^~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:11149:35: note: no known conversion for argument 1 from 'v8::MaybeLocal<v8::String>' to 'uint32_t' {aka 'unsigned int'} 11149 | void ReturnValue<T>::Set(uint32_t i) { | ~~~~~~~~~^ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:4239:18: note: candidate: 'template<class S> void v8::ReturnValue<T>::Set(S*) [with S = S; T = v8::Value]' 4239 | V8_INLINE void Set(S* whatever); | ^~~ /home/pbulk/build/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<v8::String>' 30 | #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' 2062 | returnString(result); | ^~~~~~~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnLength(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2069:2: note: in expansion of macro 'checkArgCount' 2069 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2078:3: note: in expansion of macro 'throwInvalidArgumentType' 2078 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnPrecision(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2088:2: note: in expansion of macro 'checkArgCount' 2088 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2097:3: note: in expansion of macro 'throwInvalidArgumentType' 2097 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnScale(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2107:2: note: in expansion of macro 'checkArgCount' 2107 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2116:3: note: in expansion of macro 'throwInvalidArgumentType' 2116 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsNullable(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2126:2: note: in expansion of macro 'checkArgCount' 2126 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2135:3: note: in expansion of macro 'throwInvalidArgumentType' 2135 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsPrimaryKey(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2145:2: note: in expansion of macro 'checkArgCount' 2145 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2154:3: note: in expansion of macro 'throwInvalidArgumentType' 2154 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsUnique(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2165:2: note: in expansion of macro 'checkArgCount' 2165 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2174:3: note: in expansion of macro 'throwInvalidArgumentType' 2174 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsPartOfKey(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2184:2: note: in expansion of macro 'checkArgCount' 2184 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2193:3: note: in expansion of macro 'throwInvalidArgumentType' 2193 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsUnsigned(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2203:2: note: in expansion of macro 'checkArgCount' 2203 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2212:3: note: in expansion of macro 'throwInvalidArgumentType' 2212 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsZeroFilled(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2222:2: note: in expansion of macro 'checkArgCount' 2222 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2231:3: note: in expansion of macro 'throwInvalidArgumentType' 2231 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsBinary(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2241:2: note: in expansion of macro 'checkArgCount' 2241 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2250:3: note: in expansion of macro 'throwInvalidArgumentType' 2250 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getColumnIsAutoIncrement(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2260:2: note: in expansion of macro 'checkArgCount' 2260 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2271:3: note: in expansion of macro 'throwInvalidArgumentType' 2271 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getLongest(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2281:2: note: in expansion of macro 'checkArgCount' 2281 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:115:82: note: in expansion of macro 'newString' 115 | #define throwInvalidArgumentType() isolate->ThrowException(Exception::TypeError(newString("Invalid argument type"))) | ^~~~~~~~~ ../sqlrelay.cpp:2290:3: note: in expansion of macro 'throwInvalidArgumentType' 2290 | throwInvalidArgumentType(); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::suspendResultSet(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2300:2: note: in expansion of macro 'checkArgCount' 2300 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::getResultSetId(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2311:2: note: in expansion of macro 'checkArgCount' 2311 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::resumeResultSet(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2322:2: note: in expansion of macro 'checkArgCount' 2322 | checkArgCount(args,1); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::resumeCachedResultSet(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2333:2: note: in expansion of macro 'checkArgCount' 2333 | checkArgCount(args,2); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ ../sqlrelay.cpp: In static member function 'static void SQLRCursor::closeResultSet(const v8::FunctionCallbackInfo<v8::Value>&)': ../sqlrelay.cpp:41:44: error: cannot convert 'v8::MaybeLocal<v8::String>' to 'v8::Local<v8::String>' 41 | #define newString(val) String::NewFromUtf8(isolate,val) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ | | | v8::MaybeLocal<v8::String> ../sqlrelay.cpp:114:85: note: in expansion of macro 'newString' 114 | #define throwWrongNumberOfArguments() isolate->ThrowException(Exception::TypeError(newString("Wrong number of arguments"))) | ^~~~~~~~~ ../sqlrelay.cpp:55:64: note: in expansion of macro 'throwWrongNumberOfArguments' 55 | #define checkArgCount(args,count) if (args.Length()!=count) { throwWrongNumberOfArguments(); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sqlrelay.cpp:2346:2: note: in expansion of macro 'checkArgCount' 2346 | checkArgCount(args,0); | ^~~~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:7192:47: note: initializing argument 1 of 'static v8::Local<v8::Value> v8::Exception::TypeError(v8::Local<v8::String>)' 7192 | static Local<Value> TypeError(Local<String> message); | ~~~~~~~~~~~~~~^~~~~~~ In file included from ../sqlrelay.cpp:9: ../sqlrelay.cpp: At global scope: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/node.h:787:7: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type] 787 | (node::addon_register_func) (regfunc), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/node.h:821:3: note: in expansion of macro 'NODE_MODULE_X' 821 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) | ^~~~~~~~~~~~~ ../sqlrelay.cpp:2365:1: note: in expansion of macro 'NODE_MODULE' 2365 | NODE_MODULE(sqlrelay,init) | ^~~~~~~~~~~ In file included from ../sqlrelay.cpp:8: /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]': /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/node_object_wrap.h:85:78: required from here /home/pbulk/build/databases/sqlrelay-nodejs/work/.buildlink/include/node/v8.h:10886:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type] 10886 | reinterpret_cast<Callback>(callback), type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [sqlrelay.target.mk:109: Release/obj.target/sqlrelay/sqlrelay.o] Error 1 make[1]: Leaving directory '/home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/opt/local/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 SunOS 5.11 gyp ERR! command "/opt/local/bin/node" "/opt/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "-v" "--nodedir" "/opt/local" "configure" "build" gyp ERR! cwd /home/pbulk/build/databases/sqlrelay-nodejs/work/sqlrelay-1.8.0/src/api/nodejs gyp ERR! node -v v14.18.3 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. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/sqlrelay-nodejs *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/databases/sqlrelay-nodejs