Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- npx: installed 3 in 1.074s
- Creating a new Proton Native app on /home/maciej/Code/pnxi
- Installing packages... This may take a few minutes.
- > libui-node@0.2.1 install /home/maciej/Code/pnxi/node_modules/libui-node
- > libui-download && autogypi && npm run build
- Downloaded zip: /home/maciej/.libui/libui-shared-linux-x64-alpha3.5-master-008.tar.gz
- Libui binaries extracted to: /home/maciej/Code/pnxi/node_modules/libui-node
- > libui-node@0.2.1 build /home/maciej/Code/pnxi/node_modules/libui-node
- > node-gyp configure build
- make: Entering directory '/home/maciej/Code/pnxi/node_modules/libui-node/build'
- COPY Release/obj.target/nbind/geni/symbols.txt
- CXX(target) Release/obj.target/nbind/../nbind/src/common.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/common.cc:4:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/common.cc:4:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/common.cc:4:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/common.cc:4:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/../nbind/src/reflect.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/reflect.cc:4:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/reflect.cc:4:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/reflect.cc:4:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from ../../nbind/src/reflect.cc:4:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Color.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Color.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Color.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Color.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Color.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/EventLoop.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
- from ../src/EventLoop.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
- from ../src/EventLoop.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
- from ../src/EventLoop.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../../nbind/include/nbind/BindDefiner.h:11,
- from ../../nbind/include/nbind/noconflict.h:8,
- from ../../nbind/include/nbind/nbind.h:8,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
- from ../src/EventLoop.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Point.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Point.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Point.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Point.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Point.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/PointDouble.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/PointDouble.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/PointDouble.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/PointDouble.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/PointDouble.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Size.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Size.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Size.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Size.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/Size.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/SizeDouble.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/SizeDouble.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/SizeDouble.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/SizeDouble.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
- from ../src/SizeDouble.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/timer-common.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/timer-common.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/timer-common.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/timer-common.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/timer-common.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiBox.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiBox.cc:3:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiBox.cc:3:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiBox.cc:3:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiBox.cc:3:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiButton.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiButton.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiButton.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiButton.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiButton.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Ui.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/Ui.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/Ui.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/Ui.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/Ui.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiCheckbox.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCheckbox.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCheckbox.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCheckbox.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCheckbox.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiColorButton.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiColorButton.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiColorButton.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiColorButton.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiColorButton.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiCombobox.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCombobox.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCombobox.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCombobox.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiCombobox.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiControl.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiControl.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiControl.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiControl.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiControl.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiDateTimePicker.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiDateTimePicker.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiDateTimePicker.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiDateTimePicker.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiDateTimePicker.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiEditableCombobox.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEditableCombobox.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEditableCombobox.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEditableCombobox.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEditableCombobox.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiEntry.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEntry.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEntry.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEntry.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiEntry.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiFontButton.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiFontButton.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiFontButton.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiFontButton.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiFontButton.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiForm.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiForm.cc:4:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiForm.cc:4:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiForm.cc:4:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiForm.cc:4:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiGrid.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGrid.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGrid.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGrid.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGrid.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiGroup.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGroup.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGroup.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGroup.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiGroup.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiLabel.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiLabel.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiLabel.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiLabel.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiLabel.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiMenu.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMenu.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMenu.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMenu.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMenu.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiMultilineEntry.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMultilineEntry.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMultilineEntry.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMultilineEntry.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiMultilineEntry.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiProgressBar.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiProgressBar.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiProgressBar.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiProgressBar.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiProgressBar.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiRadioButtons.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiRadioButtons.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiRadioButtons.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiRadioButtons.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiRadioButtons.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiSeparator.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSeparator.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSeparator.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSeparator.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSeparator.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiSlider.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSlider.cc:1:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSlider.cc:1:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSlider.cc:1:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSlider.cc:1:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiSpinbox.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSpinbox.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSpinbox.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSpinbox.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiSpinbox.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiTab.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiTab.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiTab.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiTab.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiTab.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/UiWindow.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiWindow.cc:3:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiWindow.cc:3:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiWindow.cc:3:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from ../src/UiWindow.cc:3:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Font/AttributedString.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/AttributedString.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/AttributedString.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/AttributedString.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/AttributedString.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Font/FontAttribute.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/FontAttribute.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/FontAttribute.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- In file included from ../../nan/nan.h:2718,
- from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/FontAttribute.cc:2:
- ../../nan/nan_weak.h: In instantiation of ‘Nan::WeakCallbackInfo<P>::WeakCallbackInfo(Nan::Persistent<v8::Value>*, Nan::WeakCallbackInfo<P>::Callback, void*, void*, void*) [with T = Nan::Persistent<v8::Object>; Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&)]’:
- ../../nan/nan_weak.h:264:12: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: 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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/FontAttribute.cc:2:
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
- template <class T, class M> class Persistent : public PersistentBase<T> {
- ^~~~~~~~~~
- /home/maciej/.node-gyp/10.0.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<Nan::Persistent<v8::Object> >; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)]’:
- ../../nan/nan_weak.h:268:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = Nan::Persistent<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> >&); Nan::WeakCallbackType = v8::WeakCallbackType]’
- ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<Nan::Persistent<v8::Object> > >&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
- reinterpret_cast<Callback>(callback), type);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CXX(target) Release/obj.target/nbind/src/Font/FontDescriptor.o
- In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/FontDescriptor.cc:2:
- ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
- ../../nan/nan.h:2232: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 ../../nbind/include/nbind/v8/BindWrapper.h:52,
- from ../../nbind/include/nbind/api.h:71,
- from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
- from ../src/Font/FontDescriptor.cc:2:
- /home/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
- /home/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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/maciej/.node-gyp/10.0.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/maciej/.node-gyp/10.0.0/include/node/v8.h:9227: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]
- An error ocurred:
- npm install has failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement