Skip to content

Instantly share code, notes, and snippets.

@brianmcd
Created September 13, 2015 00:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianmcd/388893aafd76c2b48e78 to your computer and use it in GitHub Desktop.
Save brianmcd/388893aafd76c2b48e78 to your computer and use it in GitHub Desktop.
0.10.40
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc:83:9: error: no template named 'MaybeLocal'; did you mean 'Nan::MaybeLocal'?
MaybeLocal<Nan::BoundScript> script;
^~~~~~~~~~
Nan::MaybeLocal
../node_modules/nan/nan_maybe_pre_43_inl.h:13:7: note: 'Nan::MaybeLocal' declared here
class MaybeLocal {
^
../src/contextify.cc:94:33: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_pre_12_inl.h:47:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:53:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:59:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:65:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:33:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:39:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:97:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:102:35: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_pre_12_inl.h:47:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:53:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:59:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:65:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:33:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:39:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:97:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:142:58: error: use of undeclared identifier 'WeakCallbackType'; did you mean 'Nan::WeakCallbackType'?
persistent.SetWeak(contextWrapper, weakCallback, WeakCallbackType::kParameter);
^~~~~~~~~~~~~~~~
Nan::WeakCallbackType
../node_modules/nan/nan.h:291:8: note: 'Nan::WeakCallbackType' declared here
struct WeakCallbackType {
^
../src/contextify.cc:194:20: error: invalid operands to binary expression ('Local<v8::Value>' and 'Nan::Persistent<Object>')
if (rv == ctx->sandbox)
~~ ^ ~~~~~~~~~~~~
/Users/brianmcd/.node-gyp/0.10.40/deps/v8/include/v8.h:226:34: note: candidate template ignored: could not match 'Handle' against 'Persistent'
template <class S> inline bool operator==(Handle<S> that) const {
^
../src/contextify.cc:307:33: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_pre_12_inl.h:47:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:53:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:59:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:65:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:33:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:39:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:97:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:334:33: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_pre_12_inl.h:47:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:53:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:59:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:65:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:33:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:39:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:97:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
../src/contextify.cc:340:35: error: no matching member function for call to 'Set'
info.GetReturnValue().Set(trycatch.ReThrow());
~~~~~~~~~~~~~~~~~~~~~~^~~
../node_modules/nan/nan_callbacks_pre_12_inl.h:47:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'bool' for 1st argument
inline void Set(bool value) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:53:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'double' for 1st argument
inline void Set(double i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:59:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'int32_t' (aka 'int') for 1st argument
inline void Set(int32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:65:15: note: candidate function not viable: no known conversion from 'Handle<v8::Value>' to 'uint32_t' (aka 'unsigned int') for 1st argument
inline void Set(uint32_t i) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:33:37: note: candidate template ignored: could not match 'Local' against 'Handle'
template <typename S> inline void Set(const v8::Local<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:39:37: note: candidate template ignored: could not match 'Global' against 'Handle'
template <typename S> inline void Set(const Global<S> &handle) {
^
../node_modules/nan/nan_callbacks_pre_12_inl.h:97:15: note: candidate template ignored: could not match 'S *' against 'Handle<v8::Value>'
inline void Set(S *whatever) { TYPE_CHECK(S*, v8::Primitive); }
^
8 errors generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment