Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.30 KB | None | 0 0
  1. In file included from ../node_modules/nan/nan.h:45:
  2. In file included from /Users/jviotti/.node-gyp/4.2.4/include/node/node.h:42:
  3. /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:663:5: error: assigning
  4. to 'v8::Object *volatile' from incompatible type 'v8::Primitive *'
  5. TYPE_CHECK(O, Primitive);
  6. ^~~~~~~~~~~~~~~~~~~~~~~~
  7. /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:180:37: note: expanded
  8. from macro 'TYPE_CHECK'
  9. *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
  10. ^ ~~~~~~~~~~~~~~~~~~
  11. /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:659:5: note: in
  12. instantiation of function template specialization
  13. 'v8::NonCopyablePersistentTraits<v8::Value>::Uncompilable<v8::Object>'
  14. requested here
  15. Uncompilable<Object>();
  16. ^
  17. /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:7198:6: note: in
  18. instantiation of function template specialization
  19. 'v8::NonCopyablePersistentTraits<v8::Value>::Copy<v8::Value,
  20. v8::NonCopyablePersistentTraits<v8::Value> >' requested here
  21. M::Copy(that, this);
  22. ^
  23. /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:725:5: note: in
  24. instantiation of function template specialization
  25. 'v8::Persistent<v8::Value,
  26. v8::NonCopyablePersistentTraits<v8::Value> >::Copy<v8::Value,
  27. v8::NonCopyablePersistentTraits<v8::Value> >' requested here
  28. Copy(that);
  29. ^
  30. ../node_modules/nan/nan_persistent_12_inl.h:12:40: note: in instantiation
  31. of member function 'v8::Persistent<v8::Value,
  32. v8::NonCopyablePersistentTraits<v8::Value> >::Persistent' requested
  33. here
  34. template<typename T, typename M> class Persistent :
  35. ^
  36. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1/bits/stl_vector.h:604:20: note:
  37. in instantiation of member function
  38. '__gnu_cxx::new_allocator<Nan::Persistent<v8::Value,
  39. v8::NonCopyablePersistentTraits<v8::Value> > >::construct'
  40. requested here
  41. this->_M_impl.construct(this->_M_impl._M_finish, __x);
  42. ^
  43. ../src/cbuffer.cpp:74:22: note: in instantiation of member function
  44. 'std::vector<Nan::Persistent<v8::Value,
  45. v8::NonCopyablePersistentTraits<v8::Value> >,
  46. std::allocator<Nan::Persistent<v8::Value,
  47. v8::NonCopyablePersistentTraits<v8::Value> > > >::push_back'
  48. requested here
  49. cbuffer_this->data.push_back(p);
  50. ^
  51. In file included from ../src/cbuffer.cpp:26:
  52. In file included from ../src/cbuffer.h:28:
  53. In file included from ../node_modules/nan/nan.h:315:
  54. ../node_modules/nan/nan_persistent_12_inl.h:22:7: error: type
  55. 'v8::Persistent<Value, CopyablePersistentTraits<Value> >' is not a
  56. direct or virtual base of 'Nan::Persistent<v8::Value,
  57. v8::NonCopyablePersistentTraits<v8::Value> >'
  58. v8::Persistent<T, M2>(v8::Isolate::GetCurrent(), that) {}
  59. ^~~~
  60. ../src/cbuffer.cpp:74:32: note: in instantiation of function template
  61. specialization 'Nan::Persistent<v8::Value,
  62. v8::NonCopyablePersistentTraits<v8::Value> >::Persistent<v8::Value,
  63. v8::CopyablePersistentTraits<v8::Value> >' requested here
  64. cbuffer_this->data.push_back(p);
  65. ^
  66. 2 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement