Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpio not compiling on node 12 #101

Closed
KryQ opened this issue Jul 31, 2019 · 3 comments
Closed

rpio not compiling on node 12 #101

KryQ opened this issue Jul 31, 2019 · 3 comments
Assignees

Comments

@KryQ
Copy link

KryQ commented Jul 31, 2019

Hi so upon installing package from npm rpio simply isn't compilling due deprecation errors.

Did somebody resolver this issue?

`> rpio@1.0.13 install /home/pi/Servers/radarhead_lst/node_modules/rpio

node-gyp rebuild

make: Entering directory '/home/pi/Servers/radarhead_lst/node_modules/rpio/build'
CC(target) Release/obj.target/rpio/src/bcm2835.o
CXX(target) Release/obj.target/rpio/src/rpio.o
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:221,
from ../src/rpio.cc:17:
../node_modules/nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ToFactoryBasev8::Boolean::return_t Nan::imp::ToFactoryv8::Boolean::convert(v8::Localv8::Value)':
../node_modules/nan/nan_converters_43_inl.h:18:51: warning: 'v8::MaybeLocalv8::Boolean v8::Value::ToBoolean(v8::Localv8::Context) const' is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
val->To ## TYPE(isolate->GetCurrentContext())
^
../node_modules/nan/nan_converters_43_inl.h:22:1: note: in expansion of macro 'X'
X(Boolean)
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2531:59: note: declared here
V8_WARN_UNUSED_RESULT MaybeLocal ToBoolean(
^~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nan/nan_converters.h:67,
from ../node_modules/nan/nan.h:221,
from ../src/rpio.cc:17:
../node_modules/nan/nan_converters_43_inl.h: In static member function 'static Nan::imp::ValueFactoryBase::return_t Nan::imp::ToFactory::convert(v8::Localv8::Value)':
../node_modules/nan/nan_converters_43_inl.h:37:57: warning: 'v8::Maybe v8::Value::BooleanValue(v8::Localv8::Context) const' is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
return val->NAME ## Value(isolate->GetCurrentContext());
^
../node_modules/nan/nan_converters_43_inl.h:40:1: note: in expansion of macro 'X'
X(bool, Boolean)
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2569:51: note: declared here
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^~~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../node_modules/nan/nan_new.h:189,
from ../node_modules/nan/nan.h:222,
from ../src/rpio.cc:17:
../node_modules/nan/nan_implementation_12_inl.h: In static member function 'static Nan::imp::FactoryBasev8::Function::return_t Nan::imp::Factoryv8::Function::New(Nan::FunctionCallback, v8::Localv8::Value)':
../node_modules/nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to 'v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfov8::Value&), v8::Localv8::Object&)'
, obj));
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:4132:31: note: candidate: 'static v8::MaybeLocalv8::Function v8::Function::New(v8::Localv8::Context, v8::FunctionCallback, v8::Localv8::Value, int, v8::ConstructorBehavior, v8::SideEffectType)'
static MaybeLocal New(
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:4132:31: note: no known conversion for argument 1 from 'v8::Isolate*' to 'v8::Localv8::Context'
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In constructor 'Nan::Utf8String::Utf8String(v8::Localv8::Value)':
../node_modules/nan/nan.h:1064:78: warning: 'v8::Localv8::String v8::Value::ToString(v8::Isolate*) const' is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Localv8::String string = from->ToString(v8::Isolate::GetCurrent());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2551:31: note: declared here
Local ToString(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Localv8::Value&)':
../node_modules/nan/nan.h:1855:64: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:3366:26: note: declared here
bool Set(Local key, Local value));
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(const v8::Localv8::String&, const v8::Localv8::Value&)':
../node_modules/nan/nan.h:1861:42: warning: 'bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(key, value);
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:3366:26: note: declared here
bool Set(Local key, Local value));
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In member function 'void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Localv8::Value&)':
../node_modules/nan/nan.h:1867:44: warning: 'bool v8::Object::Set(uint32_t, v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Set(index, value);
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:3375:26: note: declared here
bool Set(uint32_t index, Local value));
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In member function 'v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(const char*) const':
../node_modules/nan/nan.h:1873:61: warning: 'v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
New(persistentHandle)->Get(New(key).ToLocalChecked()));
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:3419:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In member function 'v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(const v8::Localv8::String&) const':
../node_modules/nan/nan.h:1879:55: warning: 'v8::Localv8::Value v8::Object::Get(v8::Localv8::Value)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(key));
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:3419:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(Local key));
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In member function 'v8::Localv8::Value Nan::AsyncWorker::GetFromPersistent(uint32_t) const':
../node_modules/nan/nan.h:1884:57: warning: 'v8::Localv8::Value v8::Object::Get(uint32_t)' is deprecated: Use maybe version [-Wdeprecated-declarations]
return scope.Escape(New(persistentHandle)->Get(index));
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:3423:55: note: declared here
V8_DEPRECATE_SOON("Use maybe version", Local Get(uint32_t index));
^~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:326:3: note: in definition of macro 'V8_DEPRECATE_SOON'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from ../src/rpio.cc:17:
../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
../node_modules/nan/nan.h:2208:62: warning: cast between incompatible function types from 'void ()(uv_work_t)' {aka 'void ()(uv_work_s)'} to 'uv_after_work_cb' {aka 'void ()(uv_work_s, int)'} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
In file included from /usr/include/c++/8/cassert:44,
from /home/pi/.node-gyp/12.7.0/include/node/node_object_wrap.h:26,
from ../node_modules/nan/nan.h:54,
from ../src/rpio.cc:17:
../node_modules/nan/nan_object_wrap.h: In destructor 'virtual Nan::ObjectWrap::~ObjectWrap()':
../node_modules/nan/nan_object_wrap.h:24:25: error: 'class Nan::Persistentv8::Object' has no member named 'IsNearDeath'
assert(persistent().IsNearDeath());
^~~~~~~~~~~
In file included from ../node_modules/nan/nan.h:2698,
from ../src/rpio.cc:17:
../node_modules/nan/nan_object_wrap.h: In member function 'void Nan::ObjectWrap::MakeWeak()':
../node_modules/nan/nan_object_wrap.h:67:34: warning: 'void v8::PersistentBase::MarkIndependent() [with T = v8::Object]' is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
persistent().MarkIndependent();
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:567:22: note: declared here
V8_INLINE void MarkIndependent());
^~~~~~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
In file included from /usr/include/c++/8/cassert:44,
from /home/pi/.node-gyp/12.7.0/include/node/node_object_wrap.h:26,
from ../node_modules/nan/nan.h:54,
from ../src/rpio.cc:17:
../node_modules/nan/nan_object_wrap.h: In static member function 'static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfoNan::ObjectWrap&)':
../node_modules/nan/nan_object_wrap.h:124:26: error: 'class Nan::Persistentv8::Object' has no member named 'IsNearDeath'
assert(wrap->handle_.IsNearDeath());
^~~~~~~~~~~
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_function(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:34:28: error: no matching function for call to 'v8::Value::NumberValue()'
(info[1]->NumberValue() > 7))
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:37:41: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_fsel(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:37:65: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_fsel(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_read(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:48:66: error: no matching function for call to 'v8::Value::NumberValue()'
info.GetReturnValue().Set(bcm2835_gpio_lev(info[0]->NumberValue()));
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_readbuf(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:62:45: error: no matching function for call to 'v8::Value::ToObject()'
buf = node::Buffer::Data(info[1]->ToObject());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:64:39: error: no matching function for call to 'v8::Value::NumberValue()'
for (i = 0; i < info[2]->NumberValue(); i++)
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:65:50: error: no matching function for call to 'v8::Value::NumberValue()'
buf[i] = bcm2835_gpio_lev(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_write(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:75:42: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_write(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:75:66: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_write(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_writebuf(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:89:45: error: no matching function for call to 'v8::Value::ToObject()'
buf = node::Buffer::Data(info[1]->ToObject());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:91:39: error: no matching function for call to 'v8::Value::NumberValue()'
for (i = 0; i < info[2]->NumberValue(); i++)
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:92:43: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_write(info[0]->NumberValue(), buf[i]);
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_pad_read(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:100:66: error: no matching function for call to 'v8::Value::NumberValue()'
info.GetReturnValue().Set(bcm2835_gpio_pad(info[0]->NumberValue()));
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_pad_write(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:110:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_set_pad(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:110:68: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_set_pad(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_pud(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:126:40: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_pud(info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:128:43: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_pudclk(info[0]->NumberValue(), 1);
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:131:43: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_pudclk(info[0]->NumberValue(), 0);
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_event_set(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:142:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_ren(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:143:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_fen(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:144:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_hen(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:145:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_len(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:146:45: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_aren(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:147:45: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_afen(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:153:37: error: no matching function for call to 'v8::Value::NumberValue()'
if ((uint32_t)info[1]->NumberValue() & RPIO_EVENT_HIGH)
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:154:41: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_ren(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:156:37: error: no matching function for call to 'v8::Value::NumberValue()'
if ((uint32_t)info[1]->NumberValue() & RPIO_EVENT_LOW)
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:157:41: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_fen(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_event_poll(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:172:58: error: no matching function for call to 'v8::Value::NumberValue()'
if ((rval = bcm2835_gpio_eds_multi(info[0]->NumberValue())))
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE gpio_event_clear(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:183:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_fen(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:184:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_gpio_clr_ren(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE i2c_set_clock_divider(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:200:51: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_i2c_setClockDivider(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE i2c_set_baudrate(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:208:48: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_i2c_set_baudrate(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE i2c_set_slave_address(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:216:51: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_i2c_setSlaveAddress(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE i2c_read(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:240:63: error: no matching function for call to 'v8::Value::ToObject()'
rval = bcm2835_i2c_read(node::Buffer::Data(info[0]->ToObject()),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:241:26: error: no matching function for call to 'v8::Value::NumberValue()'
info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE i2c_write(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:255:64: error: no matching function for call to 'v8::Value::ToObject()'
rval = bcm2835_i2c_write(node::Buffer::Data(info[0]->ToObject()),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:256:27: error: no matching function for call to 'v8::Value::NumberValue()'
info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE pwm_set_clock(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:269:45: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_clock(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE pwm_set_mode(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:280:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_mode(info[0]->NumberValue(), info[1]->NumberValue(),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:280:68: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_mode(info[0]->NumberValue(), info[1]->NumberValue(),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:281:30: error: no matching function for call to 'v8::Value::NumberValue()'
info[2]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE pwm_set_range(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:291:45: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_range(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:291:69: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_range(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE pwm_set_data(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:301:44: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_data(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:301:68: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_pwm_set_data(info[0]->NumberValue(), info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE spi_chip_select(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:317:46: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_spi_chipSelect(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE spi_set_cs_polarity(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:327:57: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_spi_setChipSelectPolarity(info[0]->NumberValue(),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc:328:29: error: no matching function for call to 'v8::Value::NumberValue()'
info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE spi_set_clock_divider(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:336:51: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_spi_setClockDivider(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE spi_set_data_mode(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:344:47: error: no matching function for call to 'v8::Value::NumberValue()'
bcm2835_spi_setDataMode(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE spi_transfer(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:355:62: error: no matching function for call to 'v8::Value::ToObject()'
bcm2835_spi_transfernb(node::Buffer::Data(info[0]->ToObject()),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:356:48: error: no matching function for call to 'v8::Value::ToObject()'
node::Buffer::Data(info[1]->ToObject()),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:357:32: error: no matching function for call to 'v8::Value::NumberValue()'
info[2]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE spi_write(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:367:59: error: no matching function for call to 'v8::Value::ToObject()'
bcm2835_spi_writenb(node::Buffer::Data(info[0]->ToObject()),
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate: 'v8::MaybeLocalv8::Object v8::Value::ToObject(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT MaybeLocal ToObject(
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2539:44: note: candidate expects 1 argument, 0 provided
In file included from /home/pi/.node-gyp/12.7.0/include/node/v8-internal.h:14,
from /home/pi/.node-gyp/12.7.0/include/node/v8.h:25,
from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate: 'v8::Localv8::Object v8::Value::ToObject(v8::Isolate*) const'
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2553:31: note: candidate expects 1 argument, 0 provided
Local ToObject(Isolate* isolate) const);
^~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^~~~~~~~~~
../src/rpio.cc:368:29: error: no matching function for call to 'v8::Value::NumberValue()'
info[1]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE rpio_init(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:384:41: error: no matching function for call to 'v8::Value::NumberValue()'
if (!bcm2835_init(info[0]->NumberValue()))
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
../src/rpio.cc: In function 'Nan::NAN_METHOD_RETURN_TYPE rpio_usleep(Nan::NAN_METHOD_ARGS_TYPE)':
../src/rpio.cc:401:30: error: no matching function for call to 'v8::Value::NumberValue()'
usleep(info[0]->NumberValue());
^
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate: 'v8::Maybe v8::Value::NumberValue(v8::Localv8::Context) const'
V8_WARN_UNUSED_RESULT Maybe NumberValue(Local context) const;
^~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h:2571:39: note: candidate expects 1 argument, 0 provided
In file included from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
../src/rpio.cc: At global scope:
/home/pi/.node-gyp/12.7.0/include/node/node.h:556:43: warning: cast between incompatible function types from 'void ()(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)' {aka 'void ()(v8::Localv8::Object)'} to 'node::addon_register_func' {aka 'void ()(v8::Localv8::Object, v8::Localv8::Value, void)'} [-Wcast-function-type]
(node::addon_register_func) (regfunc),
^
/home/pi/.node-gyp/12.7.0/include/node/node.h:590:3: note: in expansion of macro 'NODE_MODULE_X'
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/rpio.cc:441:1: note: in expansion of macro 'NODE_MODULE'
NODE_MODULE(rpio, setup)
^~~~~~~~~~~
In file included from /home/pi/.node-gyp/12.7.0/include/node/node.h:63,
from ../node_modules/nan/nan.h:52,
from ../src/rpio.cc:17:
/home/pi/.node-gyp/12.7.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfonode::ObjectWrap&)]':
/home/pi/.node-gyp/12.7.0/include/node/node_object_wrap.h:84:78: required from here
/home/pi/.node-gyp/12.7.0/include/node/v8.h:9853:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfonode::ObjectWrap::Callback' {aka 'void (
)(const v8::WeakCallbackInfonode::ObjectWrap&)'} to 'Callback' {aka 'void ()(const v8::WeakCallbackInfo&)'} [-Wcast-function-type]
reinterpret_cast(callback), type);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/.node-gyp/12.7.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase::SetWeak(P
, typename v8::WeakCallbackInfo

::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo

::Callback = void ()(const v8::WeakCallbackInfoNan::ObjectWrap&)]':
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/pi/.node-gyp/12.7.0/include/node/v8.h:9853:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfoNan::ObjectWrap::Callback' {aka 'void (
)(const v8::WeakCallbackInfoNan::ObjectWrap&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo&)'} [-Wcast-function-type]
make: *** [rpio.target.mk:106: Release/obj.target/rpio/src/rpio.o] Error 1
make: Leaving directory '/home/pi/Servers/radarhead_lst/node_modules/rpio/build'
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:266:23)
gyp ERR! stack at ChildProcess.emit (events.js:203:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.19.58-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/Servers/radarhead_lst/node_modules/rpio
gyp ERR! node -v v12.7.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN uart_listener@1.0.0 No description
npm WARN uart_listener@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rpio@1.0.13 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rpio@1.0.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-07-31T07_49_40_878Z-debug.log
`

@TimothyBennett1
Copy link

same problem here

@KryQ
Copy link
Author

KryQ commented Sep 13, 2019

same problem here

check my pull request i fixed it there

@jperkin
Copy link
Owner

jperkin commented Oct 10, 2019

Node v12.x is now supported as of 1.2.x.

@jperkin jperkin closed this as completed Oct 10, 2019
@jperkin jperkin self-assigned this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants