nbind
nbind copied to clipboard
Fail to build with electron 5.0.8, deprecated methods
For my needs I need to create an electron application with some c++ code utilizing the nbind. For that I made the following example:
As seen in my stackoverflow question I have trouble building my project : https://github.com/pc-magas/electron-cpp-nbind
So I tried to rebuild it using the correct headers and electron version as mentioned into the stackoverflow comments. So in order to do that I nuked ./node_modules and reinstall everything via the following command sequence on my Ubuntu 18.04LTS GNU/Linux machine:
rm -rf ./node_modules npm install
But I get the following errors:
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:49: warning: ‘BufferReference’ is deprecated: Use MemorySpan<const uint8_t> [-Wdeprecated-declarations]
declarator __attribute__((deprecated(message)))
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:4444:3: note: in expansion of macro ‘V8_DEPRECATED’
V8_DEPRECATED("Use CompiledWasmModule::GetWireBytesRef()",
^~~~~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:4386:58: note: declared here
V8_DEPRECATED("Use MemorySpan<const uint8_t>", struct) BufferReference {
^~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:49: warning: ‘v8::WasmModuleObject::SerializedModule’ is deprecated: Use OwnedBuffer [-Wdeprecated-declarations]
declarator __attribute__((deprecated(message)))
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:4457:3: note: in expansion of macro ‘V8_DEPRECATED’
V8_DEPRECATED("Use CompiledWasmModule::Serialize()",
^~~~~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:4380:55: note: declared here
std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
^~~~~~~~~~~~~~~~
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h: In member function ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10172:62: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
return ToBoolean(Isolate::GetCurrent()->GetCurrentContext())
^
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2388:63: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In member function ‘void nbind::BindWrapperBase::addInstance(v8::Local<v8::Object>)’:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:139:24: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Objects are always considered independent. Use MarkActive to avoid collecting otherwise dead weak handles. [-Wdeprecated-declarations]
ref->MarkIndependent();
^
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:556:22: note: declared here
V8_INLINE void MarkIndependent());
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In static member function ‘static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:19: error: ‘Handle’ is not a member of ‘v8’
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~~~
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:38: error: expected primary-expression before ‘>’ token
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: error: ‘::Cast’ has not been declared
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: note: suggested alternative: ‘upcast’
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~
upcast
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<bool>::Type nbind::BindingType<bool>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:187:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(bool, IsBoolean, BooleanValue, v8::Boolean);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<double>::Type nbind::BindingType<double>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:189:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(double, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<float>::Type nbind::BindingType<float>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:190:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(float, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<unsigned int>::Type nbind::BindingType<unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:192:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned int, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<short unsigned int>::Type nbind::BindingType<short unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:193:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned short, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<unsigned char>::Type nbind::BindingType<unsigned char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:194:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned char, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<int>::Type nbind::BindingType<int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:196:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed int, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<short int>::Type nbind::BindingType<short int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:197:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed short, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<signed char>::Type nbind::BindingType<signed char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:198:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<char>::Type nbind::BindingType<char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:200:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:78:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/External.h: In static member function ‘static nbind::BindingType<nbind::External>::Type nbind::BindingType<nbind::External>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/External.h:112:80: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
static inline Type fromWireType(WireType arg) { return(External(arg->ToObject())); }
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:80:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingStd.h: In static member function ‘static nbind::BindingType<std::__cxx11::basic_string<char> >::Type nbind::BindingType<std::__cxx11::basic_string<char> >::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingStd.h:128:37: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Nan::Utf8String val(arg->ToString());
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10177:15: note: declared here
Local<String> Value::ToString() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:83:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Buffer.h: In static member function ‘static nbind::BindingType<nbind::Buffer>::Type nbind::BindingType<nbind::Buffer>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Buffer.h:33:43: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Buffer result(nullptr, 0, arg->ToObject());
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:19:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/signature/SignatureParam.h: In static member function ‘static nbind::SignatureParam* nbind::SignatureParam::get(const InfoType&)’:
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:9: error: ‘Handle’ is not a member of ‘v8’
v8::Handle<v8::External>::Cast(
^~~~~~
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:28: error: expected primary-expression before ‘>’ token
v8::Handle<v8::External>::Cast(
^
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:31: error: ‘::Cast’ has not been declared
v8::Handle<v8::External>::Cast(
^~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long unsigned int>::Type nbind::BindingType<long unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(unsigned long, uint64ToWire, uint64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long long unsigned int>::Type nbind::BindingType<long long unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(unsigned long long, uint64ToWire, uint64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long int>::Type nbind::BindingType<long int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(signed long, int64ToWire, int64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long long int>::Type nbind::BindingType<long long int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(signed long long, int64ToWire, int64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long unsigned int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:140:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:141:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long unsigned int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long long unsigned int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:140:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:141:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long long unsigned int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:151:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:152:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:153:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long long int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:151:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:152:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:153:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long long int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In instantiation of ‘static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&) [with Bound = nbind::Int64]’:
../node_modules/nbind/include/nbind/BindDefiner.h:86:22: required from ‘nbind::BindDefiner<Bound>::BindDefiner(const char*) [with Bound = nbind::Int64]’
../node_modules/nbind/src/common.cc:129:1: required from ‘BindInvokerInt64<Bound>::BindInvokerInt64() [with Bound = nbind::Int64]’
../node_modules/nbind/src/common.cc:129:1: required from here
../node_modules/nbind/include/nbind/v8/BindWrapper.h:216:62: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto flags = static_cast<TypeFlags>(nanArgs[1]->Uint32Value());
~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.cache/node-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
make: *** [Release/obj.target/nbind/node_modules/nbind/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:190:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.0.0-23-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v5.0.2
gyp ERR! not ok
So in order to bypass the following errors I run the electron-rebuild but I get these erros:
- Searching dependency tree
[31m✖[39m Rebuild Failed
[31m
An unhandled error occurred inside electron-rebuild[39m
[31mgyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/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/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pc_magas/.electron-gyp/5.0.8/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pc_magas/.electron-gyp/5.0.8',
gyp info spawn args '-Dnode_gyp_dir=/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/pc_magas/.electron-gyp/5.0.8/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings',
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 make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/build'
COPY Release/obj.target/nbind/geni/symbols.txt
CXX(target) Release/obj.target/nbind/node_modules/nbind/src/common.o
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:49: warning: ‘BufferReference’ is deprecated: Use MemorySpan<const uint8_t> [-Wdeprecated-declarations]
declarator __attribute__((deprecated(message)))
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4444:3: note: in expansion of macro ‘V8_DEPRECATED’
V8_DEPRECATED("Use CompiledWasmModule::GetWireBytesRef()",
^~~~~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4386:58: note: declared here
V8_DEPRECATED("Use MemorySpan<const uint8_t>", struct) BufferReference {
^~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:49: warning: ‘v8::WasmModuleObject::SerializedModule’ is deprecated: Use OwnedBuffer [-Wdeprecated-declarations]
declarator __attribute__((deprecated(message)))
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4457:3: note: in expansion of macro ‘V8_DEPRECATED’
V8_DEPRECATED("Use CompiledWasmModule::Serialize()",
^~~~~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4380:55: note: declared here
std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
^~~~~~~~~~~~~~~~
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h: In member function ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10172:62: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
return ToBoolean(Isolate::GetCurrent()->GetCurrentContext())
^
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2388:63: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In member function ‘void nbind::BindWrapperBase::addInstance(v8::Local<v8::Object>)’:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:139:24: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Objects are always considered independent. Use MarkActive to avoid collecting otherwise dead weak handles. [-Wdeprecated-declarations]
ref->MarkIndependent();
^
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:556:22: note: declared here
V8_INLINE void MarkIndependent());
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In static member function ‘static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:19: error: ‘Handle’ is not a member of ‘v8’
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~~~
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:38: error: expected primary-expression before ‘>’ token
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: error: ‘::Cast’ has not been declared
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: note: suggested alternative: ‘upcast’
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~
upcast
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<bool>::Type nbind::BindingType<bool>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:187:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(bool, IsBoolean, BooleanValue, v8::Boolean);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<double>::Type nbind::BindingType<double>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:189:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(double, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<float>::Type nbind::BindingType<float>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:190:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(float, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<unsigned int>::Type nbind::BindingType<unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:192:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned int, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<short unsigned int>::Type nbind::BindingType<short unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:193:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned short, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<unsigned char>::Type nbind::BindingType<unsigned char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:194:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned char, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<int>::Type nbind::BindingType<int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:196:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed int, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<short int>::Type nbind::BindingType<short int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:197:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed short, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<signed char>::Type nbind::BindingType<signed char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:198:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<char>::Type nbind::BindingType<char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:200:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:78:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/External.h: In static member function ‘static nbind::BindingType<nbind::External>::Type nbind::BindingType<nbind::External>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/External.h:112:80: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
static inline Type fromWireType(WireType arg) { return(External(arg->ToObject())); }
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:80:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingStd.h: In static member function ‘static nbind::BindingType<std::__cxx11::basic_string<char> >::Type nbind::BindingType<std::__cxx11::basic_string<char> >::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingStd.h:128:37: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Nan::Utf8String val(arg->ToString());
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10177:15: note: declared here
Local<String> Value::ToString() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:83:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Buffer.h: In static member function ‘static nbind::BindingType<nbind::Buffer>::Type nbind::BindingType<nbind::Buffer>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Buffer.h:33:43: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Buffer result(nullptr, 0, arg->ToObject());
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:19:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/signature/SignatureParam.h: In static member function ‘static nbind::SignatureParam* nbind::SignatureParam::get(const InfoType&)’:
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:9: error: ‘Handle’ is not a member of ‘v8’
v8::Handle<v8::External>::Cast(
^~~~~~
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:28: error: expected primary-expression before ‘>’ token
v8::Handle<v8::External>::Cast(
^
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:31: error: ‘::Cast’ has not been declared
v8::Handle<v8::External>::Cast(
^~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long unsigned int>::Type nbind::BindingType<long unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(unsigned long, uint64ToWire, uint64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long long unsigned int>::Type nbind::BindingType<long long unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(unsigned long long, uint64ToWire, uint64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long int>::Type nbind::BindingType<long int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(signed long, int64ToWire, int64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long long int>::Type nbind::BindingType<long long int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(signed long long, int64ToWire, int64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long unsigned int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:140:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:141:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long unsigned int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long long unsigned int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:140:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:141:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long long unsigned int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:151:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:152:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:153:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long long int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:151:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:152:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:153:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long long int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In instantiation of ‘static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&) [with Bound = nbind::Int64]’:
../node_modules/nbind/include/nbind/BindDefiner.h:86:22: required from ‘nbind::BindDefiner<Bound>::BindDefiner(const char*) [with Bound = nbind::Int64]’
../node_modules/nbind/src/common.cc:129:1: required from ‘BindInvokerInt64<Bound>::BindInvokerInt64() [with Bound = nbind::Int64]’
../node_modules/nbind/src/common.cc:129:1: required from here
../node_modules/nbind/include/nbind/v8/BindWrapper.h:216:62: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto flags = static_cast<TypeFlags>(nanArgs[1]->Uint32Value());
~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
nbind.target.mk:134: recipe for target 'Release/obj.target/nbind/node_modules/nbind/src/common.o' failed
make: Leaving directory '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/build'
make: *** [Release/obj.target/nbind/node_modules/nbind/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.0.0-23-generic
gyp ERR! command "/usr/bin/node" "/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/.bin/node-gyp" "rebuild" "--target=5.0.8" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v4.0.0
gyp ERR! not ok
Failed with exit code: 1
Error: gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/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/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/pc_magas/.electron-gyp/5.0.8/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/pc_magas/.electron-gyp/5.0.8',
gyp info spawn args '-Dnode_gyp_dir=/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/home/pc_magas/.electron-gyp/5.0.8/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings',
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 make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/build'
COPY Release/obj.target/nbind/geni/symbols.txt
CXX(target) Release/obj.target/nbind/node_modules/nbind/src/common.o
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:49: warning: ‘BufferReference’ is deprecated: Use MemorySpan<const uint8_t> [-Wdeprecated-declarations]
declarator __attribute__((deprecated(message)))
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4444:3: note: in expansion of macro ‘V8_DEPRECATED’
V8_DEPRECATED("Use CompiledWasmModule::GetWireBytesRef()",
^~~~~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4386:58: note: declared here
V8_DEPRECATED("Use MemorySpan<const uint8_t>", struct) BufferReference {
^~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:49: warning: ‘v8::WasmModuleObject::SerializedModule’ is deprecated: Use OwnedBuffer [-Wdeprecated-declarations]
declarator __attribute__((deprecated(message)))
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4457:3: note: in expansion of macro ‘V8_DEPRECATED’
V8_DEPRECATED("Use CompiledWasmModule::Serialize()",
^~~~~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:4380:55: note: declared here
std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
^~~~~~~~~~~~~~~~
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h: In member function ‘v8::Local<v8::Boolean> v8::Value::ToBoolean() const’:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10172:62: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
return ToBoolean(Isolate::GetCurrent()->GetCurrentContext())
^
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2388:63: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In member function ‘void nbind::BindWrapperBase::addInstance(v8::Local<v8::Object>)’:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:139:24: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Objects are always considered independent. Use MarkActive to avoid collecting otherwise dead weak handles. [-Wdeprecated-declarations]
ref->MarkIndependent();
^
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:556:22: note: declared here
V8_INLINE void MarkIndependent());
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In static member function ‘static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&)’:
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:19: error: ‘Handle’ is not a member of ‘v8’
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~~~
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:38: error: expected primary-expression before ‘>’ token
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: error: ‘::Cast’ has not been declared
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~
../node_modules/nbind/include/nbind/v8/BindWrapper.h:217:41: note: suggested alternative: ‘upcast’
void *ptr = v8::Handle<v8::External>::Cast(nanArgs[0])->Value();
^~~~
upcast
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<bool>::Type nbind::BindingType<bool>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:187:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(bool, IsBoolean, BooleanValue, v8::Boolean);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<double>::Type nbind::BindingType<double>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:189:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(double, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<float>::Type nbind::BindingType<float>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:190:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(float, IsNumber, NumberValue, v8::Number);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<unsigned int>::Type nbind::BindingType<unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:192:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned int, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<short unsigned int>::Type nbind::BindingType<short unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:193:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned short, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<unsigned char>::Type nbind::BindingType<unsigned char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:194:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(unsigned char, IsNumber, Uint32Value, v8::Uint32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<int>::Type nbind::BindingType<int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:196:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed int, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<short int>::Type nbind::BindingType<short int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:197:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed short, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<signed char>::Type nbind::BindingType<signed char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:198:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(signed char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:72:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingType.h: In static member function ‘static nbind::BindingType<char>::Type nbind::BindingType<char>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingType.h:173:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->decode())); \
^
../node_modules/nbind/include/nbind/v8/BindingType.h:200:1: note: in expansion of macro ‘DEFINE_NATIVE_BINDING_TYPE’
DEFINE_NATIVE_BINDING_TYPE(char, IsNumber, Int32Value, v8::Int32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2446:46: note: declared here
V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:78:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/External.h: In static member function ‘static nbind::BindingType<nbind::External>::Type nbind::BindingType<nbind::External>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/External.h:112:80: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
static inline Type fromWireType(WireType arg) { return(External(arg->ToObject())); }
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:80:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindingStd.h: In static member function ‘static nbind::BindingType<std::__cxx11::basic_string<char> >::Type nbind::BindingType<std::__cxx11::basic_string<char> >::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/BindingStd.h:128:37: warning: ‘v8::Local<v8::String> v8::Value::ToString() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Nan::Utf8String val(arg->ToString());
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10177:15: note: declared here
Local<String> Value::ToString() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:83:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Buffer.h: In static member function ‘static nbind::BindingType<nbind::Buffer>::Type nbind::BindingType<nbind::Buffer>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Buffer.h:33:43: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Buffer result(nullptr, 0, arg->ToObject());
^
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:19:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/signature/SignatureParam.h: In static member function ‘static nbind::SignatureParam* nbind::SignatureParam::get(const InfoType&)’:
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:9: error: ‘Handle’ is not a member of ‘v8’
v8::Handle<v8::External>::Cast(
^~~~~~
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:28: error: expected primary-expression before ‘>’ token
v8::Handle<v8::External>::Cast(
^
../node_modules/nbind/include/nbind/signature/SignatureParam.h:16:31: error: ‘::Cast’ has not been declared
v8::Handle<v8::External>::Cast(
^~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long unsigned int>::Type nbind::BindingType<long unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(unsigned long, uint64ToWire, uint64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long long unsigned int>::Type nbind::BindingType<long long unsigned int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(unsigned long long, uint64ToWire, uint64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long int>::Type nbind::BindingType<long int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(signed long, int64ToWire, int64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In static member function ‘static nbind::BindingType<long long int>::Type nbind::BindingType<long long int>::fromWireType(nbind::WireType)’:
../node_modules/nbind/include/nbind/v8/Int64.h:175:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
return(static_cast<Type>(arg->NumberValue())); \
^
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: note: in expansion of macro ‘DEFINE_INT64_BINDING_TYPE’
DEFINE_INT64_BINDING_TYPE(signed long long, int64ToWire, int64Init);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2443:45: note: declared here
V8_DEPRECATED("Use maybe version", double NumberValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long unsigned int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:140:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:141:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long unsigned int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:190:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::uint64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long long unsigned int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:140:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:141:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long long unsigned int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:191:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:151:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:152:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:153:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:192:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘static void nbind::Int64Converter<8>::int64Init(const Nan::FunctionCallbackInfo<v8::Value>&) [with ArgType = long long int]’:
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:151:46: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 0) storage = args[0]->Uint32Value();
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:152:69: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 1) storage += static_cast<uint64_t>(args[1]->Uint32Value()) << 32;
~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:153:39: warning: ‘bool v8::Value::BooleanValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
if(argc > 2 && args[2]->BooleanValue()) storage = -storage;
~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2442:43: note: declared here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h: In instantiation of ‘ArgType nbind::int64FromWire(nbind::WireType, void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)) [with ArgType = long long int; nbind::WireType = v8::Local<v8::Value>]’:
../node_modules/nbind/include/nbind/v8/Int64.h:193:1: required from here
../node_modules/nbind/include/nbind/v8/Int64.h:14:29: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto target = arg->ToObject();
~~~~~~~~~~~~~^~
In file included from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52:0,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:10183:15: note: declared here
Local<Object> Value::ToObject() const {
^~~~~
In file included from ../node_modules/nbind/include/nbind/BindDefiner.h:24:0,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/Int64.h:15:27: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto fromJS = target->Get(Nan::New<v8::String>("fromJS").ToLocalChecked());
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:3313:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:322:3: note: in definition of macro ‘V8_DEPRECATE_SOON’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nbind/include/nbind/api.h:71:0,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
../node_modules/nbind/include/nbind/v8/BindWrapper.h: In instantiation of ‘static void nbind::BindWrapper<Bound>::wrapPtr(const Nan::FunctionCallbackInfo<v8::Value>&) [with Bound = nbind::Int64]’:
../node_modules/nbind/include/nbind/BindDefiner.h:86:22: required from ‘nbind::BindDefiner<Bound>::BindDefiner(const char*) [with Bound = nbind::Int64]’
../node_modules/nbind/src/common.cc:129:1: required from ‘BindInvokerInt64<Bound>::BindInvokerInt64() [with Bound = nbind::Int64]’
../node_modules/nbind/src/common.cc:129:1: required from here
../node_modules/nbind/include/nbind/v8/BindWrapper.h:216:62: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
auto flags = static_cast<TypeFlags>(nanArgs[1]->Uint32Value());
~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8-internal.h:13:0,
from /home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:25,
from ../node_modules/nbind/include/nbind/v8/BindWrapper.h:52,
from ../node_modules/nbind/include/nbind/api.h:71,
from ../node_modules/nbind/include/nbind/BindDefiner.h:11,
from ../node_modules/nbind/include/nbind/noconflict.h:8,
from ../node_modules/nbind/include/nbind/nbind.h:8,
from ../node_modules/nbind/src/common.cc:4:
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8.h:2445:47: note: declared here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
/home/pc_magas/.electron-gyp/5.0.8/include/node/v8config.h:307:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
nbind.target.mk:134: recipe for target 'Release/obj.target/nbind/node_modules/nbind/src/common.o' failed
make: Leaving directory '/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/build'
make: *** [Release/obj.target/nbind/node_modules/nbind/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.0.0-23-generic
gyp ERR! command "/usr/bin/node" "/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/electron-rebuild/node_modules/.bin/node-gyp" "rebuild" "--target=5.0.8" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v4.0.0
gyp ERR! not ok
Failed with exit code: 1
at SafeSubscriber._error (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/spawn-rx/lib/src/index.js:267:84)
at SafeSubscriber.__tryOrUnsub (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.error (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:156:26)
at Subscriber._error (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:92:26)
at Subscriber.error (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:72:18)
at MapSubscriber.Subscriber._error (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:92:26)
at MapSubscriber.Subscriber.error (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:72:18)
at SafeSubscriber._next (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/spawn-rx/lib/src/index.js:242:65)
at SafeSubscriber.__tryOrUnsub (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.next (/home/pc_magas/Kwdikas/Javascript/electron-cpp-bindings/node_modules/rxjs/internal/Subscriber.js:143:22)[39m
As you can see there are some deprecated methods and functions, so the build fails. My package.json is the following:
{
"name": "electron-cpp-bindings",
"version": "1.0.0",
"description": "A simple test using C++ bindings on an electron app",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "HOME=~/.electron-gyp electron ./src/",
"autogypi": "HOME=~/.electron-gyp autogypi",
"node-gyp": "HOME=~/.electron-gyp node-gyp --target=5.0.8 --arch=x64",
"emcc-path": "emcc-path",
"copyasm": "copyasm",
"ndts": "ndts",
"electron-version": "electron -v",
"rebuild": "electron-rebuild --target=5.0.8 --module-dir build"
},
"author": "Dimitrios Desyllas",
"license": "MIT",
"devDependencies": {
"electron": "^5.0.8",
"electron-rebuild": "^1.8.5"
},
"dependencies": {
"autogypi": "^0.2.2",
"nbind": "^0.3.15",
"node-gyp": "^5.0.3"
}
}
So I wondered whether this is a bug that nbind library has such as the folllowing ones:
- https://github.com/charto/nbind/issues/124
- https://github.com/charto/nbind/issues/13
- https://github.com/charto/nbind/issues/108