IN two posts because was too long - sorry
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3553:51: note: declared he re
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc:182:62: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declaratio ns]
inotify->handle()->Set(descriptor, args_->Get(callback_sym));
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3499:22: note: declared he re
bool Set(Local<Value> key, Local<Value> value));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYP E NodeInotify::Inotify::RemoveWatch(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/bindings.cc:195:31: error: no matching function for call to ‘v8::Value::I nt32Value()’
watch = info[0]->Int32Value();
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:67 :0,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:2709:40: note: candidate: v8::Maybe<int> v8::Value::Int32Value(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const ;
^~~~~~~~~~
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:2709:40: note: candidate expects 1 argument, 0 provided
../src/bindings.cc: In static member function ‘static void NodeInotify::Inotify: :Callback(uv_poll_t*, int, int)’:
../src/bindings.cc:262:86: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declaratio ns]
>Set(Nan::New<String>("watch").ToLocalChecked(), Nan::New<Integer>(event->wd));
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3499:22: note: declared he re
bool Set(Local<Value> key, Local<Value> value));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc:263:87: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declaratio ns]
Set(Nan::New<String>("mask").ToLocalChecked(), Nan::New<Integer>(event->mask));
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3499:22: note: declared he re
bool Set(Local<Value> key, Local<Value> value));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc:264:91: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declaratio ns]
Nan::New<String>("cookie").ToLocalChecked(), Nan::New<Integer>(event->cookie));
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3499:22: note: declared he re
bool Set(Local<Value> key, Local<Value> value));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc:267:104: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarati ons]
ing>("name").ToLocalChecked(), Nan::New<String>(event->name).ToLocalChecked());
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3499:22: note: declared he re
bool Set(Local<Value> key, Local<Value> value));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc:275:66: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Lo cal<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
Local<Value> value = handle->Get(Nan::New<Integer>(event->wd));
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:3553:51: note: declared he re
V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/bindings.cc:279:34: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(v8 ::Local<v8::Object>, int, v8::Local<v8::Value>*) const’ is deprecated [-Wdepreca ted-declarations]
callback.Call(handle, 1, argv);
^
In file included from ../src/node_inotify.h:14:0,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
../../nan/nan.h:1722:3: note: declared here
Call(v8::Local<v8::Object> target
^~~~
../src/bindings.cc:285:34: error: no matching function for call to ‘v8::Value::T oString()’
handle->Delete(wd->ToString());
^
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:67 :0,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:2668:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:2668:44: note: candidate expects 1 argument, 0 provided
In file included from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8-intern al.h:14:0,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:27,
from /home/kevin/.cache/node-gyp/12.20.0/include/node/node.h:6 ,
from ../src/node_inotify.h:5,
from ../src/bindings.h:4,
from ../src/bindings.cc:2:
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:2684:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
Local<String> ToString(Isolate* isolate) const);
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8.h:2684:31: note: candidate expects 1 argument, 0 provided
Local<String> ToString(Isolate* isolate) const);
^
/home/kevin/.cache/node-gyp/12.20.0/include/node/v8config.h:328:3: note: in defi nition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
inotify.target.mk:112: recipe for target 'Release/obj.target/inotify/src/binding s.o' failed
make: *** [Release/obj.target/inotify/src/bindings.o] Error 1
make: Leaving directory '/home/kevin/reactor/ext/MQTTController/node_modules/ino tify/build'
kevin@NUC50:~/reactor/ext/MQTTController$