Created
March 3, 2017 09:48
-
-
Save jcbrand/07878252c63bdf1e20dcf6e25d6099c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*)’: | |
../../nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’ | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h:339:13: note: in expansion of macro ‘_NAN_ERROR’ | |
return _NAN_ERROR(v8::Exception::Error, errmsg); | |
^ | |
../../nan/nan.h: In function ‘void NanThrowError(const char*)’: | |
../../nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’ | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^ | |
../../nan/nan.h:343:5: note: in expansion of macro ‘_NAN_THROW_ERROR’ | |
_NAN_THROW_ERROR(v8::Exception::Error, errmsg); | |
^ | |
../../nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’ | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’ | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^ | |
../../nan/nan.h:343:5: note: in expansion of macro ‘_NAN_THROW_ERROR’ | |
_NAN_THROW_ERROR(v8::Exception::Error, errmsg); | |
^ | |
../../nan/nan.h: In function ‘void NanThrowError(v8::Handle<v8::Value>)’: | |
../../nan/nan.h:348:5: error: ‘ThrowException’ is not a member of ‘v8’ | |
v8::ThrowException(error); | |
^ | |
../../nan/nan.h: In function ‘v8::Handle<v8::Value> NanError(const char*, int)’: | |
../../nan/nan.h:355:53: error: ‘New’ is not a member of ‘v8::String’ | |
v8::Local<v8::Value> err = v8::Exception::Error(v8::String::New(msg)); | |
^ | |
../../nan/nan.h:357:14: error: ‘New’ is not a member of ‘v8::String’ | |
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber)); | |
^ | |
../../nan/nan.h:357:65: error: no matching function for call to ‘v8::Int32::New(const int&)’ | |
obj->Set(v8::String::New("code"), v8::Int32::New(errorNumber)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In function ‘v8::Handle<v8::Value> NanTypeError(const char*)’: | |
../../nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’ | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h:369:12: note: in expansion of macro ‘_NAN_ERROR’ | |
return _NAN_ERROR(v8::Exception::TypeError, errmsg); | |
^ | |
../../nan/nan.h: In function ‘void NanThrowTypeError(const char*)’: | |
../../nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’ | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^ | |
../../nan/nan.h:373:5: note: in expansion of macro ‘_NAN_THROW_ERROR’ | |
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg); | |
^ | |
../../nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’ | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’ | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^ | |
../../nan/nan.h:373:5: note: in expansion of macro ‘_NAN_THROW_ERROR’ | |
_NAN_THROW_ERROR(v8::Exception::TypeError, errmsg); | |
^ | |
../../nan/nan.h: In function ‘v8::Handle<v8::Value> NanRangeError(const char*)’: | |
../../nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’ | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h:377:12: note: in expansion of macro ‘_NAN_ERROR’ | |
return _NAN_ERROR(v8::Exception::RangeError, errmsg); | |
^ | |
../../nan/nan.h: In function ‘void NanThrowRangeError(const char*)’: | |
../../nan/nan.h:324:7: error: ‘ThrowException’ is not a member of ‘v8’ | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^ | |
../../nan/nan.h:381:5: note: in expansion of macro ‘_NAN_THROW_ERROR’ | |
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg); | |
^ | |
../../nan/nan.h:319:38: error: ‘New’ is not a member of ‘v8::String’ | |
# define _NAN_ERROR(fun, errmsg) fun(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h:324:26: note: in expansion of macro ‘_NAN_ERROR’ | |
v8::ThrowException(_NAN_ERROR(fun, errmsg)); \ | |
^ | |
../../nan/nan.h:381:5: note: in expansion of macro ‘_NAN_THROW_ERROR’ | |
_NAN_THROW_ERROR(v8::Exception::RangeError, errmsg); | |
^ | |
../../nan/nan.h: At global scope: | |
../../nan/nan.h:406:13: error: ‘node::smalloc’ has not been declared | |
, node::smalloc::FreeCallback callback | |
^ | |
../../nan/nan.h:141:71: note: in definition of macro ‘NAN_INLINE’ | |
# define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator | |
^ | |
../../nan/nan.h:406:35: error: expected ‘,’ or ‘...’ before ‘callback’ | |
, node::smalloc::FreeCallback callback | |
^ | |
../../nan/nan.h:141:71: note: in definition of macro ‘NAN_INLINE’ | |
# define NAN_INLINE(declarator) inline __attribute__((always_inline)) declarator | |
^ | |
../../nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’: | |
../../nan/nan.h:409:44: error: ‘callback’ was not declared in this scope | |
return node::Buffer::New(data, length, callback, hint); | |
^ | |
../../nan/nan.h:409:54: error: ‘hint’ was not declared in this scope | |
return node::Buffer::New(data, length, callback, hint); | |
^ | |
../../nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, uint32_t)’: | |
../../nan/nan.h:416:40: error: no matching function for call to ‘New(char*&, uint32_t&)’ | |
return node::Buffer::New(data, size); | |
^ | |
In file included from ../../nan/nan.h:135:0, | |
from ../src/WebWorkerThreads.cc:12: | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:31:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 1 from ‘char*’ to ‘v8::Isolate*’ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 2 provided | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 2 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’: | |
../../nan/nan.h:420:34: error: no matching function for call to ‘New(uint32_t&)’ | |
return node::Buffer::New(size); | |
^ | |
In file included from ../../nan/nan.h:135:0, | |
from ../src/WebWorkerThreads.cc:12: | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:31:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, size_t) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:31:40: note: candidate expects 2 arguments, 1 provided | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:34:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:34:40: note: candidate expects 3 arguments, 1 provided | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:39:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t, node::Buffer::FreeCallback, void*) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:39:40: note: candidate expects 5 arguments, 1 provided | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:46:40: note: candidate: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) | |
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node_buffer.h:46:40: note: candidate expects 3 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In function ‘v8::Local<v8::Object> NanBufferUse(char*, uint32_t)’: | |
../../nan/nan.h:427:12: error: ‘Use’ is not a member of ‘node::Buffer’ | |
return node::Buffer::Use(data, size); | |
^ | |
../../nan/nan.h: In constructor ‘NanCallback::NanCallback()’: | |
../../nan/nan.h:727:49: error: no matching function for call to ‘v8::Object::New()’ | |
v8::Local<v8::Object> obj = v8::Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In constructor ‘NanCallback::NanCallback(v8::Handle<v8::Function>&)’: | |
../../nan/nan.h:733:49: error: no matching function for call to ‘v8::Object::New()’ | |
v8::Local<v8::Object> obj = v8::Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In destructor ‘NanCallback::~NanCallback()’: | |
../../nan/nan.h:740:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’ | |
handle.Dispose(); | |
^ | |
../../nan/nan.h:741:12: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’ | |
handle.Clear(); | |
^ | |
../../nan/nan.h: In member function ‘void NanCallback::SetFunction(v8::Handle<v8::Function>&)’: | |
../../nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
^ | |
../../nan/nan.h:746:39: note: in expansion of macro ‘NanSymbol’ | |
NanPersistentToLocal(handle)->Set(NanSymbol("callback"), fn); | |
^ | |
../../nan/nan.h: In member function ‘v8::Local<v8::Function> NanCallback::GetFunction()’: | |
../../nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
^ | |
../../nan/nan.h:750:46: note: in expansion of macro ‘NanSymbol’ | |
return NanPersistentToLocal(handle)->Get(NanSymbol("callback")) | |
^ | |
../../nan/nan.h:751:25: error: expected primary-expression before ‘>’ token | |
.As<v8::Function>(); | |
^ | |
../../nan/nan.h:751:27: error: expected primary-expression before ‘)’ token | |
.As<v8::Function>(); | |
^ | |
../../nan/nan.h: In member function ‘void NanCallback::Call(int, v8::Handle<v8::Value>*)’: | |
../../nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
^ | |
../../nan/nan.h:759:13: note: in expansion of macro ‘NanSymbol’ | |
Get(NanSymbol("callback")).As<v8::Function>(); | |
^ | |
../../nan/nan.h:759:51: error: expected primary-expression before ‘>’ token | |
Get(NanSymbol("callback")).As<v8::Function>(); | |
^ | |
../../nan/nan.h:759:53: error: expected primary-expression before ‘)’ token | |
Get(NanSymbol("callback")).As<v8::Function>(); | |
^ | |
../../nan/nan.h:761:9: error: ‘GetCurrent’ is not a member of ‘v8::Context’ | |
v8::Context::GetCurrent()->Global() | |
^ | |
../../nan/nan.h: In member function ‘void NanAsyncWorker::SavePersistent(const char*, v8::Local<v8::Object>&)’: | |
../../nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
^ | |
../../nan/nan.h:808:17: note: in expansion of macro ‘NanSymbol’ | |
handle->Set(NanSymbol(key), obj); | |
^ | |
../../nan/nan.h: In member function ‘v8::Local<v8::Object> NanAsyncWorker::GetFromPersistent(const char*)’: | |
../../nan/nan.h:181:26: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
#define NanSymbol(value) v8::String::NewSymbol(value) | |
^ | |
../../nan/nan.h:815:24: note: in expansion of macro ‘NanSymbol’ | |
return handle->Get(NanSymbol(key)).As<v8::Object>(); | |
^ | |
../../nan/nan.h:815:53: error: expected primary-expression before ‘>’ token | |
return handle->Get(NanSymbol(key)).As<v8::Object>(); | |
^ | |
../../nan/nan.h:815:55: error: expected primary-expression before ‘)’ token | |
return handle->Get(NanSymbol(key)).As<v8::Object>(); | |
^ | |
../../nan/nan.h: In member function ‘virtual void NanAsyncWorker::HandleErrorCallback()’: | |
../../nan/nan.h:837:30: error: ‘New’ is not a member of ‘v8::String’ | |
v8::Exception::Error(v8::String::New(errmsg)) | |
^ | |
../../nan/nan.h: In function ‘bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)’: | |
../../nan/nan.h:1005:12: error: ‘class v8::String’ has no member named ‘IsExternalAscii’ | |
if (str->IsExternalAscii()) { | |
^ | |
../../nan/nan.h:1006:23: error: ‘ExternalAsciiStringResource’ in ‘class v8::String’ does not name a type | |
const v8::String::ExternalAsciiStringResource* ext; | |
^ | |
../../nan/nan.h:1007:5: error: ‘ext’ was not declared in this scope | |
ext = str->GetExternalAsciiStringResource(); | |
^ | |
../../nan/nan.h:1007:16: error: ‘class v8::String’ has no member named ‘GetExternalAsciiStringResource’ | |
ext = str->GetExternalAsciiStringResource(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In member function ‘v8::Handle<v8::Value> BSONDeserializer::ReadCString()’: | |
../src/bson.cc:358:15: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Null(v8::Isolate*)’ | |
return Null(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:326:27: note: declared here | |
friend Local<Primitive> Null(Isolate* isolate); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:360:9: error: ‘New’ is not a member of ‘v8::String’ | |
return String::New(start, (int32_t) (p-start-1) ); | |
^ | |
../src/bson.cc: In member function ‘v8::Local<v8::String> BSONDeserializer::ReadString()’: | |
../src/bson.cc:395:9: error: ‘New’ is not a member of ‘v8::String’ | |
return String::New(start, length-1); | |
^ | |
../src/bson.cc: In member function ‘v8::Local<v8::String> BSONDeserializer::ReadObjectId()’: | |
../src/bson.cc:405:9: error: ‘New’ is not a member of ‘v8::String’ | |
return String::New(objectId, 12); | |
^ | |
../src/bson.cc: In member function ‘v8::Handle<v8::Value> BSONDeserializer::DeserializeDocumentInternal(bool)’: | |
../src/bson.cc:419:43: error: no matching function for call to ‘v8::Object::New()’ | |
Local<Object> returnObject = Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:428:37: warning: ‘bool v8::Object::ForceSet(v8::Local<v8::Value>, v8::Local<v8::Value>, v8::PropertyAttribute)’ is deprecated: Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations] | |
returnObject->ForceSet(name, value); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2705:22: note: declared here | |
bool ForceSet(Local<Value> key, Local<Value> value, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:437:75: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->dbrefConstructor)->NewInstance(3, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In member function ‘v8::Handle<v8::Value> BSONDeserializer::DeserializeArrayInternal(bool)’: | |
../src/bson.cc:456:40: error: no matching function for call to ‘v8::Array::New()’ | |
Local<Array> returnArray = Array::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: candidate: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int) | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: candidate expects 2 arguments, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In member function ‘v8::Handle<v8::Value> BSONDeserializer::DeserializeValue(BsonType, bool)’: | |
../src/bson.cc:478:34: error: no matching function for call to ‘v8::Integer::New(int32_t)’ | |
return Integer::New(ReadInt32()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:481:34: error: no matching function for call to ‘v8::Number::New(double)’ | |
return Number::New(ReadDouble()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2528:24: note: candidate: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double) | |
static Local<Number> New(Isolate* isolate, double value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2528:24: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:484:15: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Null(v8::Isolate*)’ | |
return Null(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:326:27: note: declared here | |
friend Local<Primitive> Null(Isolate* isolate); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:487:20: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return Undefined(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:325:27: note: declared here | |
friend Local<Primitive> Undefined(Isolate* isolate); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:493:46: error: no matching function for call to ‘v8::Int32::New(int32_t&)’ | |
Local<Value> argv[] = { Int32::New(lowBits), Int32::New(highBits) }; | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:493:68: error: no matching function for call to ‘v8::Int32::New(int32_t&)’ | |
Local<Value> argv[] = { Int32::New(lowBits), Int32::New(highBits) }; | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:494:80: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->timestampConstructor)->NewInstance(2, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:498:35: error: too few arguments to function ‘v8::Local<v8::Boolean> v8::True(v8::Isolate*)’ | |
return (ReadByte() != 0) ? True() : False(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8796:16: note: declared here | |
Local<Boolean> True(Isolate* isolate) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:498:45: error: too few arguments to function ‘v8::Local<v8::Boolean> v8::False(v8::Isolate*)’ | |
return (ReadByte() != 0) ? True() : False(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8805:16: note: declared here | |
Local<Boolean> False(Isolate* isolate) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:511:44: error: no matching function for call to ‘v8::Object::New()’ | |
const Local<Value>& scope = Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:513:75: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->codeConstructor)->NewInstance(2, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:522:75: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->codeConstructor)->NewInstance(2, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:528:79: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->objectIDConstructor)->NewInstance(1, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:542:56: error: no matching function for call to ‘v8::Uint32::New(uint32_t&)’ | |
Handle<Value> argv[] = { buffer, Uint32::New(subType) }; | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:543:77: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->binaryConstructor)->NewInstance(2, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:560:35: error: no matching function for call to ‘v8::Number::New(int64_t&)’ | |
return Number::New(finalValue); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2528:24: note: candidate: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double) | |
static Local<Number> New(Isolate* isolate, double value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2528:24: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:565:46: error: no matching function for call to ‘v8::Int32::New(int32_t&)’ | |
Local<Value> argv[] = { Int32::New(lowBits), Int32::New(highBits) }; | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:565:68: error: no matching function for call to ‘v8::Int32::New(int32_t&)’ | |
Local<Value> argv[] = { Int32::New(lowBits), Int32::New(highBits) }; | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:566:75: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->longConstructor)->NewInstance(2, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:570:40: error: no matching function for call to ‘v8::Date::New(double)’ | |
return Date::New((double) ReadInt64()); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3995:41: note: candidate: static v8::Local<v8::Value> v8::Date::New(v8::Isolate*, double) | |
Local<Value> New(Isolate* isolate, double time)); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:351:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ | |
#define V8_DEPRECATE_SOON(message, declarator) declarator | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3995:41: note: candidate expects 2 arguments, 1 provided | |
Local<Value> New(Isolate* isolate, double time)); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:351:48: note: in definition of macro ‘V8_DEPRECATE_SOON’ | |
#define V8_DEPRECATE_SOON(message, declarator) declarator | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3996:50: note: candidate: static v8::MaybeLocal<v8::Value> v8::Date::New(v8::Local<v8::Context>, double) | |
static V8_WARN_UNUSED_RESULT MaybeLocal<Value> New(Local<Context> context, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3996:50: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:582:77: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance(int, v8::Local<v8::Value>*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->symbolConstructor)->NewInstance(1, argv); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3288:31: note: declared here | |
Local<Object> NewInstance(int argc, Local<Value> argv[]) const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:586:69: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->minKeyConstructor)->NewInstance(); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3292:52: note: declared here | |
V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:589:69: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
return NanPersistentToLocal(bson->maxKeyConstructor)->NewInstance(); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3292:52: note: declared here | |
V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:595:18: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Null(v8::Isolate*)’ | |
return v8::Null(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:326:27: note: declared here | |
friend Local<Primitive> Null(Isolate* isolate); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../src/bson.cc: In constructor ‘BSON::BSON()’: | |
../src/bson.cc:603:54: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _bsontypeString, String::New("_bsontype")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:604:53: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _longLowString, String::New("low_")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:605:54: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _longHighString, String::New("high_")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:606:56: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _objectIDidString, String::New("id")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:607:60: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _binaryPositionString, String::New("position")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:608:59: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _binarySubTypeString, String::New("sub_type")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:609:58: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _binaryBufferString, String::New("buffer")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:610:57: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _doubleValueString, String::New("value")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:611:57: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _symbolValueString, String::New("value")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:612:54: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _dbRefRefString, String::New("$ref")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:613:56: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _dbRefIdRefString, String::New("$id")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:614:56: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _dbRefDbRefString, String::New("$db")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:615:60: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _dbRefNamespaceString, String::New("namespace")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:616:53: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _dbRefDbString, String::New("db")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:617:54: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _dbRefOidString, String::New("oid")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:618:54: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _codeCodeString, String::New("code")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:619:55: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _codeScopeString, String::New("scope")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:620:52: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, _toBSONString, String::New("toBSON")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:622:49: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, longString, String::New("Long")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:623:53: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, objectIDString, String::New("ObjectID")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:624:51: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, binaryString, String::New("Binary")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:625:49: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, codeString, String::New("Code")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:626:50: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, dbrefString, String::New("DBRef")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:627:51: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, symbolString, String::New("Symbol")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:628:51: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, doubleString, String::New("Double")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:629:54: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, timestampString, String::New("Timestamp")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:630:51: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, minKeyString, String::New("MinKey")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
../src/bson.cc:631:51: error: ‘New’ is not a member of ‘v8::String’ | |
NanAssignPersistent(String, maxKeyString, String::New("MaxKey")); | |
^ | |
../../nan/nan.h:305:75: note: in definition of macro ‘NanAssignPersistent’ | |
# define NanAssignPersistent(type, handle, obj) handle.Reset(nan_isolate, obj) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In static member function ‘static void BSON::Initialize(v8::Handle<v8::Object>)’: | |
../src/bson.cc:639:55: error: no matching function for call to ‘v8::FunctionTemplate::New(void (&)(const v8::FunctionCallbackInfo<v8::Value>&))’ | |
Local<FunctionTemplate> t = FunctionTemplate::New(New); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘void(const v8::FunctionCallbackInfo<v8::Value>&)’ to ‘v8::Isolate*’ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:641:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
t->SetClassName(String::NewSymbol("BSON")); | |
^ | |
../src/bson.cc:652:19: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
target->ForceSet(String::NewSymbol("BSON"), t->GetFunction()); | |
^ | |
../src/bson.cc: In static member function ‘static void BSON::BSONDeserialize(const v8::FunctionCallbackInfo<v8::Value>&)’: | |
../src/bson.cc:753:19: error: ‘New’ is not a member of ‘v8::String’ | |
if(options->Has(String::New("promoteLongs"))) { | |
^ | |
../src/bson.cc:754:32: error: ‘New’ is not a member of ‘v8::String’ | |
promoteLongs = options->Get(String::New("promoteLongs"))->ToBoolean()->Value(); | |
^ | |
../src/bson.cc:787:26: error: ‘New’ is not a member of ‘v8::String’ | |
Local<String> error = String::New(exception); | |
^ | |
../src/bson.cc:796:44: warning: ‘ssize_t node::DecodeBytes(v8::Local<v8::Value>, node::encoding)’ is deprecated: Use DecodeBytes(isolate, ...) [-Wdeprecated-declarations] | |
ssize_t len = DecodeBytes(args[0], BINARY); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:6:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:337:32: note: declared here | |
inline ssize_t DecodeBytes( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:803:41: warning: ‘ssize_t node::DecodeWrite(char*, size_t, v8::Local<v8::Value>, node::encoding)’ is deprecated: Use DecodeWrite(isolate, ...) [-Wdeprecated-declarations] | |
DecodeWrite(data, len, args[0], BINARY); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:6:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:350:32: note: declared here | |
inline ssize_t DecodeWrite(char* buf, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc:816:26: error: ‘New’ is not a member of ‘v8::String’ | |
Local<String> error = String::New(exception); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In static member function ‘static void BSON::BSONSerialize(const v8::FunctionCallbackInfo<v8::Value>&)’: | |
../src/bson.cc:883:25: error: ‘New’ is not a member of ‘v8::String’ | |
Local<String> error = String::New(err_msg); | |
^ | |
../src/bson.cc:897:73: warning: ‘v8::Local<v8::Value> node::Encode(const void*, size_t, node::encoding)’ is deprecated: Use Encode(isolate, ...) [-Wdeprecated-declarations] | |
Local<Value> bin_value = Encode(serialized_object, object_size, BINARY)->ToString(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:6:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:318:45: note: declared here | |
inline v8::Local<v8::Value> Encode( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^ | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../src/bson.cc: In static member function ‘static void BSON::CalculateObjectSize(const v8::FunctionCallbackInfo<v8::Value>&)’: | |
../src/bson.cc:918:74: error: no matching function for call to ‘v8::Uint32::New(uint32_t)’ | |
NanReturnValue(Uint32::New((uint32_t) countSerializer.GetSerializeSize())); | |
^ | |
../../nan/nan.h:301:65: note: in definition of macro ‘NanReturnValue’ | |
# define NanReturnValue(value) return args.GetReturnValue().Set(value) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] | |
# define NanReturnValue(value) return args.GetReturnValue().Set(value) | |
^ | |
../src/bson.cc:918:2: note: in expansion of macro ‘NanReturnValue’ | |
NanReturnValue(Uint32::New((uint32_t) countSerializer.GetSerializeSize())); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In static member function ‘static void BSON::SerializeWithBufferAndIndex(const v8::FunctionCallbackInfo<v8::Value>&)’: | |
../src/bson.cc:954:25: error: ‘New’ is not a member of ‘v8::String’ | |
Local<String> error = String::New(exception); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../src/bson.cc:959:65: error: no matching function for call to ‘v8::Uint32::New(uint32_t)’ | |
NanReturnValue(Uint32::New((uint32_t) (index + object_size - 1))); | |
^ | |
../../nan/nan.h:301:65: note: in definition of macro ‘NanReturnValue’ | |
# define NanReturnValue(value) return args.GetReturnValue().Set(value) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] | |
# define NanReturnValue(value) return args.GetReturnValue().Set(value) | |
^ | |
../src/bson.cc:959:2: note: in expansion of macro ‘NanReturnValue’ | |
NanReturnValue(Uint32::New((uint32_t) (index + object_size - 1))); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:36:0: | |
../src/bson.cc: In static member function ‘static void BSON::BSONDeserializeStream(const v8::FunctionCallbackInfo<v8::Value>&)’: | |
../src/bson.cc:994:19: error: ‘New’ is not a member of ‘v8::String’ | |
if(options->Has(String::New("promoteLongs"))) { | |
^ | |
../src/bson.cc:995:32: error: ‘New’ is not a member of ‘v8::String’ | |
promoteLongs = options->Get(String::New("promoteLongs"))->ToBoolean()->Value(); | |
^ | |
../src/bson.cc:1024:33: error: ‘New’ is not a member of ‘v8::String’ | |
Local<String> error = String::New(exception); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../src/bson.cc:1031:81: error: no matching function for call to ‘v8::Uint32::New(uint32_t)’ | |
NanReturnValue(Uint32::New((uint32_t) (index + deserializer.GetSerializeSize()))); | |
^ | |
../../nan/nan.h:301:65: note: in definition of macro ‘NanReturnValue’ | |
# define NanReturnValue(value) return args.GetReturnValue().Set(value) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h:301:70: error: return-statement with a value, in function returning 'void' [-fpermissive] | |
# define NanReturnValue(value) return args.GetReturnValue().Set(value) | |
^ | |
../src/bson.cc:1031:2: note: in expansion of macro ‘NanReturnValue’ | |
NanReturnValue(Uint32::New((uint32_t) (index + deserializer.GetSerializeSize()))); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘void ReportException(v8::TryCatch*)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:28:14: error: within this context | |
HandleScope scope; | |
^ | |
../src/jslib.cc:58:35: warning: ‘int v8::Message::GetEndColumn() const’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
int end = message->GetEndColumn(); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:1479:42: note: declared here | |
V8_DEPRECATED("Use maybe version", int GetEndColumn() const); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc: At global scope: | |
../src/jslib.cc:71:42: error: ‘Arguments’ does not name a type | |
static Handle<Value> readFileSync_(const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> readFileSync_(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:72:14: error: within this context | |
HandleScope scope; | |
^ | |
../src/jslib.cc:74:64: error: invalid types ‘const int[int]’ for array subscript | |
FILE *f = fopen(*String::Utf8Value(Handle<String>::Cast(args[0])), "rb"); | |
^ | |
../src/jslib.cc:78:42: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::Error(String::New(str))); | |
^ | |
../src/jslib.cc:78:59: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::Error(String::New(str))); | |
^ | |
../src/jslib.cc:91:35: error: ‘New’ is not a member of ‘v8::String’ | |
ThrowException(Exception::Error(String::New(str))); | |
^ | |
../src/jslib.cc:91:52: error: ‘ThrowException’ was not declared in this scope | |
ThrowException(Exception::Error(String::New(str))); | |
^ | |
../src/jslib.cc:94:23: error: ‘New’ is not a member of ‘v8::String’ | |
Handle<String> str = String::New(buf); | |
^ | |
../src/jslib.cc:98:15: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(str); | |
^ | |
../src/jslib.cc: At global scope: | |
../src/jslib.cc:155:41: error: ‘Arguments’ does not name a type | |
static inline void console_common(const Arguments &args, FILE* fd) { | |
^ | |
../src/jslib.cc: In function ‘void console_common(const int&, FILE*)’: | |
../src/jslib.cc:156:11: warning: ‘v8::TryCatch::TryCatch()’ is deprecated: Use isolate version [-Wdeprecated-declarations] | |
TryCatch trycatch; | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7015:40: note: declared here | |
V8_DEPRECATED("Use isolate version", TryCatch()); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:158:23: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
for (int i=0, n=args.Length(); i<n; ++i) { | |
^ | |
../src/jslib.cc:159:26: error: invalid types ‘const int[int]’ for array subscript | |
console_common_1(args[i], stdout, 0); | |
^ | |
../src/jslib.cc: At global scope: | |
../src/jslib.cc:167:40: error: ‘Arguments’ does not name a type | |
static Handle<Value> console_log(const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> console_log(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:168:14: error: within this context | |
HandleScope scope; | |
^ | |
../src/jslib.cc:170:19: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return Undefined(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:325:27: note: declared here | |
friend Local<Primitive> Undefined(Isolate* isolate); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc: At global scope: | |
../src/jslib.cc:173:42: error: ‘Arguments’ does not name a type | |
static Handle<Value> console_error(const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> console_error(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:174:14: error: within this context | |
HandleScope scope; | |
^ | |
../src/jslib.cc:176:19: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return Undefined(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:325:27: note: declared here | |
friend Local<Primitive> Undefined(Isolate* isolate); | |
^ | |
../src/WebWorkerThreads.cc: In function ‘typeThread* isAThread(v8::Handle<v8::Object>)’: | |
../src/WebWorkerThreads.cc:153:39: error: ‘class v8::Object’ has no member named ‘GetPointerFromInternalField’ | |
thread= (typeThread*) receiver->GetPointerFromInternalField(0); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:182:34: error: ‘Arguments’ does not name a type | |
static Handle<Value> Puts (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> Puts(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:185:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:187:19: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
while (i < args.Length()) { | |
^ | |
../src/WebWorkerThreads.cc:188:35: error: invalid types ‘const int[int]’ for array subscript | |
String::Utf8Value c_str(args[i]); | |
^ | |
../src/WebWorkerThreads.cc:195:20: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return Undefined(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:325:27: note: declared here | |
friend Local<Primitive> Undefined(Isolate* isolate); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:198:35: error: ‘Arguments’ does not name a type | |
static Handle<Value> Print (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> Print(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:199:14: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:201:18: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
while (i < args.Length()) { | |
^ | |
../src/WebWorkerThreads.cc:202:33: error: invalid types ‘const int[int]’ for array subscript | |
String::Utf8Value c_str(args[i]); | |
^ | |
../src/WebWorkerThreads.cc:211:19: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return Undefined(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:325:27: note: declared here | |
friend Local<Primitive> Undefined(Isolate* isolate); | |
^ | |
../src/WebWorkerThreads.cc: In function ‘void* aThread(void*)’: | |
../src/WebWorkerThreads.cc:231:33: error: no matching function for call to ‘v8::Isolate::New()’ | |
thread->isolate= Isolate::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:5810:19: note: candidate: static v8::Isolate* v8::Isolate::New(const v8::Isolate::CreateParams&) | |
static Isolate* New(const CreateParams& params); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:5810:19: note: candidate expects 1 argument, 0 provided | |
../src/WebWorkerThreads.cc:232:34: error: no matching function for call to ‘v8::Isolate::SetData(typeThread*&)’ | |
thread->isolate->SetData(thread); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8814:6: note: candidate: void v8::Isolate::SetData(uint32_t, void*) | |
void Isolate::SetData(uint32_t slot, void* data) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8814:6: note: candidate expects 2 arguments, 1 provided | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:257:40: error: ‘Arguments’ does not name a type | |
static Handle<Value> threadEmit (const Arguments &args); | |
^ | |
../src/WebWorkerThreads.cc:258:41: error: ‘Arguments’ does not name a type | |
static Handle<Value> postMessage (const Arguments &args); | |
^ | |
../src/WebWorkerThreads.cc:259:39: error: ‘Arguments’ does not name a type | |
static Handle<Value> postError (const Arguments &args); | |
^ | |
../src/WebWorkerThreads.cc: In function ‘void eventLoop(typeThread*)’: | |
../src/WebWorkerThreads.cc:265:33: error: no matching function for call to ‘v8::Context::New()’ | |
thread->context= Context::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7226:25: note: candidate: static v8::Local<v8::Context> v8::Context::New(v8::Isolate*, v8::ExtensionConfiguration*, v8::MaybeLocal<v8::ObjectTemplate>, v8::MaybeLocal<v8::Value>) | |
static Local<Context> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7226:25: note: candidate expects 4 arguments, 0 provided | |
../src/WebWorkerThreads.cc:266:18: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Context>’ | |
thread->context->Enter(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:269:17: error: within this context | |
HandleScope scope1; | |
^ | |
../src/WebWorkerThreads.cc:271:42: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Context>’ | |
Local<Object> global= thread->context->Global(); | |
^ | |
../src/WebWorkerThreads.cc:273:41: error: no matching function for call to ‘v8::Object::New()’ | |
Handle<Object> fs_obj = Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:25:11: error: ‘New’ is not a member of ‘v8::String’ | |
obj->Set(String::New(name), FunctionTemplate::New(fnname)->GetFunction(), attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:274:5: note: in expansion of macro ‘JSObjFn’ | |
JSObjFn(fs_obj, "readFileSync", readFileSync_); | |
^ | |
../src/jslib.cc:25:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
obj->Set(String::New(name), FunctionTemplate::New(fnname)->GetFunction(), attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:274:5: note: in expansion of macro ‘JSObjFn’ | |
JSObjFn(fs_obj, "readFileSync", readFileSync_); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:275:17: error: ‘New’ is not a member of ‘v8::String’ | |
global->Set(String::New("native_fs_"), fs_obj, attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:277:46: error: no matching function for call to ‘v8::Object::New()’ | |
Handle<Object> console_obj = Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:25:11: error: ‘New’ is not a member of ‘v8::String’ | |
obj->Set(String::New(name), FunctionTemplate::New(fnname)->GetFunction(), attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:278:5: note: in expansion of macro ‘JSObjFn’ | |
JSObjFn(console_obj, "log", console_log); | |
^ | |
../src/jslib.cc:25:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
obj->Set(String::New(name), FunctionTemplate::New(fnname)->GetFunction(), attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:278:5: note: in expansion of macro ‘JSObjFn’ | |
JSObjFn(console_obj, "log", console_log); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
In file included from ../src/WebWorkerThreads.cc:37:0: | |
../src/jslib.cc:25:11: error: ‘New’ is not a member of ‘v8::String’ | |
obj->Set(String::New(name), FunctionTemplate::New(fnname)->GetFunction(), attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:279:5: note: in expansion of macro ‘JSObjFn’ | |
JSObjFn(console_obj, "error", console_error); | |
^ | |
../src/jslib.cc:25:58: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
obj->Set(String::New(name), FunctionTemplate::New(fnname)->GetFunction(), attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:279:5: note: in expansion of macro ‘JSObjFn’ | |
JSObjFn(console_obj, "error", console_error); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:280:17: error: ‘New’ is not a member of ‘v8::String’ | |
global->Set(String::New("console"), console_obj, attribute_ro_dd); | |
^ | |
../src/WebWorkerThreads.cc:282:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("self"), global); | |
^ | |
../src/WebWorkerThreads.cc:283:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("global"), global); | |
^ | |
../src/WebWorkerThreads.cc:285:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("puts"), FunctionTemplate::New(Puts)->GetFunction()); | |
^ | |
../src/WebWorkerThreads.cc:285:70: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
global->Set(String::NewSymbol("puts"), FunctionTemplate::New(Puts)->GetFunction()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:286:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("print"), FunctionTemplate::New(Print)->GetFunction()); | |
^ | |
../src/WebWorkerThreads.cc:286:72: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
global->Set(String::NewSymbol("print"), FunctionTemplate::New(Print)->GetFunction()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:288:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("postMessage"), FunctionTemplate::New(postMessage)->GetFunction()); | |
^ | |
../src/WebWorkerThreads.cc:288:84: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
global->Set(String::NewSymbol("postMessage"), FunctionTemplate::New(postMessage)->GetFunction()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:289:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("__postError"), FunctionTemplate::New(postError)->GetFunction()); | |
^ | |
../src/WebWorkerThreads.cc:289:82: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
global->Set(String::NewSymbol("__postError"), FunctionTemplate::New(postError)->GetFunction()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:291:45: error: no matching function for call to ‘v8::Object::New()’ | |
Local<Object> threadObject= Object::New(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*) | |
static Local<Object> New(Isolate* isolate); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3030:24: note: candidate expects 1 argument, 0 provided | |
../src/WebWorkerThreads.cc:292:17: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
global->Set(String::NewSymbol("thread"), threadObject); | |
^ | |
../src/WebWorkerThreads.cc:294:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadObject->Set(String::NewSymbol("id"), Number::New(thread->id)); | |
^ | |
../src/WebWorkerThreads.cc:294:70: error: no matching function for call to ‘v8::Number::New(long int&)’ | |
threadObject->Set(String::NewSymbol("id"), Number::New(thread->id)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2528:24: note: candidate: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double) | |
static Local<Number> New(Isolate* isolate, double value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2528:24: note: candidate expects 2 arguments, 1 provided | |
../src/WebWorkerThreads.cc:295:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadObject->Set(String::NewSymbol("emit"), FunctionTemplate::New(threadEmit)->GetFunction()); | |
^ | |
../src/WebWorkerThreads.cc:295:82: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
threadObject->Set(String::NewSymbol("emit"), FunctionTemplate::New(threadEmit)->GetFunction()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:296:51: error: ‘New’ is not a member of ‘v8::String’ | |
Local<Object> dispatchEvents= Script::Compile(String::New(kEvents_js))->Run()->ToObject()->CallAsFunction(threadObject, 0, NULL)->ToObject(); | |
^ | |
../src/WebWorkerThreads.cc:297:54: error: ‘New’ is not a member of ‘v8::String’ | |
Local<Object> dispatchNextTicks= Script::Compile(String::New(kThread_nextTick_js))->Run()->ToObject(); | |
^ | |
../src/WebWorkerThreads.cc:298:56: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
Local<Array> _ntq= (v8::Array*) *threadObject->Get(String::NewSymbol("_ntq")); | |
^ | |
../src/WebWorkerThreads.cc:300:21: error: ‘New’ is not a member of ‘v8::String’ | |
Script::Compile(String::New(kLoad_js))->Run(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:312:21: error: within this context | |
HandleScope scope2; | |
^ | |
../src/WebWorkerThreads.cc:313:18: warning: ‘v8::TryCatch::TryCatch()’ is deprecated: Use isolate version [-Wdeprecated-declarations] | |
TryCatch onError; | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7015:40: note: declared here | |
V8_DEPRECATED("Use isolate version", TryCatch()); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
../src/WebWorkerThreads.cc:326:13: error: ‘IdleNotification’ is not a member of ‘v8::V8’ | |
V8::IdleNotification(); | |
^ | |
../src/WebWorkerThreads.cc:334:23: error: ‘New’ is not a member of ‘v8::String’ | |
source= String::New(**str, (*str).length()); | |
^ | |
../src/WebWorkerThreads.cc:338:23: error: ‘New’ is not a member of ‘v8::String’ | |
source= String::New(job->typeEval.scriptText_CharPtr); | |
^ | |
../src/WebWorkerThreads.cc:342:21: error: ‘New’ is not a member of ‘v8::Script’ | |
script= Script::New(source); | |
^ | |
../src/WebWorkerThreads.cc:364:22: error: ‘New’ is not a member of ‘v8::String’ | |
args[0]= String::New(**str, (*str).length()); | |
^ | |
../src/WebWorkerThreads.cc:367:59: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(job->typeEvent.length); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:373:29: error: ‘New’ is not a member of ‘v8::String’ | |
array->Set(i, String::New(**str, (*str).length())); | |
^ | |
../src/WebWorkerThreads.cc:380:59: warning: ‘v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
dispatchEvents->CallAsFunction(global, 2, args); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3008:30: note: declared here | |
Local<Value> CallAsFunction(Local<Value> recv, int argc, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
../src/WebWorkerThreads.cc:385:22: error: ‘New’ is not a member of ‘v8::String’ | |
args[0]= String::New(**str, (*str).length()); | |
^ | |
../src/WebWorkerThreads.cc:389:41: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(len); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:403:59: warning: ‘v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
dispatchEvents->CallAsFunction(global, 2, args); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3008:30: note: declared here | |
Local<Value> CallAsFunction(Local<Value> recv, int argc, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
../src/WebWorkerThreads.cc:411:13: error: ‘IdleNotification’ is not a member of ‘v8::V8’ | |
V8::IdleNotification(); | |
^ | |
../src/WebWorkerThreads.cc:414:71: warning: ‘v8::Local<v8::Value> v8::Object::CallAsFunction(v8::Local<v8::Value>, int, v8::Local<v8::Value>*)’ is deprecated: Use maybe version [-Wdeprecated-declarations] | |
resultado= dispatchNextTicks->CallAsFunction(global, 0, NULL); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3008:30: note: declared here | |
Local<Value> CallAsFunction(Local<Value> recv, int argc, | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
../src/WebWorkerThreads.cc:438:19: error: ‘class v8::Persistent<v8::Context>’ has no member named ‘Dispose’ | |
thread->context.Dispose(); | |
^ | |
../src/WebWorkerThreads.cc: In function ‘void destroyaThread(typeThread*)’: | |
../src/WebWorkerThreads.cc:452:19: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ | |
thread->JSObject->SetPointerInInternalField(0, NULL); | |
^ | |
../src/WebWorkerThreads.cc:453:20: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’ | |
thread->JSObject.Dispose(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘void Callback(uv_async_t*, int)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:480:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:483:45: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Null(v8::Isolate*)’ | |
Local<Value> null= Local<Value>::New(Null()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:326:27: note: declared here | |
friend Local<Primitive> Null(Isolate* isolate); | |
^ | |
../src/WebWorkerThreads.cc:487:12: warning: ‘v8::TryCatch::TryCatch()’ is deprecated: Use isolate version [-Wdeprecated-declarations] | |
TryCatch onError; | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7015:40: note: declared here | |
V8_DEPRECATED("Use isolate version", TryCatch()); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
../src/WebWorkerThreads.cc:497:37: error: ‘New’ is not a member of ‘v8::String’ | |
argv[0]= Exception::Error(String::New(**str, (*str).length())); | |
^ | |
../src/WebWorkerThreads.cc:501:20: error: ‘New’ is not a member of ‘v8::String’ | |
argv[1]= String::New(**str, (*str).length()); | |
^ | |
../src/WebWorkerThreads.cc:503:16: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ | |
job->cb->CallAsFunction(thread->JSObject, 2, argv); | |
^ | |
../src/WebWorkerThreads.cc:504:17: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Dispose’ | |
job->cb.Dispose(); | |
^ | |
../src/WebWorkerThreads.cc:517:37: warning: ‘void node::FatalException(const v8::TryCatch&)’ is deprecated: Use FatalException(isolate, ...) [-Wdeprecated-declarations] | |
node::FatalException(onError); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:6:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:302:29: note: declared here | |
inline void FatalException(const v8::TryCatch& try_catch) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:66:42: note: in definition of macro ‘NODE_DEPRECATED’ | |
__attribute__((deprecated(message))) declarator | |
^ | |
../src/WebWorkerThreads.cc:528:16: error: ‘New’ is not a member of ‘v8::String’ | |
args[0]= String::New(**str, (*str).length()); | |
^ | |
../src/WebWorkerThreads.cc:531:53: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(job->typeEvent.length); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:537:23: error: ‘New’ is not a member of ‘v8::String’ | |
array->Set(i, String::New(**str, (*str).length())); | |
^ | |
../src/WebWorkerThreads.cc:544:29: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ | |
thread->dispatchEvents->CallAsFunction(thread->JSObject, 2, args); | |
^ | |
../src/WebWorkerThreads.cc:550:16: error: ‘New’ is not a member of ‘v8::String’ | |
args[0]= String::New(**str, (*str).length()); | |
^ | |
../src/WebWorkerThreads.cc:554:41: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(len); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:568:29: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ | |
thread->dispatchEvents->CallAsFunction(thread->JSObject, 2, args); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:579:37: error: ‘Arguments’ does not name a type | |
static Handle<Value> Destroy (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> Destroy(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:580:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:585:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
typeThread* thread= isAThread(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:587:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.destroy(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:587:118: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.destroy(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:600:20: error: too few arguments to function ‘v8::Local<v8::Primitive> v8::Undefined(v8::Isolate*)’ | |
return Undefined(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:325:27: note: declared here | |
friend Local<Primitive> Undefined(Isolate* isolate); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:609:34: error: ‘Arguments’ does not name a type | |
static Handle<Value> Eval (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> Eval(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:610:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:612:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (!args.Length()) { | |
^ | |
../src/WebWorkerThreads.cc:613:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.eval(program [,callback]): missing arguments"))); | |
^ | |
../src/WebWorkerThreads.cc:613:115: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.eval(program [,callback]): missing arguments"))); | |
^ | |
../src/WebWorkerThreads.cc:616:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
typeThread* thread= isAThread(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:618:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.eval(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:618:115: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.eval(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:624:40: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
job->typeEval.tiene_callBack= ((args.Length() > 1) && (args[1]->IsFunction())); | |
^ | |
../src/WebWorkerThreads.cc:624:64: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEval.tiene_callBack= ((args.Length() > 1) && (args[1]->IsFunction())); | |
^ | |
../src/WebWorkerThreads.cc:626:44: error: invalid types ‘const int[int]’ for array subscript | |
job->cb= Persistent<Object>::New(args[1]->ToObject()); | |
^ | |
../src/WebWorkerThreads.cc:628:70: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEval.scriptText_StringObject= new String::Utf8Value(args[0]); | |
^ | |
../src/WebWorkerThreads.cc:633:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:633:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:671:34: error: ‘Arguments’ does not name a type | |
static Handle<Value> Load (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> Load(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:672:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:674:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (!args.Length()) { | |
^ | |
../src/WebWorkerThreads.cc:675:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.load(filename [,callback]): missing arguments"))); | |
^ | |
../src/WebWorkerThreads.cc:675:116: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.load(filename [,callback]): missing arguments"))); | |
^ | |
../src/WebWorkerThreads.cc:678:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
typeThread* thread= isAThread(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:680:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.load(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:680:115: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.load(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:683:32: error: invalid types ‘const int[int]’ for array subscript | |
char* source= readFile(args[0]->ToString()); //@Bruno: here we don't know if the file was not found or if it was an empty file | |
^ | |
../src/WebWorkerThreads.cc:684:29: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
if (!source) return scope.Close(args.This()); //@Bruno: even if source is empty, we should call the callback ? | |
^ | |
../src/WebWorkerThreads.cc:684:40: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
if (!source) return scope.Close(args.This()); //@Bruno: even if source is empty, we should call the callback ? | |
^ | |
../src/WebWorkerThreads.cc:689:40: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
job->typeEval.tiene_callBack= ((args.Length() > 1) && (args[1]->IsFunction())); | |
^ | |
../src/WebWorkerThreads.cc:689:64: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEval.tiene_callBack= ((args.Length() > 1) && (args[1]->IsFunction())); | |
^ | |
../src/WebWorkerThreads.cc:691:44: error: invalid types ‘const int[int]’ for array subscript | |
job->cb= Persistent<Object>::New(args[1]->ToObject()); | |
^ | |
../src/WebWorkerThreads.cc:699:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:699:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:707:41: error: ‘Arguments’ does not name a type | |
static Handle<Value> processEmit (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> processEmit(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:708:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:712:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (!args.Length()) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:712:36: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
if (!args.Length()) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:712:47: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
if (!args.Length()) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:714:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
typeThread* thread= isAThread(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:716:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.emit(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:716:115: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.emit(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:723:31: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
job->typeEvent.length= args.Length()- 1; | |
^ | |
../src/WebWorkerThreads.cc:724:57: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEvent.eventName= new String::Utf8Value(args[0]); | |
^ | |
../src/WebWorkerThreads.cc:729:65: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEvent.argumentos[i-1]= new String::Utf8Value(args[i]); | |
^ | |
../src/WebWorkerThreads.cc:734:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:734:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:737:51: error: ‘Arguments’ does not name a type | |
static Handle<Value> processEmitSerialized (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> processEmitSerialized(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:738:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:741:18: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
int len = args.Length(); | |
^ | |
../src/WebWorkerThreads.cc:743:26: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
if (!len) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:743:37: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
if (!len) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:745:38: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
typeThread* thread= isAThread(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:747:48: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("thread.emit(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:747:115: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("thread.emit(): the receiver must be a thread object"))); | |
^ | |
../src/WebWorkerThreads.cc:755:67: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEventSerialized.eventName= new String::Utf8Value(args[0]); | |
^ | |
../src/WebWorkerThreads.cc:756:37: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(len-1); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:757:41: error: invalid types ‘const int[int]’ for array subscript | |
int i = 1; do { array->Set(i-1, args[i]); } while (++i < len); | |
^ | |
../src/WebWorkerThreads.cc:776:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:776:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:818:41: error: ‘Arguments’ does not name a type | |
static Handle<Value> postMessage (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> postMessage(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:780:15: error: within this context | |
HandleScope scope; \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:781:18: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
int len = args.Length(); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:783:26: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
if (!len) return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:783:37: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
if (!len) return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:785:68: error: no matching function for call to ‘v8::Isolate::GetData()’ | |
typeThread* thread= (typeThread*) Isolate::GetCurrent()->GetData(); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8820:7: note: candidate: void* v8::Isolate::GetData(uint32_t) | |
void* Isolate::GetData(uint32_t slot) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8820:7: note: candidate expects 1 argument, 0 provided | |
../src/WebWorkerThreads.cc:791:61: error: ‘New’ is not a member of ‘v8::String’ | |
job->typeEventSerialized.eventName= new String::Utf8Value(String::New(eventname)); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:794:37: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(len); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:795:39: error: invalid types ‘const int[int]’ for array subscript | |
int i = 0; do { array->Set(i, args[i]); } while (++i < len); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:815:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc:815:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:819:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("message"); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:822:39: error: ‘Arguments’ does not name a type | |
static Handle<Value> postError (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> postError(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:780:15: error: within this context | |
HandleScope scope; \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:781:18: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
int len = args.Length(); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:783:26: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
if (!len) return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:783:37: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
if (!len) return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:785:68: error: no matching function for call to ‘v8::Isolate::GetData()’ | |
typeThread* thread= (typeThread*) Isolate::GetCurrent()->GetData(); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8820:7: note: candidate: void* v8::Isolate::GetData(uint32_t) | |
void* Isolate::GetData(uint32_t slot) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8820:7: note: candidate expects 1 argument, 0 provided | |
../src/WebWorkerThreads.cc:791:61: error: ‘New’ is not a member of ‘v8::String’ | |
job->typeEventSerialized.eventName= new String::Utf8Value(String::New(eventname)); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:794:37: error: invalid conversion from ‘int’ to ‘v8::Isolate*’ [-fpermissive] | |
Local<Array> array= Array::New(len); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:3063:23: note: initializing argument 1 of ‘static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)’ | |
static Local<Array> New(Isolate* isolate, int length = 0); | |
^ | |
../src/WebWorkerThreads.cc:795:39: error: invalid types ‘const int[int]’ for array subscript | |
int i = 0; do { array->Set(i, args[i]); } while (++i < len); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:815:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc:815:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); \ | |
^ | |
../src/WebWorkerThreads.cc:823:3: note: in expansion of macro ‘POST_EVENT’ | |
POST_EVENT("error"); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:826:40: error: ‘Arguments’ does not name a type | |
static Handle<Value> threadEmit (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> threadEmit(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:827:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:831:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
if (!args.Length()) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:831:36: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
if (!args.Length()) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:831:47: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
if (!args.Length()) return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:834:68: error: no matching function for call to ‘v8::Isolate::GetData()’ | |
typeThread* thread= (typeThread*) Isolate::GetCurrent()->GetData(); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8820:7: note: candidate: void* v8::Isolate::GetData(uint32_t) | |
void* Isolate::GetData(uint32_t slot) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:8820:7: note: candidate expects 1 argument, 0 provided | |
../src/WebWorkerThreads.cc:840:31: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ | |
job->typeEvent.length= args.Length()- 1; | |
^ | |
../src/WebWorkerThreads.cc:841:57: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEvent.eventName= new String::Utf8Value(args[0]); | |
^ | |
../src/WebWorkerThreads.cc:846:65: error: invalid types ‘const int[int]’ for array subscript | |
job->typeEvent.argumentos[i-1]= new String::Utf8Value(args[i]); | |
^ | |
../src/WebWorkerThreads.cc:854:16: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc:854:27: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’ | |
return scope.Close(args.This()); | |
^ | |
../src/WebWorkerThreads.cc: At global scope: | |
../src/WebWorkerThreads.cc:865:36: error: ‘Arguments’ does not name a type | |
static Handle<Value> Create (const Arguments &args) { | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘v8::Handle<v8::Value> Create(const int&)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:866:17: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:883:61: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
thread->JSObject= Persistent<Object>::New(threadTemplate->NewInstance()); | |
^ | |
../src/WebWorkerThreads.cc:884:21: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ | |
thread->JSObject->Set(id_symbol, Integer::New(thread->id)); | |
^ | |
../src/WebWorkerThreads.cc:884:61: error: no matching function for call to ‘v8::Integer::New(long int&)’ | |
thread->JSObject->Set(id_symbol, Integer::New(thread->id)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
../src/WebWorkerThreads.cc:885:21: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Object>’ | |
thread->JSObject->SetPointerInInternalField(0, thread); | |
^ | |
../src/WebWorkerThreads.cc:886:50: error: ‘New’ is not a member of ‘v8::String’ | |
Local<Value> dispatchEvents= Script::Compile(String::New(kEvents_js))->Run()->ToObject()->CallAsFunction(thread->JSObject, 0, NULL); | |
^ | |
../src/WebWorkerThreads.cc:887:79: error: no matching function for call to ‘v8::Persistent<v8::Object>::New(v8::Local<v8::Object>)’ | |
thread->dispatchEvents= Persistent<Object>::New(dispatchEvents->ToObject()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7821:4: note: candidate: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Object] | |
T* PersistentBase<T>::New(Isolate* isolate, T* that) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7821:4: note: candidate expects 2 arguments, 1 provided | |
../src/WebWorkerThreads.cc:889:70: error: invalid conversion from ‘void (*)(uv_async_t*, int) {aka void (*)(uv_async_s*, int)}’ to ‘uv_async_cb {aka void (*)(uv_async_s*)}’ [-fpermissive] | |
uv_async_init(uv_default_loop(), &thread->async_watcher, Callback); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:7:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/uv.h:767:15: note: initializing argument 3 of ‘int uv_async_init(uv_loop_t*, uv_async_t*, uv_async_cb)’ | |
UV_EXTERN int uv_async_init(uv_loop_t*, | |
^ | |
../src/WebWorkerThreads.cc:909:50: error: ‘New’ is not a member of ‘v8::String’ | |
return ThrowException(Exception::TypeError(String::New("create(): error in pthread_create()"))); | |
^ | |
../src/WebWorkerThreads.cc:909:101: error: ‘ThrowException’ was not declared in this scope | |
return ThrowException(Exception::TypeError(String::New("create(): error in pthread_create()"))); | |
^ | |
../src/WebWorkerThreads.cc:912:5: error: ‘AdjustAmountOfExternalAllocatedMemory’ is not a member of ‘v8::V8’ | |
V8::AdjustAmountOfExternalAllocatedMemory(sizeof(typeThread)); //OJO V8 con V mayúscula. | |
^ | |
../src/WebWorkerThreads.cc:913:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ | |
return scope.Close(thread->JSObject); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h: In function ‘void Init(v8::Handle<v8::Object>, v8::Handle<v8::Value>)’: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:882:13: error: ‘v8::HandleScope::HandleScope()’ is protected | |
V8_INLINE HandleScope() {} | |
^ | |
../src/WebWorkerThreads.cc:927:15: error: within this context | |
HandleScope scope; | |
^ | |
../src/WebWorkerThreads.cc:931:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
target->Set(String::NewSymbol("create"), FunctionTemplate::New(Create)->GetFunction()); | |
^ | |
../src/WebWorkerThreads.cc:931:72: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
target->Set(String::NewSymbol("create"), FunctionTemplate::New(Create)->GetFunction()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:932:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
target->Set(String::NewSymbol("createPool"), Script::Compile(String::New(kCreatePool_js))->Run()->ToObject()); | |
^ | |
../src/WebWorkerThreads.cc:932:64: error: ‘New’ is not a member of ‘v8::String’ | |
target->Set(String::NewSymbol("createPool"), Script::Compile(String::New(kCreatePool_js))->Run()->ToObject()); | |
^ | |
../src/WebWorkerThreads.cc:933:15: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
target->Set(String::NewSymbol("Worker"), Script::Compile(String::New(kWorker_js))->Run()->ToObject()->CallAsFunction(target, 0, NULL)->ToObject()); | |
^ | |
../src/WebWorkerThreads.cc:933:60: error: ‘New’ is not a member of ‘v8::String’ | |
target->Set(String::NewSymbol("Worker"), Script::Compile(String::New(kWorker_js))->Run()->ToObject()->CallAsFunction(target, 0, NULL)->ToObject()); | |
^ | |
../src/WebWorkerThreads.cc:936:38: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
id_symbol= Persistent<String>::New(String::NewSymbol("id")); | |
^ | |
../src/WebWorkerThreads.cc:938:71: warning: ‘static v8::Local<v8::ObjectTemplate> v8::ObjectTemplate::New()’ is deprecated: Use isolate version [-Wdeprecated-declarations] | |
threadTemplate= Persistent<ObjectTemplate>::New(ObjectTemplate::New()); | |
^ | |
In file included from /home/singhal/.node-gyp/7.5.0/include/node/v8.h:26:0, | |
from ../src/WebWorkerThreads.cc:5: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4702:69: note: declared here | |
static V8_DEPRECATED("Use isolate version", Local<ObjectTemplate> New()); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8config.h:329:3: note: in definition of macro ‘V8_DEPRECATED’ | |
declarator __attribute__((deprecated(message))) | |
^ | |
../src/WebWorkerThreads.cc:938:72: error: no matching function for call to ‘v8::Persistent<v8::ObjectTemplate>::New(v8::Local<v8::ObjectTemplate>)’ | |
threadTemplate= Persistent<ObjectTemplate>::New(ObjectTemplate::New()); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7821:4: note: candidate: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::ObjectTemplate] | |
T* PersistentBase<T>::New(Isolate* isolate, T* that) { | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:7821:4: note: candidate expects 2 arguments, 1 provided | |
../src/WebWorkerThreads.cc:939:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->SetInternalFieldCount(1); | |
^ | |
../src/WebWorkerThreads.cc:940:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->Set(id_symbol, Integer::New(0)); | |
^ | |
../src/WebWorkerThreads.cc:940:48: error: no matching function for call to ‘v8::Integer::New(int)’ | |
threadTemplate->Set(id_symbol, Integer::New(0)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t) | |
static Local<Integer> New(Isolate* isolate, int32_t value); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:2541:25: note: candidate expects 2 arguments, 1 provided | |
../src/WebWorkerThreads.cc:941:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->Set(String::NewSymbol("eval"), FunctionTemplate::New(Eval)); | |
^ | |
../src/WebWorkerThreads.cc:941:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadTemplate->Set(String::NewSymbol("eval"), FunctionTemplate::New(Eval)); | |
^ | |
../src/WebWorkerThreads.cc:941:76: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
threadTemplate->Set(String::NewSymbol("eval"), FunctionTemplate::New(Eval)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:942:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->Set(String::NewSymbol("load"), FunctionTemplate::New(Load)); | |
^ | |
../src/WebWorkerThreads.cc:942:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadTemplate->Set(String::NewSymbol("load"), FunctionTemplate::New(Load)); | |
^ | |
../src/WebWorkerThreads.cc:942:76: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
threadTemplate->Set(String::NewSymbol("load"), FunctionTemplate::New(Load)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:943:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->Set(String::NewSymbol("emit"), FunctionTemplate::New(processEmit)); | |
^ | |
../src/WebWorkerThreads.cc:943:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadTemplate->Set(String::NewSymbol("emit"), FunctionTemplate::New(processEmit)); | |
^ | |
../src/WebWorkerThreads.cc:943:83: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
threadTemplate->Set(String::NewSymbol("emit"), FunctionTemplate::New(processEmit)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:944:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->Set(String::NewSymbol("emitSerialized"), FunctionTemplate::New(processEmitSerialized)); | |
^ | |
../src/WebWorkerThreads.cc:944:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadTemplate->Set(String::NewSymbol("emitSerialized"), FunctionTemplate::New(processEmitSerialized)); | |
^ | |
../src/WebWorkerThreads.cc:944:103: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
threadTemplate->Set(String::NewSymbol("emitSerialized"), FunctionTemplate::New(processEmitSerialized)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
../src/WebWorkerThreads.cc:945:17: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::ObjectTemplate>’ | |
threadTemplate->Set(String::NewSymbol("destroy"), FunctionTemplate::New(Destroy)); | |
^ | |
../src/WebWorkerThreads.cc:945:23: error: ‘NewSymbol’ is not a member of ‘v8::String’ | |
threadTemplate->Set(String::NewSymbol("destroy"), FunctionTemplate::New(Destroy)); | |
^ | |
../src/WebWorkerThreads.cc:945:82: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ | |
threadTemplate->Set(String::NewSymbol("destroy"), FunctionTemplate::New(Destroy)); | |
^ | |
In file included from ../src/WebWorkerThreads.cc:5:0: | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: candidate: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Local<v8::Value>, v8::Local<v8::Signature>, int, v8::ConstructorBehavior) | |
static Local<FunctionTemplate> New( | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/v8.h:4510:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&) {aka v8::Local<v8::Value>(const int&)}’ to ‘v8::Isolate*’ | |
In file included from ../src/WebWorkerThreads.cc:6:0: | |
../src/WebWorkerThreads.cc: At global scope: | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:438:30: error: redefinition of ‘node::node_module _module’ | |
static node::node_module _module = \ | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:475:3: note: in expansion of macro ‘NODE_MODULE_X’ | |
NODE_MODULE_X(modname, regfunc, NULL, 0) | |
^ | |
../src/WebWorkerThreads.cc:952:1: note: in expansion of macro ‘NODE_MODULE’ | |
NODE_MODULE(WebWorkerThreads, Init) | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:438:30: note: ‘node::node_module _module’ previously defined here | |
static node::node_module _module = \ | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:475:3: note: in expansion of macro ‘NODE_MODULE_X’ | |
NODE_MODULE_X(modname, regfunc, NULL, 0) | |
^ | |
../src/bson.cc:1041:1: note: in expansion of macro ‘NODE_MODULE’ | |
NODE_MODULE(bson, BSON::Initialize); | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:444:43: error: overloaded function with no contextual type information | |
(node::addon_register_func) (regfunc), \ | |
^ | |
/home/singhal/.node-gyp/7.5.0/include/node/node.h:475:3: note: in expansion of macro ‘NODE_MODULE_X’ | |
NODE_MODULE_X(modname, regfunc, NULL, 0) | |
^ | |
../src/WebWorkerThreads.cc:952:1: note: in expansion of macro ‘NODE_MODULE’ | |
NODE_MODULE(WebWorkerThreads, Init) | |
^ | |
In file included from ../src/WebWorkerThreads.cc:12:0: | |
../../nan/nan.h: In instantiation of ‘void NanDisposePersistent(v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]’: | |
../../nan/nan.h:786:44: required from here | |
../../nan/nan.h:394:5: error: ‘class v8::Persistent<v8::Object>’ has no member named ‘Clear’ | |
handle.Clear(); | |
^ | |
make: *** [Release/obj.target/WebWorkerThreads/src/WebWorkerThreads.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/home/singhal/.nvm/versions/node/v7.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) | |
gyp ERR! stack at emitTwo (events.js:106:13) | |
gyp ERR! stack at ChildProcess.emit (events.js:192:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) | |
gyp ERR! System Linux 4.4.0-64-generic | |
gyp ERR! command "/home/singhal/.nvm/versions/node/v7.5.0/bin/node" "/home/singhal/.nvm/versions/node/v7.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /home/singhal/OpenSource/converse.js/node_modules/otr/node_modules/webworker-threads | |
gyp ERR! node -v v7.5.0 | |
gyp ERR! node-gyp -v v3.5.0 | |
gyp ERR! not ok | |
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/otr/node_modules/webworker-threads): | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild` | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment