Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ basic npm i node-gtk --save
- npm WARN deprecated github@0.2.4: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)
- > node-gtk@0.3.0 install /home/user/Documents/ReactGtk/basic/node_modules/node-gtk
- > if [ "$(uname)" = "Darwin" ] && [ "$(which brew)" != "" ]; then export PKG_CONFIG_PATH=$(brew --prefix libffi)/lib/pkgconfig; fi; node-pre-gyp install --fallback-to-build
- node-pre-gyp WARN Using request for node-pre-gyp https download
- node-pre-gyp WARN Tried to download(403): https://node-gtk-1.s3.amazonaws.com/node_gtk/v0.3.0/node_gtk-node-v64-linux-arm.tar.gz
- node-pre-gyp WARN Pre-built binaries not found for node-gtk@0.3.0 and node@10.16.0 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
- make: Entering directory '/home/user/Documents/ReactGtk/basic/node_modules/node-gtk/build'
- CXX(target) Release/obj.target/node_gtk/src/boxed.o
- In file included from ../src/boxed.h:4,
- from ../src/boxed.cc:5:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/boxed.h:4,
- from ../src/boxed.cc:5:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = _GIBaseInfoStub; T = v8::FunctionTemplate; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<_GIBaseInfoStub>&)]’:
- ../src/boxed.cc:308:41: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<_GIBaseInfoStub>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<_GIBaseInfoStub>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- In file included from ../../nan/nan.h:2784,
- from ../src/boxed.h:4,
- from ../src/boxed.cc:5:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = GNodeJS::Boxed; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<GNodeJS::Boxed>&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = GNodeJS::Boxed; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<GNodeJS::Boxed>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../src/boxed.cc:215:84: required from here
- ../../nan/nan_weak.h:58:16: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘class v8::Persistent<v8::Value>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
- std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
- ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/boxed.h:4,
- from ../src/boxed.cc:5:
- /home/user/.node-gyp/10.16.0/include/node/v8.h:685:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::WeakCallbackInfo<GNodeJS::Boxed>; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<GNodeJS::Boxed> >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = GNodeJS::Boxed; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<GNodeJS::Boxed>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../src/boxed.cc:215:84: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<GNodeJS::Boxed> >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<GNodeJS::Boxed> >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/node_gtk/src/callback.o
- In file included from ../src/callback.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/callback.cc:2:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/closure.o
- In file included from ../src/closure.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/closure.cc:2:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/debug.o
- In file included from ../src/value.h:5,
- from ../src/debug.cc:7:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../src/debug.cc:2:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/error.o
- In file included from ../src/type.h:11,
- from ../src/error.cc:3:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../src/type.h:10,
- from ../src/error.cc:3:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/function.o
- In file included from ../src/boxed.h:4,
- from ../src/function.cc:5:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/boxed.h:4,
- from ../src/function.cc:5:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = GNodeJS::FunctionInfo; T = v8::FunctionTemplate; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<GNodeJS::FunctionInfo>&)]’:
- ../src/function.cc:619:77: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<GNodeJS::FunctionInfo>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<GNodeJS::FunctionInfo>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/gi.o
- In file included from ../src/gi.cc:3:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../src/gi.cc:2:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/gobject.o
- In file included from ../src/boxed.h:4,
- from ../src/gobject.cc:4:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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)
- ^
- ../src/gobject.cc: In function ‘void GNodeJS::GObjectConstructor(const Nan::FunctionCallbackInfo<v8::Value>&)’:
- ../src/gobject.cc:169:77: warning: ‘void* g_object_newv(GType, guint, GParameter*)’ is deprecated: Use 'g_object_new_with_properties' instead [-Wdeprecated-declarations]
- gobject = (GObject *) g_object_newv (gtype, n_parameters, parameters);
- ^
- In file included from /usr/include/glib-2.0/gobject/gbinding.h:29,
- from /usr/include/glib-2.0/glib-object.h:23,
- from /usr/include/gobject-introspection-1.0/girepository.h:26,
- from ../src/boxed.h:6,
- from ../src/gobject.cc:4:
- /usr/include/glib-2.0/gobject/gobject.h:428:13: note: declared here
- gpointer g_object_newv (GType object_type,
- ^~~~~~~~~~~~~
- ../src/gobject.cc:169:77: warning: ‘void* g_object_newv(GType, guint, GParameter*)’ is deprecated: Use 'g_object_new_with_properties' instead [-Wdeprecated-declarations]
- gobject = (GObject *) g_object_newv (gtype, n_parameters, parameters);
- ^
- In file included from /usr/include/glib-2.0/gobject/gbinding.h:29,
- from /usr/include/glib-2.0/glib-object.h:23,
- from /usr/include/gobject-introspection-1.0/girepository.h:26,
- from ../src/boxed.h:6,
- from ../src/gobject.cc:4:
- /usr/include/glib-2.0/gobject/gobject.h:428:13: note: declared here
- gpointer g_object_newv (GType object_type,
- ^~~~~~~~~~~~~
- ../src/gobject.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE GNodeJS::GObjectToString(Nan::NAN_METHOD_ARGS_TYPE)’:
- ../src/gobject.cc:335:33: warning: format ‘%zx’ expects argument of type ‘size_t’, but argument 4 has type ‘long unsigned int’ [-Wformat=]
- char *str = g_strdup_printf("[%s:%s %#zx]", typeName, className, (unsigned long)address);
- ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
- In file included from /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/boxed.h:4,
- from ../src/gobject.cc:4:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = _GObject; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<_GObject>&)]’:
- ../src/gobject.cc:103:89: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<_GObject>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<_GObject>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = _GIBaseInfoStub; T = v8::FunctionTemplate; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<_GIBaseInfoStub>&)]’:
- ../src/gobject.cc:398:41: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<_GIBaseInfoStub>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<_GIBaseInfoStub>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/loop.o
- In file included from ../src/loop.cc:3:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/loop.cc:3:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/param_spec.o
- In file included from ../src/param_spec.h:5,
- from ../src/param_spec.cc:10:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../src/param_spec.h:4,
- from ../src/param_spec.cc:10:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/type.o
- In file included from ../src/gi.h:7,
- from ../src/type.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../src/gi.h:6,
- from ../src/type.cc:2:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/util.o
- In file included from ../src/util.cc:9:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../src/util.cc:8:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- CXX(target) Release/obj.target/node_gtk/src/value.o
- In file included from ../src/boxed.h:4,
- from ../src/value.cc:6:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/boxed.h:4,
- from ../src/value.cc:6:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- ../src/value.cc: In function ‘bool GNodeJS::V8ToGIArgument(GIBaseInfo*, GIArgument*, v8::Local<v8::Value>)’:
- ../src/value.cc:566:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
- }
- ^
- ../src/value.cc:569:5: note: here
- case GI_INFO_TYPE_INTERFACE:
- ^~~~
- ../src/value.cc: In function ‘void GNodeJS::FreeGIArgument(GITypeInfo*, GIArgument*, GITransfer, GIDirection)’:
- ../src/value.cc:906:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
- if (IsDestroyNotify(i_info)) // handled in Callback::DestroyNotify
- ^~
- ../src/value.cc:909:13: note: here
- default:
- ^~~~~~~
- CXX(target) Release/obj.target/node_gtk/src/modules/system.o
- In file included from ../src/modules/system.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2298: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 /home/user/.node-gyp/10.16.0/include/node/node.h:63,
- from ../../nan/nan.h:54,
- from ../src/modules/system.cc:2:
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
- /home/user/.node-gyp/10.16.0/include/node/node_object_wrap.h:84:78: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/user/.node-gyp/10.16.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
- ../../nan/nan_object_wrap.h:65:61: required from here
- /home/user/.node-gyp/10.16.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- SOLINK_MODULE(target) Release/obj.target/node_gtk.node
- COPY Release/node_gtk.node
- COPY /home/user/Documents/ReactGtk/basic/node_modules/node-gtk/lib/binding/node-v64-linux-arm/node_gtk.node
- TOUCH Release/obj.target/action_after_build.stamp
- make: Leaving directory '/home/user/Documents/ReactGtk/basic/node_modules/node-gtk/build'
- npm WARN @babel/plugin-syntax-export-extensions@7.0.0-beta.32 requires a peer of @babel/core@7.0.0-beta.32 but none is installed. You must install peer dependencies yourself.
- npm WARN basic@1.0.0 No description
- npm WARN basic@1.0.0 No repository field.
- + node-gtk@0.3.0
- updated 1 package and audited 7186 packages in 76.892s
- found 0 vulnerabilities
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement