I'm not sure if I'm doing something wrong or if this is an nwm issue:
root@linux-xuzz:/home/fusl # npm install -g nwm
/usr/local/bin/nwm -> /usr/local/lib/node_modules/nwm/bin/nwm
> nwm@1.2.0 install /usr/local/lib/node_modules/nwm
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.12.7"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/nwm/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/nwm/build'
CC(target) Release/obj.target/listc/src/nwm/list.o
AR(target) Release/obj.target/listc.a
COPY Release/listc.a
CC(target) Release/obj.target/nwmc/src/nwm/nwm.o
../src/nwm/nwm.c: In function ‘nwm_scan_monitors’:
../src/nwm/nwm.c:492:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nwm.total_monitors <= nn) {
^
../src/nwm/nwm.c:504:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i >= nwm.total_monitors) {
^
../src/nwm/nwm.c:515:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = nn; i < nwm.total_monitors; i++) {
^
../src/nwm/nwm.c: In function ‘event_clientmessage’:
../src/nwm/nwm.c:599:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cme->message_type == NetWMState && cme->data.l[1] == NetWMFullscreen) {
^
../src/nwm/nwm.c: In function ‘event_keypress’:
../src/nwm/nwm.c:711:3: warning: ‘XKeycodeToKeysym’ is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
keysym = XKeycodeToKeysym(nwm.dpy, (KeyCode)ev->keycode, 0);
^
AR(target) Release/obj.target/nwmc.a
COPY Release/nwmc.a
CXX(target) Release/obj.target/nwm/src/nwm/nwm_node.o
../src/nwm/nwm_node.cc:12:22: error: variable or field ‘EIO_Loop’ declared void
static void EIO_Loop(uv_poll_t* handle, int status, int events);
^
../src/nwm/nwm_node.cc:12:22: error: ‘uv_poll_t’ was not declared in this scope
../src/nwm/nwm_node.cc:12:33: error: ‘handle’ was not declared in this scope
static void EIO_Loop(uv_poll_t* handle, int status, int events);
^
../src/nwm/nwm_node.cc:12:41: error: expected primary-expression before ‘int’
static void EIO_Loop(uv_poll_t* handle, int status, int events);
^
../src/nwm/nwm_node.cc:12:53: error: expected primary-expression before ‘int’
static void EIO_Loop(uv_poll_t* handle, int status, int events);
^
../src/nwm/nwm_node.cc:18:39: error: ‘Arguments’ does not name a type
static Handle<Value> OnCallback(const Arguments& args) {
^
../src/nwm/nwm_node.cc:18:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> OnCallback(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> OnCallback(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:19:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:22:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("addMonitor"),
^
../src/nwm/nwm_node.cc:23:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("updateMonitor"),
^
../src/nwm/nwm_node.cc:24:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("removeMonitor"),
^
../src/nwm/nwm_node.cc:25:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("addWindow"),
^
../src/nwm/nwm_node.cc:26:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("updateWindow"),
^
../src/nwm/nwm_node.cc:27:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("removeWindow"),
^
../src/nwm/nwm_node.cc:28:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("rearrange"),
^
../src/nwm/nwm_node.cc:29:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("mouseDown"),
^
../src/nwm/nwm_node.cc:30:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("mouseDrag"),
^
../src/nwm/nwm_node.cc:31:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("configureRequest"),
^
../src/nwm/nwm_node.cc:32:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("keyPress"),
^
../src/nwm/nwm_node.cc:33:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("enterNotify"),
^
../src/nwm/nwm_node.cc:34:7: error: ‘New’ is not a member of ‘v8::String’
v8::String::New("fullscreen")
^
../src/nwm/nwm_node.cc:37:63: error: invalid types ‘const int[int]’ for array subscript
v8::Local<v8::String> value = Local<v8::String>::Cast(args[0]);
^
../src/nwm/nwm_node.cc:40:17: error: ‘AsciiValue’ is not a member of ‘v8::String’
if( strcmp(*v8::String::AsciiValue(value), *v8::String::AsciiValue(map[i])) == 0 ) {
^
../src/nwm/nwm_node.cc:40:50: error: ‘AsciiValue’ is not a member of ‘v8::String’
if( strcmp(*v8::String::AsciiValue(value), *v8::String::AsciiValue(map[i])) == 0 ) {
^
../src/nwm/nwm_node.cc:46:22: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc:49:42: error: invalid types ‘const int[int]’ for array subscript
callbacks[selected] = cb_persist(args[1]);
^
../src/nwm/nwm_node.cc:49:43: error: ‘cb_persist’ was not declared in this scope
callbacks[selected] = cb_persist(args[1]);
^
../src/nwm/nwm_node.cc:51:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: In function ‘void Emit(callback_map, void*)’:
../src/nwm/nwm_node.cc:60:33: error: no matching function for call to ‘v8::Object::New()’
Local<Object> o = Object::New();
^
../src/nwm/nwm_node.cc:60:33: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
static Local<Object> New(Isolate* isolate);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:67:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:67:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:67:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:68:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:68:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:68:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:69:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:69:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:69:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:70:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(width, e->width);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:70:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(width, e->width);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:70:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(width, e->width);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:71:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(height, e->height);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:71:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(height, e->height);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:71:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(height, e->height);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:78:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:78:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:78:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:79:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:79:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:79:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:80:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:80:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:80:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:81:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(width, e->width);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:81:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(width, e->width);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:81:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(width, e->width);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:82:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(height, e->height);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:82:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(height, e->height);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:82:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(height, e->height);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:83:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(isfloating, e->isfloating);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:83:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(isfloating, e->isfloating);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:83:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(isfloating, e->isfloating);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:89:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:89:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:89:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:95:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:95:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:95:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:96:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("title"), String::New(e->title));
^
../src/nwm/nwm_node.cc:96:44: error: ‘New’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("title"), String::New(e->title));
^
../src/nwm/nwm_node.cc:97:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("instance"), String::New(e->instance));
^
../src/nwm/nwm_node.cc:97:47: error: ‘New’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("instance"), String::New(e->instance));
^
../src/nwm/nwm_node.cc:98:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("class"), String::New(e->klass));
^
../src/nwm/nwm_node.cc:98:44: error: ‘New’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("class"), String::New(e->klass));
^
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:108:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->window);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(Window&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:108:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->window);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:108:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->window);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:109:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:109:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:109:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:110:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:110:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:110:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:111:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(button, e->button);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(unsigned int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:111:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(button, e->button);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:111:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(button, e->button);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:112:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(state, e->state);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(unsigned int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:112:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(state, e->state);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:112:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(state, e->state);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:118:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(Window&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:118:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:118:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(id, e->id);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:119:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:119:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:119:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:120:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:120:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:120:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:121:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(move_y, e->move_y);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:121:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(move_y, e->move_y);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:121:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(move_y, e->move_y);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:122:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(move_x, e->move_x);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:122:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(move_x, e->move_x);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:122:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(move_x, e->move_x);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:128:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("id"), Integer::New(e->window));
^
../src/nwm/nwm_node.cc:128:63: error: no matching function for call to ‘v8::Integer::New(Window&)’
o->Set(String::NewSymbol("id"), Integer::New(e->window));
^
../src/nwm/nwm_node.cc:128:63: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:129:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("x"), Integer::New(e->x));
^
../src/nwm/nwm_node.cc:129:57: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("x"), Integer::New(e->x));
^
../src/nwm/nwm_node.cc:129:57: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:130:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("y"), Integer::New(e->y));
^
../src/nwm/nwm_node.cc:130:57: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("y"), Integer::New(e->y));
^
../src/nwm/nwm_node.cc:130:57: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:131:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("width"), Integer::New(e->width));
^
../src/nwm/nwm_node.cc:131:65: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("width"), Integer::New(e->width));
^
../src/nwm/nwm_node.cc:131:65: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:132:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("height"), Integer::New(e->height));
^
../src/nwm/nwm_node.cc:132:67: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("height"), Integer::New(e->height));
^
../src/nwm/nwm_node.cc:132:67: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:133:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("above"), Integer::New(e->above));
^
../src/nwm/nwm_node.cc:133:65: error: no matching function for call to ‘v8::Integer::New(Window&)’
o->Set(String::NewSymbol("above"), Integer::New(e->above));
^
../src/nwm/nwm_node.cc:133:65: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:134:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("detail"), Integer::New(e->detail));
^
../src/nwm/nwm_node.cc:134:67: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("detail"), Integer::New(e->detail));
^
../src/nwm/nwm_node.cc:134:67: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:135:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("value_mask"), Integer::New(e->value_mask));
^
../src/nwm/nwm_node.cc:135:75: error: no matching function for call to ‘v8::Integer::New(long unsigned int&)’
o->Set(String::NewSymbol("value_mask"), Integer::New(e->value_mask));
^
../src/nwm/nwm_node.cc:135:75: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:141:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:141:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:141:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(x, e->x);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:142:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:142:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:142:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(y, e->y);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:143:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(keysym, e->keysym);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(KeySym&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:143:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(keysym, e->keysym);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:143:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(keysym, e->keysym);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:144:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(keycode, e->keycode);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(unsigned int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:144:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(keycode, e->keycode);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:144:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(keycode, e->keycode);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:55:12: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:145:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(modifier, e->modifier);
^
../src/nwm/nwm_node.cc:55:56: error: no matching function for call to ‘v8::Integer::New(unsigned int&)’
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:145:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(modifier, e->modifier);
^
../src/nwm/nwm_node.cc:55:56: note: candidate is:
o->Set(String::NewSymbol(#name), Integer::New(value))
^
../src/nwm/nwm_node.cc:145:9: note: in expansion of macro ‘INT_FIELD’
INT_FIELD(modifier, e->modifier);
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:153:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("id"), Integer::New(e->window));
^
../src/nwm/nwm_node.cc:153:63: error: no matching function for call to ‘v8::Integer::New(Window&)’
o->Set(String::NewSymbol("id"), Integer::New(e->window));
^
../src/nwm/nwm_node.cc:153:63: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:154:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("x"), Integer::New(e->x));
^
../src/nwm/nwm_node.cc:154:57: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("x"), Integer::New(e->x));
^
../src/nwm/nwm_node.cc:154:57: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:155:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("y"), Integer::New(e->y));
^
../src/nwm/nwm_node.cc:155:57: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("y"), Integer::New(e->y));
^
../src/nwm/nwm_node.cc:155:57: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:156:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("x_root"), Integer::New(e->x_root));
^
../src/nwm/nwm_node.cc:156:67: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("x_root"), Integer::New(e->x_root));
^
../src/nwm/nwm_node.cc:156:67: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:157:16: error: ‘NewSymbol’ is not a member of ‘v8::String’
o->Set(String::NewSymbol("y_root"), Integer::New(e->y_root));
^
../src/nwm/nwm_node.cc:157:67: error: no matching function for call to ‘v8::Integer::New(int&)’
o->Set(String::NewSymbol("y_root"), Integer::New(e->y_root));
^
../src/nwm/nwm_node.cc:157:67: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
static Local<Integer> New(Isolate* isolate, int32_t value);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:2012:25: note: candidate expects 2 arguments, 1 provided
../src/nwm/nwm_node.cc:169:60: error: ‘cb_unwrap’ was not declared in this scope
Handle<Function> *callback = cb_unwrap(callbacks[event]);
^
../src/nwm/nwm_node.cc:170:23: error: ‘GetCurrent’ is not a member of ‘v8::Context’
(*callback)->Call(Context::GetCurrent()->Global(), 1, argv);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:177:40: error: ‘Arguments’ does not name a type
static Handle<Value> SetGrabKeys(const Arguments& args) {
^
../src/nwm/nwm_node.cc:177:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> SetGrabKeys(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> SetGrabKeys(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:178:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:181:59: error: invalid types ‘const int[int]’ for array subscript
v8::Local<v8::Array> arr = Local<v8::Array>::Cast(args[0]);
^
../src/nwm/nwm_node.cc:187:23: error: ‘NewSymbol’ is not a member of ‘v8::String’
keysym = obj->Get(String::NewSymbol("key"));
^
../src/nwm/nwm_node.cc:188:25: error: ‘NewSymbol’ is not a member of ‘v8::String’
modifier = obj->Get(String::NewSymbol("modifier"));
^
../src/nwm/nwm_node.cc:191:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:194:34: error: ‘Arguments’ does not name a type
static Handle<Value> Start(const Arguments& args) {
^
../src/nwm/nwm_node.cc:194:45: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> Start(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> Start(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:195:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:202:3: error: ‘uv_poll_t’ was not declared in this scope
uv_poll_t* handle = new uv_poll_t;
^
../src/nwm/nwm_node.cc:202:14: error: ‘handle’ was not declared in this scope
uv_poll_t* handle = new uv_poll_t;
^
../src/nwm/nwm_node.cc:202:27: error: expected type-specifier before ‘uv_poll_t’
uv_poll_t* handle = new uv_poll_t;
^
../src/nwm/nwm_node.cc:202:27: error: expected ‘;’ before ‘uv_poll_t’
../src/nwm/nwm_node.cc:203:32: error: ‘uv_default_loop’ was not declared in this scope
uv_poll_init(uv_default_loop(), handle, fd);
^
../src/nwm/nwm_node.cc:203:45: error: ‘uv_poll_init’ was not declared in this scope
uv_poll_init(uv_default_loop(), handle, fd);
^
../src/nwm/nwm_node.cc:204:25: error: ‘UV_READABLE’ was not declared in this scope
uv_poll_start(handle, UV_READABLE, EIO_Loop);
^
../src/nwm/nwm_node.cc:204:38: error: ‘EIO_Loop’ was not declared in this scope
uv_poll_start(handle, UV_READABLE, EIO_Loop);
^
../src/nwm/nwm_node.cc:204:46: error: ‘uv_poll_start’ was not declared in this scope
uv_poll_start(handle, UV_READABLE, EIO_Loop);
^
../src/nwm/nwm_node.cc:206:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:209:22: error: variable or field ‘EIO_Loop’ declared void
static void EIO_Loop(uv_poll_t* handle, int status, int events) {
^
../src/nwm/nwm_node.cc:209:22: error: ‘uv_poll_t’ was not declared in this scope
../src/nwm/nwm_node.cc:209:33: error: ‘handle’ was not declared in this scope
static void EIO_Loop(uv_poll_t* handle, int status, int events) {
^
../src/nwm/nwm_node.cc:209:41: error: expected primary-expression before ‘int’
static void EIO_Loop(uv_poll_t* handle, int status, int events) {
^
../src/nwm/nwm_node.cc:209:53: error: expected primary-expression before ‘int’
static void EIO_Loop(uv_poll_t* handle, int status, int events) {
^
../src/nwm/nwm_node.cc:213:41: error: ‘Arguments’ does not name a type
static Handle<Value> ResizeWindow(const Arguments& args) {
^
../src/nwm/nwm_node.cc:213:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> ResizeWindow(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> ResizeWindow(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:214:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:215:27: error: invalid types ‘const int[int]’ for array subscript
nwm_resize_window(args[0]->Uint32Value(), args[1]->IntegerValue(), args[2]->IntegerValue());
^
../src/nwm/nwm_node.cc:215:51: error: invalid types ‘const int[int]’ for array subscript
nwm_resize_window(args[0]->Uint32Value(), args[1]->IntegerValue(), args[2]->IntegerValue());
^
../src/nwm/nwm_node.cc:215:76: error: invalid types ‘const int[int]’ for array subscript
nwm_resize_window(args[0]->Uint32Value(), args[1]->IntegerValue(), args[2]->IntegerValue());
^
../src/nwm/nwm_node.cc:216:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:219:39: error: ‘Arguments’ does not name a type
static Handle<Value> MoveWindow(const Arguments& args) {
^
../src/nwm/nwm_node.cc:219:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> MoveWindow(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> MoveWindow(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:220:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:221:25: error: invalid types ‘const int[int]’ for array subscript
nwm_move_window(args[0]->Uint32Value(), args[1]->IntegerValue(), args[2]->IntegerValue());
^
../src/nwm/nwm_node.cc:221:49: error: invalid types ‘const int[int]’ for array subscript
nwm_move_window(args[0]->Uint32Value(), args[1]->IntegerValue(), args[2]->IntegerValue());
^
../src/nwm/nwm_node.cc:221:74: error: invalid types ‘const int[int]’ for array subscript
nwm_move_window(args[0]->Uint32Value(), args[1]->IntegerValue(), args[2]->IntegerValue());
^
../src/nwm/nwm_node.cc:222:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:225:40: error: ‘Arguments’ does not name a type
static Handle<Value> FocusWindow(const Arguments& args) {
^
../src/nwm/nwm_node.cc:225:51: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> FocusWindow(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> FocusWindow(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:226:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:227:26: error: invalid types ‘const int[int]’ for array subscript
nwm_focus_window(args[0]->Uint32Value());
^
../src/nwm/nwm_node.cc:228:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:231:39: error: ‘Arguments’ does not name a type
static Handle<Value> KillWindow(const Arguments& args) {
^
../src/nwm/nwm_node.cc:231:50: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> KillWindow(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> KillWindow(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:232:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:233:25: error: invalid types ‘const int[int]’ for array subscript
nwm_kill_window(args[0]->Uint32Value());
^
../src/nwm/nwm_node.cc:234:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:237:44: error: ‘Arguments’ does not name a type
static Handle<Value> ConfigureWindow(const Arguments& args) {
^
../src/nwm/nwm_node.cc:237:55: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> ConfigureWindow(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> ConfigureWindow(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:238:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:239:30: error: invalid types ‘const int[int]’ for array subscript
nwm_configure_window(args[0]->Uint32Value(), args[1]->IntegerValue(),
^
../src/nwm/nwm_node.cc:239:54: error: invalid types ‘const int[int]’ for array subscript
nwm_configure_window(args[0]->Uint32Value(), args[1]->IntegerValue(),
^
../src/nwm/nwm_node.cc:240:11: error: invalid types ‘const int[int]’ for array subscript
args[2]->IntegerValue(), args[3]->IntegerValue(), args[4]->IntegerValue(),
^
../src/nwm/nwm_node.cc:240:36: error: invalid types ‘const int[int]’ for array subscript
args[2]->IntegerValue(), args[3]->IntegerValue(), args[4]->IntegerValue(),
^
../src/nwm/nwm_node.cc:240:61: error: invalid types ‘const int[int]’ for array subscript
args[2]->IntegerValue(), args[3]->IntegerValue(), args[4]->IntegerValue(),
^
../src/nwm/nwm_node.cc:241:11: error: invalid types ‘const int[int]’ for array subscript
args[5]->IntegerValue(), args[6]->IntegerValue(), args[7]->IntegerValue(),
^
../src/nwm/nwm_node.cc:241:36: error: invalid types ‘const int[int]’ for array subscript
args[5]->IntegerValue(), args[6]->IntegerValue(), args[7]->IntegerValue(),
^
../src/nwm/nwm_node.cc:241:61: error: invalid types ‘const int[int]’ for array subscript
args[5]->IntegerValue(), args[6]->IntegerValue(), args[7]->IntegerValue(),
^
../src/nwm/nwm_node.cc:242:11: error: invalid types ‘const int[int]’ for array subscript
args[8]->IntegerValue());
^
../src/nwm/nwm_node.cc:243:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
../src/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:246:41: error: ‘Arguments’ does not name a type
static Handle<Value> NotifyWindow(const Arguments& args) {
^
../src/nwm/nwm_node.cc:246:52: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static Handle<Value> NotifyWindow(const Arguments& args) {
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> NotifyWindow(const int&)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:247:15: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:248:27: error: invalid types ‘const int[int]’ for array subscript
nwm_notify_window(args[0]->Uint32Value(), args[1]->IntegerValue(),
^
../src/nwm/nwm_node.cc:248:51: error: invalid types ‘const int[int]’ for array subscript
nwm_notify_window(args[0]->Uint32Value(), args[1]->IntegerValue(),
^
../src/nwm/nwm_node.cc:249:11: error: invalid types ‘const int[int]’ for array subscript
args[2]->IntegerValue(), args[3]->IntegerValue(), args[4]->IntegerValue(),
^
../src/nwm/nwm_node.cc:249:36: error: invalid types ‘const int[int]’ for array subscript
args[2]->IntegerValue(), args[3]->IntegerValue(), args[4]->IntegerValue(),
^
../src/nwm/nwm_node.cc:249:61: error: invalid types ‘const int[int]’ for array subscript
args[2]->IntegerValue(), args[3]->IntegerValue(), args[4]->IntegerValue(),
^
../src/nwm/nwm_node.cc:250:11: error: invalid types ‘const int[int]’ for array subscript
args[5]->IntegerValue(), args[6]->IntegerValue(), args[7]->IntegerValue(),
^
../src/nwm/nwm_node.cc:250:36: error: invalid types ‘const int[int]’ for array subscript
args[5]->IntegerValue(), args[6]->IntegerValue(), args[7]->IntegerValue(),
^
../src/nwm/nwm_node.cc:250:61: error: invalid types ‘const int[int]’ for array subscript
args[5]->IntegerValue(), args[6]->IntegerValue(), args[7]->IntegerValue(),
^
../src/nwm/nwm_node.cc:251:11: error: invalid types ‘const int[int]’ for array subscript
args[8]->IntegerValue());
^
../src/nwm/nwm_node.cc:252:20: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
return Undefined();
^
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:305:28: note: declared here
friend Handle<Primitive> Undefined(Isolate* isolate);
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h: In function ‘void init(v8::Handle<v8::Object>)’:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/nwm/nwm_node.cc:257:17: error: within this context
HandleScope scope;
^
../src/nwm/nwm_node.cc:263:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("on"), FunctionTemplate::New(OnCallback)->GetFunction());
^
../src/nwm/nwm_node.cc:263:68: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("on"), FunctionTemplate::New(OnCallback)->GetFunction());
^
../src/nwm/nwm_node.cc:263:68: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:265:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("moveWindow"), FunctionTemplate::New(MoveWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:265:76: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("moveWindow"), FunctionTemplate::New(MoveWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:265:76: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:266:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("resizeWindow"), FunctionTemplate::New(ResizeWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:266:80: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("resizeWindow"), FunctionTemplate::New(ResizeWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:266:80: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:267:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("focusWindow"), FunctionTemplate::New(FocusWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:267:78: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("focusWindow"), FunctionTemplate::New(FocusWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:267:78: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:268:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("killWindow"), FunctionTemplate::New(KillWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:268:76: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("killWindow"), FunctionTemplate::New(KillWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:268:76: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:269:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("configureWindow"), FunctionTemplate::New(ConfigureWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:269:86: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("configureWindow"), FunctionTemplate::New(ConfigureWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:269:86: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:270:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("notifyWindow"), FunctionTemplate::New(NotifyWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:270:80: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("notifyWindow"), FunctionTemplate::New(NotifyWindow)->GetFunction());
^
../src/nwm/nwm_node.cc:270:80: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc:272:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("start"), FunctionTemplate::New(Start)->GetFunction());
^
../src/nwm/nwm_node.cc:272:66: error: no matching function for call to ‘v8::FunctionTemplate::New(<unresolved overloaded function type>)’
target->Set(String::New("start"), FunctionTemplate::New(Start)->GetFunction());
^
../src/nwm/nwm_node.cc:272:66: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘v8::Isolate*’
../src/nwm/nwm_node.cc:273:17: error: ‘New’ is not a member of ‘v8::String’
target->Set(String::New("keys"), FunctionTemplate::New(SetGrabKeys)->GetFunction());
^
../src/nwm/nwm_node.cc:273:71: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
target->Set(String::New("keys"), FunctionTemplate::New(SetGrabKeys)->GetFunction());
^
../src/nwm/nwm_node.cc:273:71: note: candidate is:
In file included from ../src/nwm/nwm_node.cc:1:0:
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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(
^
/usr/local/lib/node_modules/nwm/.node-gyp/0.12.7/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/nwm/nwm_node.cc: At global scope:
../src/nwm/nwm_node.cc:194:22: warning: ‘v8::Handle<v8::Value> Start(const int&)’ defined but not used [-Wunused-function]
static Handle<Value> Start(const Arguments& args) {
^
nwm.target.mk:88: recipe for target 'Release/obj.target/nwm/src/nwm/nwm_node.o' failed
make: *** [Release/obj.target/nwm/src/nwm/nwm_node.o] Error 1
make: Leaving directory '/usr/local/lib/node_modules/nwm/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.16.7-21-desktop
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/nwm
gyp ERR! node -v v0.12.7
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok
npm ERR! Linux 3.16.7-21-desktop
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "nwm"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code ELIFECYCLE
npm ERR! nwm@1.2.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nwm@1.2.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the nwm package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls nwm
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/fusl/npm-debug.log
I'm not sure if I'm doing something wrong or if this is an nwm issue: