Advertisement
magmast

Untitled

May 9th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 204.80 KB | None | 0 0
  1. npx: installed 3 in 1.074s
  2. Creating a new Proton Native app on /home/maciej/Code/pnxi
  3.  
  4. Installing packages... This may take a few minutes.
  5.  
  6.  
  7. > libui-node@0.2.1 install /home/maciej/Code/pnxi/node_modules/libui-node
  8. > libui-download && autogypi && npm run build
  9.  
  10.  
  11. Downloaded zip: /home/maciej/.libui/libui-shared-linux-x64-alpha3.5-master-008.tar.gz
  12.  
  13. Libui binaries extracted to: /home/maciej/Code/pnxi/node_modules/libui-node
  14.  
  15.  
  16. > libui-node@0.2.1 build /home/maciej/Code/pnxi/node_modules/libui-node
  17. > node-gyp configure build
  18.  
  19.  
  20. make: Entering directory '/home/maciej/Code/pnxi/node_modules/libui-node/build'
  21.  
  22. COPY Release/obj.target/nbind/geni/symbols.txt
  23.  
  24. CXX(target) Release/obj.target/nbind/../nbind/src/common.o
  25.  
  26. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  27. from ../../nbind/include/nbind/api.h:71,
  28. from ../../nbind/include/nbind/BindDefiner.h:11,
  29. from ../../nbind/include/nbind/noconflict.h:8,
  30. from ../../nbind/include/nbind/nbind.h:8,
  31. from ../../nbind/src/common.cc:4:
  32. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  33. ../../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]
  34. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  35. ^
  36.  
  37. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  38. from ../../nbind/include/nbind/api.h:71,
  39. from ../../nbind/include/nbind/BindDefiner.h:11,
  40. from ../../nbind/include/nbind/noconflict.h:8,
  41. from ../../nbind/include/nbind/nbind.h:8,
  42. from ../../nbind/src/common.cc:4:
  43. /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>&)]’:
  44. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  45. /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]
  46. reinterpret_cast<Callback>(callback), type);
  47. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  48.  
  49. /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>&)]’:
  50. ../../nan/nan_object_wrap.h:65:61: required from here
  51. /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]
  52.  
  53. In file included from ../../nan/nan.h:2718,
  54. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  55. from ../../nbind/include/nbind/api.h:71,
  56. from ../../nbind/include/nbind/BindDefiner.h:11,
  57. from ../../nbind/include/nbind/noconflict.h:8,
  58. from ../../nbind/include/nbind/nbind.h:8,
  59. from ../../nbind/src/common.cc:4:
  60. ../../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> >&)]’:
  61. ../../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]’
  62. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  63. ../../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]
  64. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  65. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  66. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  67. from ../../nbind/include/nbind/api.h:71,
  68. from ../../nbind/include/nbind/BindDefiner.h:11,
  69. from ../../nbind/include/nbind/noconflict.h:8,
  70. from ../../nbind/include/nbind/nbind.h:8,
  71. from ../../nbind/src/common.cc:4:
  72. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  73. template <class T, class M> class Persistent : public PersistentBase<T> {
  74. ^~~~~~~~~~
  75.  
  76. /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> > >&)]’:
  77. ../../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]’
  78. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  79. /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]
  80. reinterpret_cast<Callback>(callback), type);
  81. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  82.  
  83. CXX(target) Release/obj.target/nbind/../nbind/src/reflect.o
  84.  
  85. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  86. from ../../nbind/include/nbind/api.h:71,
  87. from ../../nbind/include/nbind/BindDefiner.h:11,
  88. from ../../nbind/include/nbind/noconflict.h:8,
  89. from ../../nbind/include/nbind/nbind.h:8,
  90. from ../../nbind/src/reflect.cc:4:
  91. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  92. ../../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]
  93. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  94. ^
  95.  
  96. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  97. from ../../nbind/include/nbind/api.h:71,
  98. from ../../nbind/include/nbind/BindDefiner.h:11,
  99. from ../../nbind/include/nbind/noconflict.h:8,
  100. from ../../nbind/include/nbind/nbind.h:8,
  101. from ../../nbind/src/reflect.cc:4:
  102. /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>&)]’:
  103. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  104. /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]
  105. reinterpret_cast<Callback>(callback), type);
  106. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  107.  
  108. /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>&)]’:
  109. ../../nan/nan_object_wrap.h:65:61: required from here
  110. /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]
  111.  
  112. In file included from ../../nan/nan.h:2718,
  113. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  114. from ../../nbind/include/nbind/api.h:71,
  115. from ../../nbind/include/nbind/BindDefiner.h:11,
  116. from ../../nbind/include/nbind/noconflict.h:8,
  117. from ../../nbind/include/nbind/nbind.h:8,
  118. from ../../nbind/src/reflect.cc:4:
  119. ../../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> >&)]’:
  120. ../../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]’
  121. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  122. ../../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]
  123. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  124. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  125. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  126. from ../../nbind/include/nbind/api.h:71,
  127. from ../../nbind/include/nbind/BindDefiner.h:11,
  128. from ../../nbind/include/nbind/noconflict.h:8,
  129. from ../../nbind/include/nbind/nbind.h:8,
  130. from ../../nbind/src/reflect.cc:4:
  131. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  132. template <class T, class M> class Persistent : public PersistentBase<T> {
  133. ^~~~~~~~~~
  134.  
  135. /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> > >&)]’:
  136. ../../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]’
  137. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  138. /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]
  139. reinterpret_cast<Callback>(callback), type);
  140. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141.  
  142. CXX(target) Release/obj.target/nbind/src/Color.o
  143.  
  144. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  145. from ../../nbind/include/nbind/api.h:71,
  146. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  147. from ../src/Color.cc:1:
  148. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  149. ../../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]
  150. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  151. ^
  152.  
  153. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  154. from ../../nbind/include/nbind/api.h:71,
  155. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  156. from ../src/Color.cc:1:
  157. /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>&)]’:
  158. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  159. /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]
  160. reinterpret_cast<Callback>(callback), type);
  161. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  162.  
  163. /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>&)]’:
  164. ../../nan/nan_object_wrap.h:65:61: required from here
  165. /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]
  166.  
  167. In file included from ../../nan/nan.h:2718,
  168. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  169. from ../../nbind/include/nbind/api.h:71,
  170. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  171. from ../src/Color.cc:1:
  172. ../../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> >&)]’:
  173. ../../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]’
  174. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  175. ../../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]
  176. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  177. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  179. from ../../nbind/include/nbind/api.h:71,
  180. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  181. from ../src/Color.cc:1:
  182. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  183. template <class T, class M> class Persistent : public PersistentBase<T> {
  184. ^~~~~~~~~~
  185.  
  186. /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> > >&)]’:
  187. ../../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]’
  188. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  189. /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]
  190. reinterpret_cast<Callback>(callback), type);
  191. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  192.  
  193. CXX(target) Release/obj.target/nbind/src/EventLoop.o
  194.  
  195. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  196. from ../../nbind/include/nbind/api.h:71,
  197. from ../../nbind/include/nbind/BindDefiner.h:11,
  198. from ../../nbind/include/nbind/noconflict.h:8,
  199. from ../../nbind/include/nbind/nbind.h:8,
  200. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
  201. from ../src/EventLoop.cc:1:
  202. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  203. ../../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]
  204. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  205. ^
  206.  
  207. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  208. from ../../nbind/include/nbind/api.h:71,
  209. from ../../nbind/include/nbind/BindDefiner.h:11,
  210. from ../../nbind/include/nbind/noconflict.h:8,
  211. from ../../nbind/include/nbind/nbind.h:8,
  212. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
  213. from ../src/EventLoop.cc:1:
  214. /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>&)]’:
  215. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  216. /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]
  217. reinterpret_cast<Callback>(callback), type);
  218. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  219.  
  220. /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>&)]’:
  221. ../../nan/nan_object_wrap.h:65:61: required from here
  222. /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]
  223.  
  224. In file included from ../../nan/nan.h:2718,
  225. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  226. from ../../nbind/include/nbind/api.h:71,
  227. from ../../nbind/include/nbind/BindDefiner.h:11,
  228. from ../../nbind/include/nbind/noconflict.h:8,
  229. from ../../nbind/include/nbind/nbind.h:8,
  230. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
  231. from ../src/EventLoop.cc:1:
  232. ../../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> >&)]’:
  233. ../../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]’
  234. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  235. ../../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]
  236. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  237. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  238. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  239. from ../../nbind/include/nbind/api.h:71,
  240. from ../../nbind/include/nbind/BindDefiner.h:11,
  241. from ../../nbind/include/nbind/noconflict.h:8,
  242. from ../../nbind/include/nbind/nbind.h:8,
  243. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/event-loop.h:6,
  244. from ../src/EventLoop.cc:1:
  245. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  246. template <class T, class M> class Persistent : public PersistentBase<T> {
  247. ^~~~~~~~~~
  248.  
  249. /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> > >&)]’:
  250. ../../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]’
  251. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  252. /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]
  253. reinterpret_cast<Callback>(callback), type);
  254. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  255.  
  256. CXX(target) Release/obj.target/nbind/src/Point.o
  257.  
  258. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  259. from ../../nbind/include/nbind/api.h:71,
  260. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  261. from ../src/Point.cc:1:
  262. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  263. ../../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]
  264. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  265. ^
  266.  
  267. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  268. from ../../nbind/include/nbind/api.h:71,
  269. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  270. from ../src/Point.cc:1:
  271. /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>&)]’:
  272. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  273. /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]
  274. reinterpret_cast<Callback>(callback), type);
  275. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  276.  
  277. /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>&)]’:
  278. ../../nan/nan_object_wrap.h:65:61: required from here
  279. /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]
  280.  
  281. In file included from ../../nan/nan.h:2718,
  282. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  283. from ../../nbind/include/nbind/api.h:71,
  284. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  285. from ../src/Point.cc:1:
  286. ../../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> >&)]’:
  287. ../../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]’
  288. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  289. ../../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]
  290. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  291. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  292. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  293. from ../../nbind/include/nbind/api.h:71,
  294. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  295. from ../src/Point.cc:1:
  296. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  297. template <class T, class M> class Persistent : public PersistentBase<T> {
  298. ^~~~~~~~~~
  299.  
  300. /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> > >&)]’:
  301. ../../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]’
  302. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  303. /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]
  304. reinterpret_cast<Callback>(callback), type);
  305. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  306.  
  307. CXX(target) Release/obj.target/nbind/src/PointDouble.o
  308.  
  309. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  310. from ../../nbind/include/nbind/api.h:71,
  311. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  312. from ../src/PointDouble.cc:1:
  313. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  314. ../../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]
  315. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  316. ^
  317.  
  318. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  319. from ../../nbind/include/nbind/api.h:71,
  320. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  321. from ../src/PointDouble.cc:1:
  322. /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>&)]’:
  323. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  324. /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]
  325. reinterpret_cast<Callback>(callback), type);
  326. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  327.  
  328. /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>&)]’:
  329. ../../nan/nan_object_wrap.h:65:61: required from here
  330. /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]
  331.  
  332. In file included from ../../nan/nan.h:2718,
  333. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  334. from ../../nbind/include/nbind/api.h:71,
  335. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  336. from ../src/PointDouble.cc:1:
  337. ../../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> >&)]’:
  338. ../../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]’
  339. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  340. ../../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]
  341. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  342. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  343. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  344. from ../../nbind/include/nbind/api.h:71,
  345. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  346. from ../src/PointDouble.cc:1:
  347. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  348. template <class T, class M> class Persistent : public PersistentBase<T> {
  349. ^~~~~~~~~~
  350.  
  351. /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> > >&)]’:
  352. ../../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]’
  353. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  354. /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]
  355. reinterpret_cast<Callback>(callback), type);
  356. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  357.  
  358. CXX(target) Release/obj.target/nbind/src/Size.o
  359.  
  360. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  361. from ../../nbind/include/nbind/api.h:71,
  362. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  363. from ../src/Size.cc:1:
  364. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  365. ../../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]
  366. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  367. ^
  368.  
  369. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  370. from ../../nbind/include/nbind/api.h:71,
  371. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  372. from ../src/Size.cc:1:
  373. /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>&)]’:
  374. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  375. /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]
  376. reinterpret_cast<Callback>(callback), type);
  377. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  378.  
  379. /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>&)]’:
  380. ../../nan/nan_object_wrap.h:65:61: required from here
  381. /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]
  382.  
  383. In file included from ../../nan/nan.h:2718,
  384. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  385. from ../../nbind/include/nbind/api.h:71,
  386. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  387. from ../src/Size.cc:1:
  388. ../../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> >&)]’:
  389. ../../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]’
  390. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  391. ../../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]
  392. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  393. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  394. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  395. from ../../nbind/include/nbind/api.h:71,
  396. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  397. from ../src/Size.cc:1:
  398. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  399. template <class T, class M> class Persistent : public PersistentBase<T> {
  400. ^~~~~~~~~~
  401.  
  402. /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> > >&)]’:
  403. ../../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]’
  404. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  405. /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]
  406. reinterpret_cast<Callback>(callback), type);
  407. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  408.  
  409. CXX(target) Release/obj.target/nbind/src/SizeDouble.o
  410.  
  411. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  412. from ../../nbind/include/nbind/api.h:71,
  413. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  414. from ../src/SizeDouble.cc:1:
  415. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  416. ../../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]
  417. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  418. ^
  419.  
  420. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  421. from ../../nbind/include/nbind/api.h:71,
  422. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  423. from ../src/SizeDouble.cc:1:
  424. /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>&)]’:
  425. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  426. /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]
  427. reinterpret_cast<Callback>(callback), type);
  428. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  429.  
  430. /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>&)]’:
  431. ../../nan/nan_object_wrap.h:65:61: required from here
  432. /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]
  433.  
  434. In file included from ../../nan/nan.h:2718,
  435. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  436. from ../../nbind/include/nbind/api.h:71,
  437. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  438. from ../src/SizeDouble.cc:1:
  439. ../../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> >&)]’:
  440. ../../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]’
  441. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  442. ../../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]
  443. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  444. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  445. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  446. from ../../nbind/include/nbind/api.h:71,
  447. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/values.h:4,
  448. from ../src/SizeDouble.cc:1:
  449. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  450. template <class T, class M> class Persistent : public PersistentBase<T> {
  451. ^~~~~~~~~~
  452.  
  453. /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> > >&)]’:
  454. ../../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]’
  455. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  456. /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]
  457. reinterpret_cast<Callback>(callback), type);
  458. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  459.  
  460. CXX(target) Release/obj.target/nbind/src/timer-common.o
  461.  
  462. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  463. from ../../nbind/include/nbind/api.h:71,
  464. from ../src/timer-common.cc:1:
  465. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  466. ../../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]
  467. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  468. ^
  469.  
  470. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  471. from ../../nbind/include/nbind/api.h:71,
  472. from ../src/timer-common.cc:1:
  473. /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>&)]’:
  474. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  475. /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]
  476. reinterpret_cast<Callback>(callback), type);
  477. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  478.  
  479. /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>&)]’:
  480. ../../nan/nan_object_wrap.h:65:61: required from here
  481. /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]
  482.  
  483. In file included from ../../nan/nan.h:2718,
  484. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  485. from ../../nbind/include/nbind/api.h:71,
  486. from ../src/timer-common.cc:1:
  487. ../../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> >&)]’:
  488. ../../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]’
  489. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  490. ../../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]
  491. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  492. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  493. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  494. from ../../nbind/include/nbind/api.h:71,
  495. from ../src/timer-common.cc:1:
  496. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  497. template <class T, class M> class Persistent : public PersistentBase<T> {
  498. ^~~~~~~~~~
  499.  
  500. /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> > >&)]’:
  501. ../../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]’
  502. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  503. /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]
  504. reinterpret_cast<Callback>(callback), type);
  505. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  506.  
  507. CXX(target) Release/obj.target/nbind/src/UiBox.o
  508.  
  509. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  510. from ../../nbind/include/nbind/api.h:71,
  511. from ../src/UiBox.cc:3:
  512. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  513. ../../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]
  514. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  515. ^
  516.  
  517. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  518. from ../../nbind/include/nbind/api.h:71,
  519. from ../src/UiBox.cc:3:
  520. /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>&)]’:
  521. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  522. /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]
  523. reinterpret_cast<Callback>(callback), type);
  524. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  525.  
  526. /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>&)]’:
  527. ../../nan/nan_object_wrap.h:65:61: required from here
  528. /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]
  529.  
  530. In file included from ../../nan/nan.h:2718,
  531. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  532. from ../../nbind/include/nbind/api.h:71,
  533. from ../src/UiBox.cc:3:
  534. ../../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> >&)]’:
  535. ../../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]’
  536. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  537. ../../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]
  538. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  539. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  540. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  541. from ../../nbind/include/nbind/api.h:71,
  542. from ../src/UiBox.cc:3:
  543. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  544. template <class T, class M> class Persistent : public PersistentBase<T> {
  545. ^~~~~~~~~~
  546.  
  547. /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> > >&)]’:
  548. ../../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]’
  549. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  550. /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]
  551. reinterpret_cast<Callback>(callback), type);
  552. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  553.  
  554. CXX(target) Release/obj.target/nbind/src/UiButton.o
  555.  
  556. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  557. from ../../nbind/include/nbind/api.h:71,
  558. from ../src/UiButton.cc:2:
  559. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  560. ../../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]
  561. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  562. ^
  563.  
  564. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  565. from ../../nbind/include/nbind/api.h:71,
  566. from ../src/UiButton.cc:2:
  567. /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>&)]’:
  568. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  569. /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]
  570. reinterpret_cast<Callback>(callback), type);
  571. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  572.  
  573. /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>&)]’:
  574. ../../nan/nan_object_wrap.h:65:61: required from here
  575. /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]
  576.  
  577. In file included from ../../nan/nan.h:2718,
  578. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  579. from ../../nbind/include/nbind/api.h:71,
  580. from ../src/UiButton.cc:2:
  581. ../../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> >&)]’:
  582. ../../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]’
  583. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  584. ../../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]
  585. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  586. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  587. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  588. from ../../nbind/include/nbind/api.h:71,
  589. from ../src/UiButton.cc:2:
  590. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  591. template <class T, class M> class Persistent : public PersistentBase<T> {
  592. ^~~~~~~~~~
  593.  
  594. /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> > >&)]’:
  595. ../../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]’
  596. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  597. /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]
  598. reinterpret_cast<Callback>(callback), type);
  599. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  600.  
  601. CXX(target) Release/obj.target/nbind/src/Ui.o
  602.  
  603. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  604. from ../../nbind/include/nbind/api.h:71,
  605. from ../src/Ui.cc:2:
  606. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  607. ../../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]
  608. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  609. ^
  610.  
  611. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  612. from ../../nbind/include/nbind/api.h:71,
  613. from ../src/Ui.cc:2:
  614. /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>&)]’:
  615. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  616. /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]
  617. reinterpret_cast<Callback>(callback), type);
  618. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  619.  
  620. /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>&)]’:
  621. ../../nan/nan_object_wrap.h:65:61: required from here
  622. /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]
  623.  
  624. In file included from ../../nan/nan.h:2718,
  625. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  626. from ../../nbind/include/nbind/api.h:71,
  627. from ../src/Ui.cc:2:
  628. ../../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> >&)]’:
  629. ../../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]’
  630. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  631. ../../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]
  632. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  633. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  634. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  635. from ../../nbind/include/nbind/api.h:71,
  636. from ../src/Ui.cc:2:
  637. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  638. template <class T, class M> class Persistent : public PersistentBase<T> {
  639. ^~~~~~~~~~
  640.  
  641. /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> > >&)]’:
  642. ../../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]’
  643. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  644. /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]
  645. reinterpret_cast<Callback>(callback), type);
  646. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  647.  
  648. CXX(target) Release/obj.target/nbind/src/UiCheckbox.o
  649.  
  650. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  651. from ../../nbind/include/nbind/api.h:71,
  652. from ../src/UiCheckbox.cc:2:
  653. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  654. ../../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]
  655. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  656. ^
  657.  
  658. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  659. from ../../nbind/include/nbind/api.h:71,
  660. from ../src/UiCheckbox.cc:2:
  661. /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>&)]’:
  662. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  663. /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]
  664. reinterpret_cast<Callback>(callback), type);
  665. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  666.  
  667. /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>&)]’:
  668. ../../nan/nan_object_wrap.h:65:61: required from here
  669. /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]
  670.  
  671. In file included from ../../nan/nan.h:2718,
  672. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  673. from ../../nbind/include/nbind/api.h:71,
  674. from ../src/UiCheckbox.cc:2:
  675. ../../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> >&)]’:
  676. ../../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]’
  677. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  678. ../../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]
  679. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  680. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  681. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  682. from ../../nbind/include/nbind/api.h:71,
  683. from ../src/UiCheckbox.cc:2:
  684. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  685. template <class T, class M> class Persistent : public PersistentBase<T> {
  686. ^~~~~~~~~~
  687.  
  688. /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> > >&)]’:
  689. ../../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]’
  690. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  691. /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]
  692. reinterpret_cast<Callback>(callback), type);
  693. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  694.  
  695. CXX(target) Release/obj.target/nbind/src/UiColorButton.o
  696.  
  697. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  698. from ../../nbind/include/nbind/api.h:71,
  699. from ../src/UiColorButton.cc:1:
  700. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  701. ../../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]
  702. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  703. ^
  704.  
  705. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  706. from ../../nbind/include/nbind/api.h:71,
  707. from ../src/UiColorButton.cc:1:
  708. /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>&)]’:
  709. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  710. /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]
  711. reinterpret_cast<Callback>(callback), type);
  712. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  713.  
  714. /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>&)]’:
  715. ../../nan/nan_object_wrap.h:65:61: required from here
  716. /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]
  717.  
  718. In file included from ../../nan/nan.h:2718,
  719. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  720. from ../../nbind/include/nbind/api.h:71,
  721. from ../src/UiColorButton.cc:1:
  722. ../../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> >&)]’:
  723. ../../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]’
  724. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  725. ../../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]
  726. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  727. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  728. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  729. from ../../nbind/include/nbind/api.h:71,
  730. from ../src/UiColorButton.cc:1:
  731. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  732. template <class T, class M> class Persistent : public PersistentBase<T> {
  733. ^~~~~~~~~~
  734.  
  735. /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> > >&)]’:
  736. ../../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]’
  737. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  738. /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]
  739. reinterpret_cast<Callback>(callback), type);
  740. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  741.  
  742. CXX(target) Release/obj.target/nbind/src/UiCombobox.o
  743.  
  744. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  745. from ../../nbind/include/nbind/api.h:71,
  746. from ../src/UiCombobox.cc:2:
  747. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  748. ../../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]
  749. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  750. ^
  751.  
  752. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  753. from ../../nbind/include/nbind/api.h:71,
  754. from ../src/UiCombobox.cc:2:
  755. /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>&)]’:
  756. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  757. /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]
  758. reinterpret_cast<Callback>(callback), type);
  759. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  760.  
  761. /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>&)]’:
  762. ../../nan/nan_object_wrap.h:65:61: required from here
  763. /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]
  764.  
  765. In file included from ../../nan/nan.h:2718,
  766. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  767. from ../../nbind/include/nbind/api.h:71,
  768. from ../src/UiCombobox.cc:2:
  769. ../../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> >&)]’:
  770. ../../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]’
  771. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  772. ../../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]
  773. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  774. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  775. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  776. from ../../nbind/include/nbind/api.h:71,
  777. from ../src/UiCombobox.cc:2:
  778. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  779. template <class T, class M> class Persistent : public PersistentBase<T> {
  780. ^~~~~~~~~~
  781.  
  782. /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> > >&)]’:
  783. ../../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]’
  784. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  785. /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]
  786. reinterpret_cast<Callback>(callback), type);
  787. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  788.  
  789. CXX(target) Release/obj.target/nbind/src/UiControl.o
  790.  
  791. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  792. from ../../nbind/include/nbind/api.h:71,
  793. from ../src/UiControl.cc:2:
  794. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  795. ../../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]
  796. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  797. ^
  798.  
  799. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  800. from ../../nbind/include/nbind/api.h:71,
  801. from ../src/UiControl.cc:2:
  802. /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>&)]’:
  803. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  804. /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]
  805. reinterpret_cast<Callback>(callback), type);
  806. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  807.  
  808. /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>&)]’:
  809. ../../nan/nan_object_wrap.h:65:61: required from here
  810. /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]
  811.  
  812. In file included from ../../nan/nan.h:2718,
  813. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  814. from ../../nbind/include/nbind/api.h:71,
  815. from ../src/UiControl.cc:2:
  816. ../../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> >&)]’:
  817. ../../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]’
  818. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  819. ../../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]
  820. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  821. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  822. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  823. from ../../nbind/include/nbind/api.h:71,
  824. from ../src/UiControl.cc:2:
  825. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  826. template <class T, class M> class Persistent : public PersistentBase<T> {
  827. ^~~~~~~~~~
  828.  
  829. /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> > >&)]’:
  830. ../../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]’
  831. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  832. /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]
  833. reinterpret_cast<Callback>(callback), type);
  834. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  835.  
  836. CXX(target) Release/obj.target/nbind/src/UiDateTimePicker.o
  837.  
  838. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  839. from ../../nbind/include/nbind/api.h:71,
  840. from ../src/UiDateTimePicker.cc:1:
  841. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  842. ../../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]
  843. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  844. ^
  845.  
  846. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  847. from ../../nbind/include/nbind/api.h:71,
  848. from ../src/UiDateTimePicker.cc:1:
  849. /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>&)]’:
  850. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  851. /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]
  852. reinterpret_cast<Callback>(callback), type);
  853. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  854.  
  855. /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>&)]’:
  856. ../../nan/nan_object_wrap.h:65:61: required from here
  857. /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]
  858.  
  859. In file included from ../../nan/nan.h:2718,
  860. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  861. from ../../nbind/include/nbind/api.h:71,
  862. from ../src/UiDateTimePicker.cc:1:
  863. ../../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> >&)]’:
  864. ../../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]’
  865. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  866. ../../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]
  867. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  868. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  869. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  870. from ../../nbind/include/nbind/api.h:71,
  871. from ../src/UiDateTimePicker.cc:1:
  872. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  873. template <class T, class M> class Persistent : public PersistentBase<T> {
  874. ^~~~~~~~~~
  875.  
  876. /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> > >&)]’:
  877. ../../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]’
  878. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  879. /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]
  880. reinterpret_cast<Callback>(callback), type);
  881. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  882.  
  883. CXX(target) Release/obj.target/nbind/src/UiEditableCombobox.o
  884.  
  885. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  886. from ../../nbind/include/nbind/api.h:71,
  887. from ../src/UiEditableCombobox.cc:2:
  888. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  889. ../../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]
  890. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  891. ^
  892.  
  893. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  894. from ../../nbind/include/nbind/api.h:71,
  895. from ../src/UiEditableCombobox.cc:2:
  896. /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>&)]’:
  897. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  898. /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]
  899. reinterpret_cast<Callback>(callback), type);
  900. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  901.  
  902. /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>&)]’:
  903. ../../nan/nan_object_wrap.h:65:61: required from here
  904. /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]
  905.  
  906. In file included from ../../nan/nan.h:2718,
  907. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  908. from ../../nbind/include/nbind/api.h:71,
  909. from ../src/UiEditableCombobox.cc:2:
  910. ../../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> >&)]’:
  911. ../../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]’
  912. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  913. ../../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]
  914. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  915. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  916. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  917. from ../../nbind/include/nbind/api.h:71,
  918. from ../src/UiEditableCombobox.cc:2:
  919. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  920. template <class T, class M> class Persistent : public PersistentBase<T> {
  921. ^~~~~~~~~~
  922.  
  923. /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> > >&)]’:
  924. ../../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]’
  925. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  926. /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]
  927. reinterpret_cast<Callback>(callback), type);
  928. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  929.  
  930. CXX(target) Release/obj.target/nbind/src/UiEntry.o
  931.  
  932. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  933. from ../../nbind/include/nbind/api.h:71,
  934. from ../src/UiEntry.cc:2:
  935. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  936. ../../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]
  937. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  938. ^
  939.  
  940. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  941. from ../../nbind/include/nbind/api.h:71,
  942. from ../src/UiEntry.cc:2:
  943. /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>&)]’:
  944. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  945. /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]
  946. reinterpret_cast<Callback>(callback), type);
  947. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  948.  
  949. /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>&)]’:
  950. ../../nan/nan_object_wrap.h:65:61: required from here
  951. /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]
  952.  
  953. In file included from ../../nan/nan.h:2718,
  954. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  955. from ../../nbind/include/nbind/api.h:71,
  956. from ../src/UiEntry.cc:2:
  957. ../../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> >&)]’:
  958. ../../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]’
  959. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  960. ../../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]
  961. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  962. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  963. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  964. from ../../nbind/include/nbind/api.h:71,
  965. from ../src/UiEntry.cc:2:
  966. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  967. template <class T, class M> class Persistent : public PersistentBase<T> {
  968. ^~~~~~~~~~
  969.  
  970. /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> > >&)]’:
  971. ../../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]’
  972. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  973. /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]
  974. reinterpret_cast<Callback>(callback), type);
  975. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  976.  
  977. CXX(target) Release/obj.target/nbind/src/UiFontButton.o
  978.  
  979. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  980. from ../../nbind/include/nbind/api.h:71,
  981. from ../src/UiFontButton.cc:1:
  982. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  983. ../../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]
  984. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  985. ^
  986.  
  987. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  988. from ../../nbind/include/nbind/api.h:71,
  989. from ../src/UiFontButton.cc:1:
  990. /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>&)]’:
  991. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  992. /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]
  993. reinterpret_cast<Callback>(callback), type);
  994. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  995.  
  996. /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>&)]’:
  997. ../../nan/nan_object_wrap.h:65:61: required from here
  998. /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]
  999.  
  1000. In file included from ../../nan/nan.h:2718,
  1001. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1002. from ../../nbind/include/nbind/api.h:71,
  1003. from ../src/UiFontButton.cc:1:
  1004. ../../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> >&)]’:
  1005. ../../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]’
  1006. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1007. ../../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]
  1008. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1009. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1010. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1011. from ../../nbind/include/nbind/api.h:71,
  1012. from ../src/UiFontButton.cc:1:
  1013. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1014. template <class T, class M> class Persistent : public PersistentBase<T> {
  1015. ^~~~~~~~~~
  1016.  
  1017. /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> > >&)]’:
  1018. ../../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]’
  1019. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1020. /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]
  1021. reinterpret_cast<Callback>(callback), type);
  1022. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1023.  
  1024. CXX(target) Release/obj.target/nbind/src/UiForm.o
  1025.  
  1026. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1027. from ../../nbind/include/nbind/api.h:71,
  1028. from ../src/UiForm.cc:4:
  1029. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1030. ../../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]
  1031. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1032. ^
  1033.  
  1034. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1035. from ../../nbind/include/nbind/api.h:71,
  1036. from ../src/UiForm.cc:4:
  1037. /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>&)]’:
  1038. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1039. /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]
  1040. reinterpret_cast<Callback>(callback), type);
  1041. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1042.  
  1043. /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>&)]’:
  1044. ../../nan/nan_object_wrap.h:65:61: required from here
  1045. /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]
  1046.  
  1047. In file included from ../../nan/nan.h:2718,
  1048. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1049. from ../../nbind/include/nbind/api.h:71,
  1050. from ../src/UiForm.cc:4:
  1051. ../../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> >&)]’:
  1052. ../../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]’
  1053. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1054. ../../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]
  1055. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1056. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1057. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1058. from ../../nbind/include/nbind/api.h:71,
  1059. from ../src/UiForm.cc:4:
  1060. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1061. template <class T, class M> class Persistent : public PersistentBase<T> {
  1062. ^~~~~~~~~~
  1063.  
  1064. /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> > >&)]’:
  1065. ../../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]’
  1066. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1067. /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]
  1068. reinterpret_cast<Callback>(callback), type);
  1069. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1070.  
  1071. CXX(target) Release/obj.target/nbind/src/UiGrid.o
  1072.  
  1073. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1074. from ../../nbind/include/nbind/api.h:71,
  1075. from ../src/UiGrid.cc:1:
  1076. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1077. ../../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]
  1078. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1079. ^
  1080.  
  1081. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1082. from ../../nbind/include/nbind/api.h:71,
  1083. from ../src/UiGrid.cc:1:
  1084. /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>&)]’:
  1085. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1086. /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]
  1087. reinterpret_cast<Callback>(callback), type);
  1088. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1089.  
  1090. /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>&)]’:
  1091. ../../nan/nan_object_wrap.h:65:61: required from here
  1092. /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]
  1093.  
  1094. In file included from ../../nan/nan.h:2718,
  1095. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1096. from ../../nbind/include/nbind/api.h:71,
  1097. from ../src/UiGrid.cc:1:
  1098. ../../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> >&)]’:
  1099. ../../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]’
  1100. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1101. ../../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]
  1102. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1103. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1104. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1105. from ../../nbind/include/nbind/api.h:71,
  1106. from ../src/UiGrid.cc:1:
  1107. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1108. template <class T, class M> class Persistent : public PersistentBase<T> {
  1109. ^~~~~~~~~~
  1110.  
  1111. /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> > >&)]’:
  1112. ../../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]’
  1113. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1114. /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]
  1115. reinterpret_cast<Callback>(callback), type);
  1116. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1117.  
  1118. CXX(target) Release/obj.target/nbind/src/UiGroup.o
  1119.  
  1120. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1121. from ../../nbind/include/nbind/api.h:71,
  1122. from ../src/UiGroup.cc:2:
  1123. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1124. ../../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]
  1125. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1126. ^
  1127.  
  1128. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1129. from ../../nbind/include/nbind/api.h:71,
  1130. from ../src/UiGroup.cc:2:
  1131. /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>&)]’:
  1132. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1133. /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]
  1134. reinterpret_cast<Callback>(callback), type);
  1135. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1136.  
  1137. /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>&)]’:
  1138. ../../nan/nan_object_wrap.h:65:61: required from here
  1139. /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]
  1140.  
  1141. In file included from ../../nan/nan.h:2718,
  1142. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1143. from ../../nbind/include/nbind/api.h:71,
  1144. from ../src/UiGroup.cc:2:
  1145. ../../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> >&)]’:
  1146. ../../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]’
  1147. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1148. ../../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]
  1149. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1150. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1151. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1152. from ../../nbind/include/nbind/api.h:71,
  1153. from ../src/UiGroup.cc:2:
  1154. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1155. template <class T, class M> class Persistent : public PersistentBase<T> {
  1156. ^~~~~~~~~~
  1157.  
  1158. /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> > >&)]’:
  1159. ../../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]’
  1160. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1161. /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]
  1162. reinterpret_cast<Callback>(callback), type);
  1163. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1164.  
  1165. CXX(target) Release/obj.target/nbind/src/UiLabel.o
  1166.  
  1167. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1168. from ../../nbind/include/nbind/api.h:71,
  1169. from ../src/UiLabel.cc:2:
  1170. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1171. ../../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]
  1172. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1173. ^
  1174.  
  1175. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1176. from ../../nbind/include/nbind/api.h:71,
  1177. from ../src/UiLabel.cc:2:
  1178. /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>&)]’:
  1179. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1180. /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]
  1181. reinterpret_cast<Callback>(callback), type);
  1182. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1183.  
  1184. /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>&)]’:
  1185. ../../nan/nan_object_wrap.h:65:61: required from here
  1186. /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]
  1187.  
  1188. In file included from ../../nan/nan.h:2718,
  1189. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1190. from ../../nbind/include/nbind/api.h:71,
  1191. from ../src/UiLabel.cc:2:
  1192. ../../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> >&)]’:
  1193. ../../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]’
  1194. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1195. ../../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]
  1196. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1197. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1198. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1199. from ../../nbind/include/nbind/api.h:71,
  1200. from ../src/UiLabel.cc:2:
  1201. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1202. template <class T, class M> class Persistent : public PersistentBase<T> {
  1203. ^~~~~~~~~~
  1204.  
  1205. /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> > >&)]’:
  1206. ../../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]’
  1207. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1208. /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]
  1209. reinterpret_cast<Callback>(callback), type);
  1210. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1211.  
  1212. CXX(target) Release/obj.target/nbind/src/UiMenu.o
  1213.  
  1214. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1215. from ../../nbind/include/nbind/api.h:71,
  1216. from ../src/UiMenu.cc:2:
  1217. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1218. ../../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]
  1219. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1220. ^
  1221.  
  1222. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1223. from ../../nbind/include/nbind/api.h:71,
  1224. from ../src/UiMenu.cc:2:
  1225. /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>&)]’:
  1226. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1227. /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]
  1228. reinterpret_cast<Callback>(callback), type);
  1229. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1230.  
  1231. /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>&)]’:
  1232. ../../nan/nan_object_wrap.h:65:61: required from here
  1233. /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]
  1234.  
  1235. In file included from ../../nan/nan.h:2718,
  1236. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1237. from ../../nbind/include/nbind/api.h:71,
  1238. from ../src/UiMenu.cc:2:
  1239. ../../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> >&)]’:
  1240. ../../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]’
  1241. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1242. ../../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]
  1243. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1244. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1245. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1246. from ../../nbind/include/nbind/api.h:71,
  1247. from ../src/UiMenu.cc:2:
  1248. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1249. template <class T, class M> class Persistent : public PersistentBase<T> {
  1250. ^~~~~~~~~~
  1251.  
  1252. /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> > >&)]’:
  1253. ../../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]’
  1254. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1255. /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]
  1256. reinterpret_cast<Callback>(callback), type);
  1257. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1258.  
  1259. CXX(target) Release/obj.target/nbind/src/UiMultilineEntry.o
  1260.  
  1261. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1262. from ../../nbind/include/nbind/api.h:71,
  1263. from ../src/UiMultilineEntry.cc:2:
  1264. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1265. ../../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]
  1266. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1267. ^
  1268.  
  1269. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1270. from ../../nbind/include/nbind/api.h:71,
  1271. from ../src/UiMultilineEntry.cc:2:
  1272. /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>&)]’:
  1273. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1274. /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]
  1275. reinterpret_cast<Callback>(callback), type);
  1276. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1277.  
  1278. /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>&)]’:
  1279. ../../nan/nan_object_wrap.h:65:61: required from here
  1280. /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]
  1281.  
  1282. In file included from ../../nan/nan.h:2718,
  1283. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1284. from ../../nbind/include/nbind/api.h:71,
  1285. from ../src/UiMultilineEntry.cc:2:
  1286. ../../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> >&)]’:
  1287. ../../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]’
  1288. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1289. ../../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]
  1290. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1291. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1292. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1293. from ../../nbind/include/nbind/api.h:71,
  1294. from ../src/UiMultilineEntry.cc:2:
  1295. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1296. template <class T, class M> class Persistent : public PersistentBase<T> {
  1297. ^~~~~~~~~~
  1298.  
  1299. /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> > >&)]’:
  1300. ../../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]’
  1301. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1302. /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]
  1303. reinterpret_cast<Callback>(callback), type);
  1304. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1305.  
  1306. CXX(target) Release/obj.target/nbind/src/UiProgressBar.o
  1307.  
  1308. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1309. from ../../nbind/include/nbind/api.h:71,
  1310. from ../src/UiProgressBar.cc:1:
  1311. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1312. ../../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]
  1313. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1314. ^
  1315.  
  1316. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1317. from ../../nbind/include/nbind/api.h:71,
  1318. from ../src/UiProgressBar.cc:1:
  1319. /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>&)]’:
  1320. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1321. /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]
  1322. reinterpret_cast<Callback>(callback), type);
  1323. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1324.  
  1325. /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>&)]’:
  1326. ../../nan/nan_object_wrap.h:65:61: required from here
  1327. /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]
  1328.  
  1329. In file included from ../../nan/nan.h:2718,
  1330. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1331. from ../../nbind/include/nbind/api.h:71,
  1332. from ../src/UiProgressBar.cc:1:
  1333. ../../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> >&)]’:
  1334. ../../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]’
  1335. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1336. ../../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]
  1337. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1338. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1339. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1340. from ../../nbind/include/nbind/api.h:71,
  1341. from ../src/UiProgressBar.cc:1:
  1342. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1343. template <class T, class M> class Persistent : public PersistentBase<T> {
  1344. ^~~~~~~~~~
  1345.  
  1346. /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> > >&)]’:
  1347. ../../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]’
  1348. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1349. /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]
  1350. reinterpret_cast<Callback>(callback), type);
  1351. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1352.  
  1353. CXX(target) Release/obj.target/nbind/src/UiRadioButtons.o
  1354.  
  1355. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1356. from ../../nbind/include/nbind/api.h:71,
  1357. from ../src/UiRadioButtons.cc:2:
  1358. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1359. ../../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]
  1360. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1361. ^
  1362.  
  1363. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1364. from ../../nbind/include/nbind/api.h:71,
  1365. from ../src/UiRadioButtons.cc:2:
  1366. /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>&)]’:
  1367. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1368. /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]
  1369. reinterpret_cast<Callback>(callback), type);
  1370. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1371.  
  1372. /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>&)]’:
  1373. ../../nan/nan_object_wrap.h:65:61: required from here
  1374. /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]
  1375.  
  1376. In file included from ../../nan/nan.h:2718,
  1377. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1378. from ../../nbind/include/nbind/api.h:71,
  1379. from ../src/UiRadioButtons.cc:2:
  1380. ../../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> >&)]’:
  1381. ../../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]’
  1382. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1383. ../../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]
  1384. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1385. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1386. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1387. from ../../nbind/include/nbind/api.h:71,
  1388. from ../src/UiRadioButtons.cc:2:
  1389. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1390. template <class T, class M> class Persistent : public PersistentBase<T> {
  1391. ^~~~~~~~~~
  1392.  
  1393. /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> > >&)]’:
  1394. ../../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]’
  1395. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1396. /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]
  1397. reinterpret_cast<Callback>(callback), type);
  1398. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1399.  
  1400. CXX(target) Release/obj.target/nbind/src/UiSeparator.o
  1401.  
  1402. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1403. from ../../nbind/include/nbind/api.h:71,
  1404. from ../src/UiSeparator.cc:1:
  1405. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1406. ../../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]
  1407. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1408. ^
  1409.  
  1410. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1411. from ../../nbind/include/nbind/api.h:71,
  1412. from ../src/UiSeparator.cc:1:
  1413. /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>&)]’:
  1414. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1415. /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]
  1416. reinterpret_cast<Callback>(callback), type);
  1417. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1418.  
  1419. /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>&)]’:
  1420. ../../nan/nan_object_wrap.h:65:61: required from here
  1421. /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]
  1422.  
  1423. In file included from ../../nan/nan.h:2718,
  1424. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1425. from ../../nbind/include/nbind/api.h:71,
  1426. from ../src/UiSeparator.cc:1:
  1427. ../../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> >&)]’:
  1428. ../../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]’
  1429. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1430. ../../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]
  1431. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1432. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1433. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1434. from ../../nbind/include/nbind/api.h:71,
  1435. from ../src/UiSeparator.cc:1:
  1436. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1437. template <class T, class M> class Persistent : public PersistentBase<T> {
  1438. ^~~~~~~~~~
  1439.  
  1440. /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> > >&)]’:
  1441. ../../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]’
  1442. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1443. /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]
  1444. reinterpret_cast<Callback>(callback), type);
  1445. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1446.  
  1447. CXX(target) Release/obj.target/nbind/src/UiSlider.o
  1448.  
  1449. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1450. from ../../nbind/include/nbind/api.h:71,
  1451. from ../src/UiSlider.cc:1:
  1452. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1453. ../../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]
  1454. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1455. ^
  1456.  
  1457. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1458. from ../../nbind/include/nbind/api.h:71,
  1459. from ../src/UiSlider.cc:1:
  1460. /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>&)]’:
  1461. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1462. /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]
  1463. reinterpret_cast<Callback>(callback), type);
  1464. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1465.  
  1466. /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>&)]’:
  1467. ../../nan/nan_object_wrap.h:65:61: required from here
  1468. /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]
  1469.  
  1470. In file included from ../../nan/nan.h:2718,
  1471. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1472. from ../../nbind/include/nbind/api.h:71,
  1473. from ../src/UiSlider.cc:1:
  1474. ../../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> >&)]’:
  1475. ../../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]’
  1476. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1477. ../../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]
  1478. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1479. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1480. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1481. from ../../nbind/include/nbind/api.h:71,
  1482. from ../src/UiSlider.cc:1:
  1483. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1484. template <class T, class M> class Persistent : public PersistentBase<T> {
  1485. ^~~~~~~~~~
  1486.  
  1487. /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> > >&)]’:
  1488. ../../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]’
  1489. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1490. /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]
  1491. reinterpret_cast<Callback>(callback), type);
  1492. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1493.  
  1494. CXX(target) Release/obj.target/nbind/src/UiSpinbox.o
  1495.  
  1496. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1497. from ../../nbind/include/nbind/api.h:71,
  1498. from ../src/UiSpinbox.cc:2:
  1499. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1500. ../../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]
  1501. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1502. ^
  1503.  
  1504. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1505. from ../../nbind/include/nbind/api.h:71,
  1506. from ../src/UiSpinbox.cc:2:
  1507. /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>&)]’:
  1508. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1509. /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]
  1510. reinterpret_cast<Callback>(callback), type);
  1511. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1512.  
  1513. /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>&)]’:
  1514. ../../nan/nan_object_wrap.h:65:61: required from here
  1515. /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]
  1516.  
  1517. In file included from ../../nan/nan.h:2718,
  1518. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1519. from ../../nbind/include/nbind/api.h:71,
  1520. from ../src/UiSpinbox.cc:2:
  1521. ../../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> >&)]’:
  1522. ../../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]’
  1523. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1524. ../../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]
  1525. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1526. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1527. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1528. from ../../nbind/include/nbind/api.h:71,
  1529. from ../src/UiSpinbox.cc:2:
  1530. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1531. template <class T, class M> class Persistent : public PersistentBase<T> {
  1532. ^~~~~~~~~~
  1533.  
  1534. /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> > >&)]’:
  1535. ../../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]’
  1536. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1537. /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]
  1538. reinterpret_cast<Callback>(callback), type);
  1539. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1540.  
  1541. CXX(target) Release/obj.target/nbind/src/UiTab.o
  1542.  
  1543. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1544. from ../../nbind/include/nbind/api.h:71,
  1545. from ../src/UiTab.cc:2:
  1546. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1547. ../../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]
  1548. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1549. ^
  1550.  
  1551. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1552. from ../../nbind/include/nbind/api.h:71,
  1553. from ../src/UiTab.cc:2:
  1554. /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>&)]’:
  1555. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1556. /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]
  1557. reinterpret_cast<Callback>(callback), type);
  1558. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1559.  
  1560. /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>&)]’:
  1561. ../../nan/nan_object_wrap.h:65:61: required from here
  1562. /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]
  1563.  
  1564. In file included from ../../nan/nan.h:2718,
  1565. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1566. from ../../nbind/include/nbind/api.h:71,
  1567. from ../src/UiTab.cc:2:
  1568. ../../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> >&)]’:
  1569. ../../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]’
  1570. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1571. ../../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]
  1572. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1573. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1574. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1575. from ../../nbind/include/nbind/api.h:71,
  1576. from ../src/UiTab.cc:2:
  1577. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1578. template <class T, class M> class Persistent : public PersistentBase<T> {
  1579. ^~~~~~~~~~
  1580.  
  1581. /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> > >&)]’:
  1582. ../../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]’
  1583. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1584. /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]
  1585. reinterpret_cast<Callback>(callback), type);
  1586. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1587.  
  1588. CXX(target) Release/obj.target/nbind/src/UiWindow.o
  1589.  
  1590. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1591. from ../../nbind/include/nbind/api.h:71,
  1592. from ../src/UiWindow.cc:3:
  1593. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1594. ../../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]
  1595. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1596. ^
  1597.  
  1598. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1599. from ../../nbind/include/nbind/api.h:71,
  1600. from ../src/UiWindow.cc:3:
  1601. /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>&)]’:
  1602. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1603. /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]
  1604. reinterpret_cast<Callback>(callback), type);
  1605. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1606.  
  1607. /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>&)]’:
  1608. ../../nan/nan_object_wrap.h:65:61: required from here
  1609. /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]
  1610.  
  1611. In file included from ../../nan/nan.h:2718,
  1612. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1613. from ../../nbind/include/nbind/api.h:71,
  1614. from ../src/UiWindow.cc:3:
  1615. ../../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> >&)]’:
  1616. ../../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]’
  1617. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1618. ../../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]
  1619. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1620. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1621. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1622. from ../../nbind/include/nbind/api.h:71,
  1623. from ../src/UiWindow.cc:3:
  1624. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1625. template <class T, class M> class Persistent : public PersistentBase<T> {
  1626. ^~~~~~~~~~
  1627.  
  1628. /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> > >&)]’:
  1629. ../../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]’
  1630. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1631. /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]
  1632. reinterpret_cast<Callback>(callback), type);
  1633. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1634.  
  1635. CXX(target) Release/obj.target/nbind/src/Font/AttributedString.o
  1636.  
  1637. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1638. from ../../nbind/include/nbind/api.h:71,
  1639. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1640. from ../src/Font/AttributedString.cc:2:
  1641. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1642. ../../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]
  1643. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1644. ^
  1645.  
  1646. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1647. from ../../nbind/include/nbind/api.h:71,
  1648. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1649. from ../src/Font/AttributedString.cc:2:
  1650. /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>&)]’:
  1651. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1652. /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]
  1653. reinterpret_cast<Callback>(callback), type);
  1654. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1655.  
  1656. /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>&)]’:
  1657. ../../nan/nan_object_wrap.h:65:61: required from here
  1658. /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]
  1659.  
  1660. In file included from ../../nan/nan.h:2718,
  1661. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1662. from ../../nbind/include/nbind/api.h:71,
  1663. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1664. from ../src/Font/AttributedString.cc:2:
  1665. ../../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> >&)]’:
  1666. ../../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]’
  1667. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1668. ../../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]
  1669. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1670. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1671. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1672. from ../../nbind/include/nbind/api.h:71,
  1673. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1674. from ../src/Font/AttributedString.cc:2:
  1675. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1676. template <class T, class M> class Persistent : public PersistentBase<T> {
  1677. ^~~~~~~~~~
  1678.  
  1679. /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> > >&)]’:
  1680. ../../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]’
  1681. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1682. /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]
  1683. reinterpret_cast<Callback>(callback), type);
  1684. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1685.  
  1686. CXX(target) Release/obj.target/nbind/src/Font/FontAttribute.o
  1687.  
  1688. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1689. from ../../nbind/include/nbind/api.h:71,
  1690. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1691. from ../src/Font/FontAttribute.cc:2:
  1692. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1693. ../../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]
  1694. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1695. ^
  1696.  
  1697. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1698. from ../../nbind/include/nbind/api.h:71,
  1699. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1700. from ../src/Font/FontAttribute.cc:2:
  1701. /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>&)]’:
  1702. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1703. /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]
  1704. reinterpret_cast<Callback>(callback), type);
  1705. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1706.  
  1707. /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>&)]’:
  1708. ../../nan/nan_object_wrap.h:65:61: required from here
  1709. /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]
  1710.  
  1711. In file included from ../../nan/nan.h:2718,
  1712. from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1713. from ../../nbind/include/nbind/api.h:71,
  1714. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1715. from ../src/Font/FontAttribute.cc:2:
  1716. ../../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> >&)]’:
  1717. ../../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]’
  1718. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1719. ../../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]
  1720. std::memcpy(&persistent_, persistent, sizeof (v8::Persistent<v8::Value>));
  1721. ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1722. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1723. from ../../nbind/include/nbind/api.h:71,
  1724. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1725. from ../src/Font/FontAttribute.cc:2:
  1726. /home/maciej/.node-gyp/10.0.0/include/node/v8.h:683:35: note: ‘class v8::Persistent<v8::Value>’ declared here
  1727. template <class T, class M> class Persistent : public PersistentBase<T> {
  1728. ^~~~~~~~~~
  1729.  
  1730. /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> > >&)]’:
  1731. ../../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]’
  1732. ../../nbind/include/nbind/v8/BindWrapper.h:138:68: required from here
  1733. /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]
  1734. reinterpret_cast<Callback>(callback), type);
  1735. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1736.  
  1737. CXX(target) Release/obj.target/nbind/src/Font/FontDescriptor.o
  1738.  
  1739. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:55,
  1740. from ../../nbind/include/nbind/api.h:71,
  1741. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1742. from ../src/Font/FontDescriptor.cc:2:
  1743. ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
  1744. ../../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]
  1745. , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  1746. ^
  1747.  
  1748. In file included from ../../nbind/include/nbind/v8/BindWrapper.h:52,
  1749. from ../../nbind/include/nbind/api.h:71,
  1750. from /home/maciej/Code/pnxi/node_modules/libui-node/src/includes/area.h:6,
  1751. from ../src/Font/FontDescriptor.cc:2:
  1752. /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>&)]’:
  1753. /home/maciej/.node-gyp/10.0.0/include/node/node_object_wrap.h:85:78: required from here
  1754. /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]
  1755. reinterpret_cast<Callback>(callback), type);
  1756. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1757.  
  1758. /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>&)]’:
  1759. ../../nan/nan_object_wrap.h:65:61: required from here
  1760. /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]
  1761.  
  1762.  
  1763. An error ocurred:
  1764. npm install has failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement