Skip to content

Instantly share code, notes, and snippets.

@rodcisal
Created February 9, 2015 14:59
Show Gist options
  • Save rodcisal/bed7e776512e865e633c to your computer and use it in GitHub Desktop.
Save rodcisal/bed7e776512e865e633c to your computer and use it in GitHub Desktop.
trying to deploy to a new servo
that.yielded.Dispose();
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::New(const int&)':
../src/fibers.cc:223:13: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if (args.Length() != 1) {
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:224:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "Fiber expects 1 argument");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:224:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "Fiber expects 1 argument");
^
../src/fibers.cc:225:22: error: invalid types 'const int[int]' for array subscript
} else if (!args[0]->IsFunction()) {
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:226:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "Fiber expects a function");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:226:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "Fiber expects a function");
^
../src/fibers.cc:227:21: error: request for member 'IsConstructCall' in 'args', which is of non-class type 'const int'
} else if (!args.IsConstructCall()) {
^
../src/fibers.cc:228:37: error: invalid types 'const int[int]' for array subscript
Handle<Value> argv[1] = { args[0] };
^
../src/fibers.cc:229:16: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
return tmpl->GetFunction()->NewInstance(1, argv);
^
../src/fibers.cc:232:55: error: invalid types 'const int[int]' for array subscript
Handle<Function> fn = Handle<Function>::Cast(args[0]);
^
../src/fibers.cc:233:19: error: request for member 'This' in 'args', which is of non-class type 'const int'
new Fiber(args.This(), fn, Context::GetCurrent());
^
../src/fibers.cc:233:31: error: 'GetCurrent' is not a member of 'v8::Context'
new Fiber(args.This(), fn, Context::GetCurrent());
^
../src/fibers.cc:234:16: error: request for member 'This' in 'args', which is of non-class type 'const int'
return args.This();
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::Run(const int&)':
../src/fibers.cc:242:30: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
Fiber& that = Unwrap(args.Holder());
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:248:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "This Fiber is already running");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:248:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "This Fiber is already running");
^
../src/fibers.cc:249:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() > 1) {
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:250:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "run() excepts 1 or no arguments");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:250:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "run() excepts 1 or no arguments");
^
../src/fibers.cc:260:5: error: 'AdjustAmountOfExternalAllocatedMemory' is not a member of 'v8::V8'
V8::AdjustAmountOfExternalAllocatedMemory(that.this_fiber->size() * GC_ADJUST);
^
../src/fibers.cc:266:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
if (args.Length()) {
^
../src/fibers.cc:267:50: error: invalid types 'const int[int]' for array subscript
that.yielded = uni::New(that.isolate, args[0]);
^
../src/fibers.cc:269:54: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
that.yielded = uni::New(that.isolate, Undefined());
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::ThrowInto(const int&)':
../src/fibers.cc:280:30: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
Fiber& that = Unwrap(args.Holder());
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:283:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "This Fiber is not yielding");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:283:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "This Fiber is not yielding");
^
../src/fibers.cc:284:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() == 0) {
^
../src/fibers.cc:285:53: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
that.yielded = uni::New(that.isolate, Undefined());
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:286:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() == 1) {
^
../src/fibers.cc:287:49: error: invalid types 'const int[int]' for array subscript
that.yielded = uni::New(that.isolate, args[0]);
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:289:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "throwInto() expects 1 or no arguments");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:289:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "throwInto() expects 1 or no arguments");
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::Reset(const int&)':
../src/fibers.cc:301:30: error: request for member 'Holder' in 'args', which is of non-class type 'const int'
Fiber& that = Unwrap(args.Holder());
^
../src/fibers.cc:304:22: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return Undefined();
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:306:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "This Fiber is not yielding");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:306:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "This Fiber is not yielding");
^
../src/fibers.cc:307:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length()) {
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:308:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "reset() expects no arguments");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:308:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "reset() expects no arguments");
^
../src/fibers.cc:316:29: error: conversion from 'v8::Persistent<v8::Value>' to non-scalar type 'v8::Handle<v8::Value>' requested
Handle<Value> val = that.yielded;
^
../src/fibers.cc:317:17: error: 'class v8::Persistent<v8::Value>' has no member named 'Dispose'
that.yielded.Dispose();
^
../src/fibers.cc:319:30: error: 'ThrowException' was not declared in this scope
return ThrowException(val);
^
../src/fibers.cc: In member function 'void Fiber::UnwindStack()':
../src/fibers.cc:338:53: error: 'New' is not a member of 'v8::String'
Local<Value> zombie_exception = Exception::Error(String::New("This Fiber is a zombie"));
^
../src/fibers.cc:352:13: error: 'class v8::Persistent<v8::Value>' has no member named 'Dispose'
yielded.Dispose();
^
../src/fibers.cc:353:43: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
yielded = uni::New(isolate, Undefined());
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:355:27: error: 'class v8::Persistent<v8::Value>' has no member named 'Dispose'
this->zombie_exception.Dispose();
^
../src/fibers.cc: In member function 'v8::Handle<v8::Value> Fiber::ReturnYielded()':
../src/fibers.cc:383:24: error: conversion from 'v8::Persistent<v8::Value>' to non-scalar type 'v8::Handle<v8::Value>' requested
Handle<Value> val = yielded;
^
../src/fibers.cc:384:12: error: 'class v8::Persistent<v8::Value>' has no member named 'Dispose'
yielded.Dispose();
^
../src/fibers.cc:386:30: error: 'ThrowException' was not declared in this scope
return ThrowException(val);
^
../src/fibers.cc: In static member function 'static void Fiber::RunFiber(void**)':
../src/fibers.cc:396:10: error: 'Arguments' does not name a type
const Arguments* args = (const Arguments*)data[0];
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../src/fibers.cc:406:17: error: within this context
HandleScope scope;
^
../src/fibers.cc:414:40: error: cannot convert 'v8::ResourceConstraints*' to 'v8::Isolate*' for argument '1' to 'bool v8::SetResourceConstraints(v8::Isolate*, v8::ResourceConstraints*)'
SetResourceConstraints(&constraints);
^
../src/fibers.cc:418:20: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Context>'
that.v8_context->Enter();
^
../src/fibers.cc:422:21: error: 'New' is not a member of 'v8::String'
Script::Compile(String::New("void 0;"));
^
../src/fibers.cc:425:9: error: 'args' was not declared in this scope
if (args->Length()) {
^
../src/fibers.cc:427:23: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Function>'
yielded = that.cb->Call(that.v8_context->Global(), 1, argv);
^
../src/fibers.cc:427:45: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Context>'
yielded = that.cb->Call(that.v8_context->Global(), 1, argv);
^
../src/fibers.cc:429:23: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Function>'
yielded = that.cb->Call(that.v8_context->Global(), 0, NULL);
^
../src/fibers.cc:429:45: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Context>'
yielded = that.cb->Call(that.v8_context->Global(), 0, NULL);
^
../src/fibers.cc:446:5: error: 'AdjustAmountOfExternalAllocatedMemory' is not a member of 'v8::V8'
V8::AdjustAmountOfExternalAllocatedMemory(-(int)(that.this_fiber->size() * GC_ADJUST));
^
../src/fibers.cc:455:20: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Context>'
that.v8_context->Exit();
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::Yield_(const int&)':
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:470:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "yield() called with no fiber running");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:470:5: note: in expansion of macro 'THROW'
THROW(Exception::Error, "yield() called with no fiber running");
^
../src/fibers.cc:476:48: error: 'ThrowException' was not declared in this scope
return ThrowException(that.zombie_exception);
^
../src/fibers.cc:477:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() == 0) {
^
../src/fibers.cc:478:53: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
that.yielded = uni::New(that.isolate, Undefined());
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:479:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() == 1) {
^
../src/fibers.cc:480:49: error: invalid types 'const int[int]' for array subscript
that.yielded = uni::New(that.isolate, args[0]);
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:482:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "yield() expects 1 or no arguments");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:482:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "yield() expects 1 or no arguments");
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetStarted(v8::Local<v8::String>, const int&)':
../src/fibers.cc:511:13: error: request for member 'This' in 'info', which is of non-class type 'const int'
if (info.This().IsEmpty() || info.This()->InternalFieldCount() != 1) {
^
../src/fibers.cc:511:38: error: request for member 'This' in 'info', which is of non-class type 'const int'
if (info.This().IsEmpty() || info.This()->InternalFieldCount() != 1) {
^
../src/fibers.cc:512:22: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return Undefined();
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:514:30: error: request for member 'This' in 'info', which is of non-class type 'const int'
Fiber& that = Unwrap(info.This());
^
../src/fibers.cc:515:36: error: no matching function for call to 'v8::Boolean::New(bool&)'
return Boolean::New(that.started);
^
../src/fibers.cc:515:36: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetCurrent(v8::Local<v8::String>, const int&)':
../src/fibers.cc:520:21: error: could not convert 'Fiber::current->Fiber::handle' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Value>'
return current->handle;
^
../src/fibers.cc:522:22: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return Undefined();
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetPoolSize(v8::Local<v8::String>, const int&)':
../src/fibers.cc:530:43: error: no matching function for call to 'v8::Number::New(size_t&)'
return Number::New(Coroutine::pool_size);
^
../src/fibers.cc:530:43: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetFibersCreated(v8::Local<v8::String>, const int&)':
../src/fibers.cc:541:54: error: no matching function for call to 'v8::Number::New(size_t)'
return Number::New(Coroutine::coroutines_created());
^
../src/fibers.cc:541:54: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/fibers.cc: In static member function 'static void Fiber::Init(v8::Handle<v8::Object>)':
../src/fibers.cc:561:54: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))'
tmpl = uni::New(isolate, FunctionTemplate::New(New));
^
../src/fibers.cc:561:54: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:562:8: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
tmpl->SetClassName(String::NewSymbol("Fiber"));
^
../src/fibers.cc:562:23: error: 'NewSymbol' is not a member of 'v8::String'
tmpl->SetClassName(String::NewSymbol("Fiber"));
^
../src/fibers.cc:566:47: error: no matching function for call to 'v8::Signature::New(v8::Persistent<v8::FunctionTemplate>&)'
Handle<Signature> sig = Signature::New(tmpl);
^
../src/fibers.cc:566:47: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3698:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)
static Local<Signature> New(Isolate* isolate,
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3698:27: note: no known conversion for argument 1 from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Isolate*'
../src/fibers.cc:567:8: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
tmpl->InstanceTemplate()->SetInternalFieldCount(1);
^
../src/fibers.cc:570:39: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
Handle<ObjectTemplate> proto = tmpl->PrototypeTemplate();
^
../src/fibers.cc:571:15: error: 'NewSymbol' is not a member of 'v8::String'
proto->Set(String::NewSymbol("reset"),
^
../src/fibers.cc:572:54: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>&)'
FunctionTemplate::New(Reset, Handle<Value>(), sig));
^
../src/fibers.cc:572:54: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:573:15: error: 'NewSymbol' is not a member of 'v8::String'
proto->Set(String::NewSymbol("run"),
^
../src/fibers.cc:574:52: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>&)'
FunctionTemplate::New(Run, Handle<Value>(), sig));
^
../src/fibers.cc:574:52: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:575:15: error: 'NewSymbol' is not a member of 'v8::String'
proto->Set(String::NewSymbol("throwInto"),
^
../src/fibers.cc:576:58: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>&)'
FunctionTemplate::New(ThrowInto, Handle<Value>(), sig));
^
../src/fibers.cc:576:58: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:577:23: error: 'NewSymbol' is not a member of 'v8::String'
proto->SetAccessor(String::NewSymbol("started"), GetStarted);
^
../src/fibers.cc:580:57: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))'
Handle<Function> yield = FunctionTemplate::New(Yield_)->GetFunction();
^
../src/fibers.cc:580:57: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:581:31: error: 'NewSymbol' is not a member of 'v8::String'
Handle<String> sym_yield = String::NewSymbol("yield");
^
../src/fibers.cc:585:30: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
Handle<Function> fn = tmpl->GetFunction();
^
../src/fibers.cc:587:20: error: 'NewSymbol' is not a member of 'v8::String'
fn->SetAccessor(String::NewSymbol("current"), GetCurrent);
^
../src/fibers.cc:588:20: error: 'NewSymbol' is not a member of 'v8::String'
fn->SetAccessor(String::NewSymbol("poolSize"), GetPoolSize, SetPoolSize);
^
../src/fibers.cc:589:20: error: 'NewSymbol' is not a member of 'v8::String'
fn->SetAccessor(String::NewSymbol("fibersCreated"), GetFibersCreated);
^
../src/fibers.cc:592:16: error: 'NewSymbol' is not a member of 'v8::String'
target->Set(String::NewSymbol("Fiber"), fn, ReadOnly);
^
../src/fibers.cc: In function 'void init(v8::Handle<v8::Object>)':
../src/fibers.cc:608:31: error: 'New' is not a member of 'v8::String'
if (did_init || !target->Get(String::New("Fiber"))->IsUndefined()) {
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../src/fibers.cc:614:14: error: within this context
HandleScope scope;
^
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Object]':
../src/fibers.cc:123:35: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Object]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Object>' to 'v8::Object*'
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Function]':
../src/fibers.cc:124:27: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Isolate*&, v8::Handle<v8::Function>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Function>' to 'v8::Function*'
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Context]':
../src/fibers.cc:125:43: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Context>::New(v8::Isolate*&, v8::Handle<v8::Context>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Context]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Context>' to 'v8::Context*'
../src/fibers.cc: In instantiation of 'void uni::Dispose(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]':
../src/fibers.cc:136:32: required from here
../src/fibers.cc:34:3: error: 'class v8::Persistent<v8::Object>' has no member named 'Dispose'
handle.Dispose(isolate);
^
../src/fibers.cc: In instantiation of 'void uni::Dispose(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Function]':
../src/fibers.cc:137:28: required from here
../src/fibers.cc:34:3: error: 'class v8::Persistent<v8::Function>' has no member named 'Dispose'
../src/fibers.cc: In instantiation of 'void uni::Dispose(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Context]':
../src/fibers.cc:138:36: required from here
../src/fibers.cc:34:3: error: 'class v8::Persistent<v8::Context>' has no member named 'Dispose'
../src/fibers.cc: In instantiation of 'void uni::MakeWeak(v8::Isolate*, v8::Persistent<S>&, P*) [with void (* F)(v8::Isolate*, v8::Persistent<v8::Value>, void*) = Fiber::WeakCallback; T = v8::Object; P = Fiber]':
../src/fibers.cc:146:53: required from here
../src/fibers.cc:39:3: error: 'class v8::Persistent<v8::Object>' has no member named 'MakeWeak'
handle.MakeWeak(isolate, val, F);
^
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Value]':
../src/fibers.cc:339:63: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Value>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Value]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Value>' to 'v8::Value*'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Object]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; T = v8::Object; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Object>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Object; M2 = v8::NonCopyablePersistentTraits<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:657:14: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>]'
../src/fibers.cc:129:19: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Function]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Function; M = v8::NonCopyablePersistentTraits<v8::Function>; T = v8::Function; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Function>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Function; M2 = v8::NonCopyablePersistentTraits<v8::Function>; T = v8::Function; M = v8::NonCopyablePersistentTraits<v8::Function>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:657:14: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Function; M = v8::NonCopyablePersistentTraits<v8::Function>]'
../src/fibers.cc:129:19: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Context]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Context; M = v8::NonCopyablePersistentTraits<v8::Context>; T = v8::Context; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Context>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Context; M2 = v8::NonCopyablePersistentTraits<v8::Context>; T = v8::Context; M = v8::NonCopyablePersistentTraits<v8::Context>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:657:14: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Context; M = v8::NonCopyablePersistentTraits<v8::Context>]'
../src/fibers.cc:129:19: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Value]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Value; M = v8::NonCopyablePersistentTraits<v8::Value>; T = v8::Value; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Value>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Value; M2 = v8::NonCopyablePersistentTraits<v8::Value>; T = v8::Value; M = v8::NonCopyablePersistentTraits<v8::Value>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:664:14: required from 'v8::Persistent<T, M>& v8::Persistent<T, M>::operator=(const v8::Persistent<T, M>&) [with T = v8::Value; M = v8::NonCopyablePersistentTraits<v8::Value>]'
../src/fibers.cc:339:27: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
../src/fibers.cc: In function 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Function]':
../src/fibers.cc:31:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/fibers.cc:477:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() == 0) {
^
../src/fibers.cc:478:53: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
that.yielded = uni::New(that.isolate, Undefined());
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:479:20: error: request for member 'Length' in 'args', which is of non-class type 'const int'
} else if (args.Length() == 1) {
^
../src/fibers.cc:480:49: error: invalid types 'const int[int]' for array subscript
that.yielded = uni::New(that.isolate, args[0]);
^
../src/fibers.cc:9:45: error: 'New' is not a member of 'v8::String'
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:482:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "yield() expects 1 or no arguments");
^
../src/fibers.cc:9:60: error: 'ThrowException' was not declared in this scope
#define THROW(x, m) return ThrowException(x(String::New(m)))
^
../src/fibers.cc:482:5: note: in expansion of macro 'THROW'
THROW(Exception::TypeError, "yield() expects 1 or no arguments");
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetStarted(v8::Local<v8::String>, const int&)':
../src/fibers.cc:511:13: error: request for member 'This' in 'info', which is of non-class type 'const int'
if (info.This().IsEmpty() || info.This()->InternalFieldCount() != 1) {
^
../src/fibers.cc:511:38: error: request for member 'This' in 'info', which is of non-class type 'const int'
if (info.This().IsEmpty() || info.This()->InternalFieldCount() != 1) {
^
../src/fibers.cc:512:22: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return Undefined();
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc:514:30: error: request for member 'This' in 'info', which is of non-class type 'const int'
Fiber& that = Unwrap(info.This());
^
../src/fibers.cc:515:36: error: no matching function for call to 'v8::Boolean::New(bool&)'
return Boolean::New(that.started);
^
../src/fibers.cc:515:36: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetCurrent(v8::Local<v8::String>, const int&)':
../src/fibers.cc:520:21: error: could not convert 'Fiber::current->Fiber::handle' from 'v8::Persistent<v8::Object>' to 'v8::Handle<v8::Value>'
return current->handle;
^
../src/fibers.cc:522:22: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
return Undefined();
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetPoolSize(v8::Local<v8::String>, const int&)':
../src/fibers.cc:530:43: error: no matching function for call to 'v8::Number::New(size_t&)'
return Number::New(Coroutine::pool_size);
^
../src/fibers.cc:530:43: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/fibers.cc: In static member function 'static v8::Handle<v8::Value> Fiber::GetFibersCreated(v8::Local<v8::String>, const int&)':
../src/fibers.cc:541:54: error: no matching function for call to 'v8::Number::New(size_t)'
return Number::New(Coroutine::coroutines_created());
^
../src/fibers.cc:541:54: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
static Local<Number> New(Isolate* isolate, double value);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
../src/fibers.cc: In static member function 'static void Fiber::Init(v8::Handle<v8::Object>)':
../src/fibers.cc:561:54: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))'
tmpl = uni::New(isolate, FunctionTemplate::New(New));
^
../src/fibers.cc:561:54: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:562:8: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
tmpl->SetClassName(String::NewSymbol("Fiber"));
^
../src/fibers.cc:562:23: error: 'NewSymbol' is not a member of 'v8::String'
tmpl->SetClassName(String::NewSymbol("Fiber"));
^
../src/fibers.cc:566:47: error: no matching function for call to 'v8::Signature::New(v8::Persistent<v8::FunctionTemplate>&)'
Handle<Signature> sig = Signature::New(tmpl);
^
../src/fibers.cc:566:47: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3698:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)
static Local<Signature> New(Isolate* isolate,
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3698:27: note: no known conversion for argument 1 from 'v8::Persistent<v8::FunctionTemplate>' to 'v8::Isolate*'
../src/fibers.cc:567:8: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
tmpl->InstanceTemplate()->SetInternalFieldCount(1);
^
../src/fibers.cc:570:39: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
Handle<ObjectTemplate> proto = tmpl->PrototypeTemplate();
^
../src/fibers.cc:571:15: error: 'NewSymbol' is not a member of 'v8::String'
proto->Set(String::NewSymbol("reset"),
^
../src/fibers.cc:572:54: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>&)'
FunctionTemplate::New(Reset, Handle<Value>(), sig));
^
../src/fibers.cc:572:54: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:573:15: error: 'NewSymbol' is not a member of 'v8::String'
proto->Set(String::NewSymbol("run"),
^
../src/fibers.cc:574:52: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>&)'
FunctionTemplate::New(Run, Handle<Value>(), sig));
^
../src/fibers.cc:574:52: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:575:15: error: 'NewSymbol' is not a member of 'v8::String'
proto->Set(String::NewSymbol("throwInto"),
^
../src/fibers.cc:576:58: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&), v8::Handle<v8::Value>, v8::Handle<v8::Signature>&)'
FunctionTemplate::New(ThrowInto, Handle<Value>(), sig));
^
../src/fibers.cc:576:58: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:577:23: error: 'NewSymbol' is not a member of 'v8::String'
proto->SetAccessor(String::NewSymbol("started"), GetStarted);
^
../src/fibers.cc:580:57: error: no matching function for call to 'v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))'
Handle<Function> yield = FunctionTemplate::New(Yield_)->GetFunction();
^
../src/fibers.cc:580:57: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
static Local<FunctionTemplate> New(
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from 'v8::Handle<v8::Value>(const int&)' to 'v8::Isolate*'
../src/fibers.cc:581:31: error: 'NewSymbol' is not a member of 'v8::String'
Handle<String> sym_yield = String::NewSymbol("yield");
^
../src/fibers.cc:585:30: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::FunctionTemplate>'
Handle<Function> fn = tmpl->GetFunction();
^
../src/fibers.cc:587:20: error: 'NewSymbol' is not a member of 'v8::String'
fn->SetAccessor(String::NewSymbol("current"), GetCurrent);
^
../src/fibers.cc:588:20: error: 'NewSymbol' is not a member of 'v8::String'
fn->SetAccessor(String::NewSymbol("poolSize"), GetPoolSize, SetPoolSize);
^
../src/fibers.cc:589:20: error: 'NewSymbol' is not a member of 'v8::String'
fn->SetAccessor(String::NewSymbol("fibersCreated"), GetFibersCreated);
^
../src/fibers.cc:592:16: error: 'NewSymbol' is not a member of 'v8::String'
target->Set(String::NewSymbol("Fiber"), fn, ReadOnly);
^
../src/fibers.cc: In function 'void init(v8::Handle<v8::Object>)':
../src/fibers.cc:608:31: error: 'New' is not a member of 'v8::String'
if (did_init || !target->Get(String::New("Fiber"))->IsUndefined()) {
^
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
V8_INLINE HandleScope() {}
^
../src/fibers.cc:614:14: error: within this context
HandleScope scope;
^
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Object]':
../src/fibers.cc:123:35: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Object>::New(v8::Isolate*&, v8::Handle<v8::Object>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Object]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Object>' to 'v8::Object*'
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Function]':
../src/fibers.cc:124:27: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Function>::New(v8::Isolate*&, v8::Handle<v8::Function>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Function>' to 'v8::Function*'
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Context]':
../src/fibers.cc:125:43: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Context>::New(v8::Isolate*&, v8::Handle<v8::Context>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Context]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Context>' to 'v8::Context*'
../src/fibers.cc: In instantiation of 'void uni::Dispose(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Object]':
../src/fibers.cc:136:32: required from here
../src/fibers.cc:34:3: error: 'class v8::Persistent<v8::Object>' has no member named 'Dispose'
handle.Dispose(isolate);
^
../src/fibers.cc: In instantiation of 'void uni::Dispose(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Function]':
../src/fibers.cc:137:28: required from here
../src/fibers.cc:34:3: error: 'class v8::Persistent<v8::Function>' has no member named 'Dispose'
../src/fibers.cc: In instantiation of 'void uni::Dispose(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&) [with T = v8::Context]':
../src/fibers.cc:138:36: required from here
../src/fibers.cc:34:3: error: 'class v8::Persistent<v8::Context>' has no member named 'Dispose'
../src/fibers.cc: In instantiation of 'void uni::MakeWeak(v8::Isolate*, v8::Persistent<S>&, P*) [with void (* F)(v8::Isolate*, v8::Persistent<v8::Value>, void*) = Fiber::WeakCallback; T = v8::Object; P = Fiber]':
../src/fibers.cc:146:53: required from here
../src/fibers.cc:39:3: error: 'class v8::Persistent<v8::Object>' has no member named 'MakeWeak'
handle.MakeWeak(isolate, val, F);
^
../src/fibers.cc: In instantiation of 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Value]':
../src/fibers.cc:339:63: required from here
../src/fibers.cc:30:44: error: no matching function for call to 'v8::Persistent<v8::Value>::New(v8::Isolate*&, v8::Handle<v8::Value>&)'
return Persistent<T>::New(isolate, handle);
^
../src/fibers.cc:30:44: note: candidate is:
In file included from /home/mop/.node-gyp/0.12.0/src/node.h:61:0,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Value]
T* PersistentBase<T>::New(Isolate* isolate, T* that) {
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: no known conversion for argument 2 from 'v8::Handle<v8::Value>' to 'v8::Value*'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Object]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; T = v8::Object; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Object>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Object; M2 = v8::NonCopyablePersistentTraits<v8::Object>; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:657:14: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>]'
../src/fibers.cc:129:19: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Function]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Function; M = v8::NonCopyablePersistentTraits<v8::Function>; T = v8::Function; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Function>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Function; M2 = v8::NonCopyablePersistentTraits<v8::Function>; T = v8::Function; M = v8::NonCopyablePersistentTraits<v8::Function>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:657:14: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Function; M = v8::NonCopyablePersistentTraits<v8::Function>]'
../src/fibers.cc:129:19: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Context]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Context; M = v8::NonCopyablePersistentTraits<v8::Context>; T = v8::Context; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Context>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Context; M2 = v8::NonCopyablePersistentTraits<v8::Context>; T = v8::Context; M = v8::NonCopyablePersistentTraits<v8::Context>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:657:14: required from 'v8::Persistent<T, M>::Persistent(const v8::Persistent<T, M>&) [with T = v8::Context; M = v8::NonCopyablePersistentTraits<v8::Context>]'
../src/fibers.cc:129:19: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h: In instantiation of 'static void v8::NonCopyablePersistentTraits<T>::Uncompilable() [with O = v8::Object; T = v8::Value]':
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:592:17: required from 'static void v8::NonCopyablePersistentTraits<T>::Copy(const v8::Persistent<S, M>&, v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent*) [with S = v8::Value; M = v8::NonCopyablePersistentTraits<v8::Value>; T = v8::Value; v8::NonCopyablePersistentTraits<T>::NonCopyablePersistent = v8::Persistent<v8::Value>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:5826:21: required from 'void v8::Persistent<T, M>::Copy(const v8::Persistent<S, M>&) [with S = v8::Value; M2 = v8::NonCopyablePersistentTraits<v8::Value>; T = v8::Value; M = v8::NonCopyablePersistentTraits<v8::Value>]'
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:664:14: required from 'v8::Persistent<T, M>& v8::Persistent<T, M>::operator=(const v8::Persistent<T, M>&) [with T = v8::Value; M = v8::NonCopyablePersistentTraits<v8::Value>]'
../src/fibers.cc:339:27: required from here
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:167:37: error: cannot convert 'v8::Primitive*' to 'v8::Object* volatile' in assignment
*(static_cast<T* volatile*>(0)) = static_cast<S*>(0); \
^
/home/mop/.node-gyp/0.12.0/deps/v8/include/v8.h:596:5: note: in expansion of macro 'TYPE_CHECK'
TYPE_CHECK(O, Primitive);
^
../src/fibers.cc: In function 'v8::Persistent<T, v8::NonCopyablePersistentTraits<T> > uni::New(v8::Isolate*, v8::Handle<T>) [with T = v8::Function]':
../src/fibers.cc:31:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
make: Leaving directory `/mnt/data/1/node_modules/fibers/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/nave/installed/0.12.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.13.0-36-generic
gyp ERR! command "node" "/nave/installed/0.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /mnt/data/1/node_modules/fibers
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
Build failed
> [email protected] install /mnt/data/1/node_modules/v8-profiler
> node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory `/mnt/data/1/node_modules/v8-profiler/build'
CXX(target) Release/obj.target/profiler/src/profiler.o
CXX(target) Release/obj.target/profiler/src/cpu_profiler.o
CXX(target) Release/obj.target/profiler/src/cpu_profile.o
CXX(target) Release/obj.target/profiler/src/cpu_profile_node.o
CXX(target) Release/obj.target/profiler/src/heap_profiler.o
In file included from ../src/heap_profiler.cc:3:0:
../src/heap_output_stream.h: In constructor 'nodex::OutputStreamAdapter::OutputStreamAdapter(v8::Handle<v8::Function>, v8::Handle<v8::Function>)':
../src/heap_output_stream.h:28:32: warning: 'nodex::OutputStreamAdapter::callback' will be initialized after [-Wreorder]
v8::Handle<v8::Function> callback;
^
../src/heap_output_stream.h:26:29: warning: 'v8::Handle<v8::Value> nodex::OutputStreamAdapter::abort' [-Wreorder]
v8::Handle<v8::Value> abort;
^
../src/heap_output_stream.h:11:7: warning: when initialized here [-Wreorder]
OutputStreamAdapter(
^
CXX(target) Release/obj.target/profiler/src/heap_snapshot.o
In file included from ../src/heap_snapshot.cc:2:0:
../src/heap_output_stream.h: In constructor 'nodex::OutputStreamAdapter::OutputStreamAdapter(v8::Handle<v8::Function>, v8::Handle<v8::Function>)':
../src/heap_output_stream.h:28:32: warning: 'nodex::OutputStreamAdapter::callback' will be initialized after [-Wreorder]
v8::Handle<v8::Function> callback;
^
../src/heap_output_stream.h:26:29: warning: 'v8::Handle<v8::Value> nodex::OutputStreamAdapter::abort' [-Wreorder]
v8::Handle<v8::Value> abort;
^
../src/heap_output_stream.h:11:7: warning: when initialized here [-Wreorder]
OutputStreamAdapter(
^
CXX(target) Release/obj.target/profiler/src/heap_output_stream.o
In file included from ../src/heap_output_stream.cc:1:0:
../src/heap_output_stream.h: In constructor 'nodex::OutputStreamAdapter::OutputStreamAdapter(v8::Handle<v8::Function>, v8::Handle<v8::Function>)':
../src/heap_output_stream.h:28:32: warning: 'nodex::OutputStreamAdapter::callback' will be initialized after [-Wreorder]
v8::Handle<v8::Function> callback;
^
../src/heap_output_stream.h:26:29: warning: 'v8::Handle<v8::Value> nodex::OutputStreamAdapter::abort' [-Wreorder]
v8::Handle<v8::Value> abort;
^
../src/heap_output_stream.h:11:7: warning: when initialized here [-Wreorder]
OutputStreamAdapter(
^
CXX(target) Release/obj.target/profiler/src/heap_graph_node.o
CXX(target) Release/obj.target/profiler/src/heap_graph_edge.o
SOLINK_MODULE(target) Release/obj.target/profiler.node
SOLINK_MODULE(target) Release/obj.target/profiler.node: Finished
COPY Release/profiler.node
make: Leaving directory `/mnt/data/1/node_modules/v8-profiler/build'
npm ERR! Linux 3.13.0-36-generic
npm ERR! argv "/mnt/nave/installed/0.12.0/bin/node" "/mnt/nave/installed/0.12.0/bin/npm" "install" "--production" "--registry" "http://registry.npmjs.org" "--cache" "/mnt/data/.npm"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node ./build.js'.
npm ERR! This is most likely a problem with the fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls fibers
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /mnt/data/1/npm-debug.log
INFO: Main file specified in package.json: main.js
INFO: Starting application.
[✓] achs-testing running at achstesting-42819.onmodulus.net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment