Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ../node_modules/nan/nan.h:45:
- In file included from /Users/jviotti/.node-gyp/4.2.4/include/node/node.h:42:
- /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:663:5: error: assigning
- to 'v8::Object *volatile' from incompatible type 'v8::Primitive *'
- TYPE_CHECK(O, Primitive);
- ^~~~~~~~~~~~~~~~~~~~~~~~
- /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:180:37: note: expanded
- from macro 'TYPE_CHECK'
- *(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
- ^ ~~~~~~~~~~~~~~~~~~
- /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:659:5: note: in
- instantiation of function template specialization
- 'v8::NonCopyablePersistentTraits<v8::Value>::Uncompilable<v8::Object>'
- requested here
- Uncompilable<Object>();
- ^
- /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:7198:6: note: in
- instantiation of function template specialization
- 'v8::NonCopyablePersistentTraits<v8::Value>::Copy<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >' requested here
- M::Copy(that, this);
- ^
- /Users/jviotti/.node-gyp/4.2.4/include/node/v8.h:725:5: note: in
- instantiation of function template specialization
- 'v8::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >::Copy<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >' requested here
- Copy(that);
- ^
- ../node_modules/nan/nan_persistent_12_inl.h:12:40: note: in instantiation
- of member function 'v8::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >::Persistent' requested
- here
- template<typename T, typename M> class Persistent :
- ^
- /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:
- in instantiation of member function
- '__gnu_cxx::new_allocator<Nan::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> > >::construct'
- requested here
- this->_M_impl.construct(this->_M_impl._M_finish, __x);
- ^
- ../src/cbuffer.cpp:74:22: note: in instantiation of member function
- 'std::vector<Nan::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >,
- std::allocator<Nan::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> > > >::push_back'
- requested here
- cbuffer_this->data.push_back(p);
- ^
- In file included from ../src/cbuffer.cpp:26:
- In file included from ../src/cbuffer.h:28:
- In file included from ../node_modules/nan/nan.h:315:
- ../node_modules/nan/nan_persistent_12_inl.h:22:7: error: type
- 'v8::Persistent<Value, CopyablePersistentTraits<Value> >' is not a
- direct or virtual base of 'Nan::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >'
- v8::Persistent<T, M2>(v8::Isolate::GetCurrent(), that) {}
- ^~~~
- ../src/cbuffer.cpp:74:32: note: in instantiation of function template
- specialization 'Nan::Persistent<v8::Value,
- v8::NonCopyablePersistentTraits<v8::Value> >::Persistent<v8::Value,
- v8::CopyablePersistentTraits<v8::Value> >' requested here
- cbuffer_this->data.push_back(p);
- ^
- 2 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement