You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from ../node_modules/nan/nan.h:80:0,
from ../src/././fb-bindings.h:11,
from ../src/./fb-bindings-blob.h:11,
from ../src/fb-bindings-blob.cc:9:
../node_modules/nan/nan_new.h: In instantiation of ‘typename NanIntern::Factory::return_t NanNew(A0) [with T = v8::Integer; A0 = long unsigned int; typename NanIntern::Factory::return_t = v8::Localv8::Integer]’:
../src/fb-bindings-blob.cc:264:5: required from here
../node_modules/nan/nan_new.h:209:41: error: call of overloaded ‘New(long unsigned int&)’ is ambiguous
return NanIntern::Factory::New(arg0);
The text was updated successfully, but these errors were encountered:
one more at line 209 in src/fb-bindings-eventblock.cc
Seems that we need a conversion from intptr_t to Integer
argv[1] = NanNew(Vector[i]);
CXX(target) Release/obj.target/binding/src/fb-bindings-eventblock.o
In file included from ../node_modules/nan/nan.h:74:0,
from ../src/././fb-bindings.h:11,
from ../src/./fb-bindings-fbeventemitter.h:10,
from ../src/fb-bindings-eventblock.cc:9:
../node_modules/nan/nan_new.h: In instantiation of ‘typename NanIntern::Factory::return_t NanNew(A0) [with T = v8::Integer; A0 = long int; typename NanIntern::Factory::return_t = v8::Localv8::Integer]’:
../src/fb-bindings-eventblock.cc:209:42: required from here
../node_modules/nan/nan_new.h:209:41: error: call of overloaded ‘New(long int&)’ is ambiguous
return NanIntern::Factory::New(arg0);
In file included from ../node_modules/nan/nan.h:80:0,
from ../src/././fb-bindings.h:11,
from ../src/./fb-bindings-blob.h:11,
from ../src/fb-bindings-blob.cc:9:
../node_modules/nan/nan_new.h: In instantiation of ‘typename NanIntern::Factory::return_t NanNew(A0) [with T = v8::Integer; A0 = long unsigned int; typename NanIntern::Factory::return_t = v8::Localv8::Integer]’:
../src/fb-bindings-blob.cc:264:5: required from here
../node_modules/nan/nan_new.h:209:41: error: call of overloaded ‘New(long unsigned int&)’ is ambiguous
return NanIntern::Factory::New(arg0);
The text was updated successfully, but these errors were encountered: