g++ '-DNODE_WANT_INTERNALS=1' '-DARCH="ia32"' '-DPLATFORM="linux"' '-DNODE_TAG=""' '-DHAVE_OPENSSL=1' '-D__POSIX__' -I/packages/node_x86-0.10.35-1/devel~libv8_x86/develop/headers/x86/v8 -I../src -I../tools/msvs/genfiles -I../deps/uv/src/ares -I/sources/node-v0.10.35/out/Release/obj/gen -I../deps/http_parser -I../deps/cares/include -I/packages/openssl_x86-1.0.0p-1/.self/develop/headers/x86 -Wall -Wextra -Wno-unused-parameter -m32 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-omit-frame-pointer -fno-rtti -fno-exceptions -MMD -MF /sources/node-v0.10.35/out/Release/.deps//sources/node-v0.10.35/out/Release/obj.target/node/src/fs_event_wrap.o.d.raw -c -o /sources/node-v0.10.35/out/Release/obj.target/node/src/fs_event_wrap.o ../src/fs_event_wrap.cc
In file included from /boot/system/develop/headers/x86/uv.h:48:0,
from ../src/node.h:61,
from ../src/fs_event_wrap.cc:22:
/boot/system/develop/headers/x86/uv.h:173:3: error: overflow in constant expression [-fpermissive]
UV_ERRNO_MAP(XX)
^
/boot/system/develop/headers/x86/uv.h:173:3: error: enumerator value for 'UV_ENOMEM' is not an integer constant
In file included from ../src/node.h:67:0,
from ../src/fs_event_wrap.cc:22:
../src/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()':
../src/node_object_wrap.h:51:46: warning: 'void v8::Object::SetPointerInInternalField(int, void*)' is deprecated (declared at /packages/node_x86-0.10.35-1/devel~libv8_x86/develop/headers/x86/v8/v8.h:4526) [-Wdeprecated-declarations]
handle_->SetPointerInInternalField(0, 0);
^
../src/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)':
../src/node_object_wrap.h:73:47: warning: 'void v8::Object::SetPointerInInternalField(int, void*)' is deprecated (declared at /packages/node_x86-0.10.35-1/devel~libv8_x86/develop/headers/x86/v8/v8.h:4526) [-Wdeprecated-declarations]
handle_->SetPointerInInternalField(0, this);
^
In file included from ../src/fs_event_wrap.cc:22:0:
../src/node.h: At global scope:
../src/node.h:150:46: error: 'uv_statbuf_t' does not name a type
v8::Local<v8::Object> BuildStatsObject(const uv_statbuf_t* s);
^
../src/node.h:150:60: error: ISO C++ forbids declaration of 's' with no type [-fpermissive]
v8::Local<v8::Object> BuildStatsObject(const uv_statbuf_t* s);
^
../src/node.h:252:27: error: variable or field 'SetErrno' declared void
NODE_EXTERN void SetErrno(uv_err_t err);
^
../src/node.h:252:27: error: 'uv_err_t' was not declared in this scope
In file included from ../src/node.h:70:0,
from ../src/fs_event_wrap.cc:22:
../src/fs_event_wrap.cc: In static member function 'static v8::Handle<v8::Value> node::FSEventWrap::Start(const v8::Arguments&)':
../src/node_internals.h:102:51: warning: 'void* v8::Object::GetPointerFromInternalField(int)' is deprecated (declared at /packages/node_x86-0.10.35-1/devel~libv8_x86/develop/headers/x86/v8/v8.h:1637) [-Wdeprecated-declarations]
args.Holder()->GetPointerFromInternalField(0)); \
^
../src/fs_event_wrap.cc:95:3: note: in expansion of macro 'UNWRAP'
UNWRAP(FSEventWrap)
^
../src/fs_event_wrap.cc:103:80: error: too many arguments to function 'int uv_fs_event_init(uv_loop_t*, uv_fs_event_t*)'
int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent, 0);
^
In file included from ../src/node.h:61:0,
from ../src/fs_event_wrap.cc:22:
/boot/system/develop/headers/x86/uv.h:1313:15: note: declared here
UV_EXTERN int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle);
^
../src/fs_event_wrap.cc:111:45: error: 'uv_last_error' was not declared in this scope
SetErrno(uv_last_error(uv_default_loop()));
^
../src/fs_event_wrap.cc:111:46: error: 'SetErrno' was not declared in this scope
SetErrno(uv_last_error(uv_default_loop()));
^
../src/fs_event_wrap.cc: In static member function 'static void node::FSEventWrap::OnEvent(uv_fs_event_t*, const char*, int, int)':
../src/fs_event_wrap.cc:139:45: error: 'uv_last_error' was not declared in this scope
SetErrno(uv_last_error(uv_default_loop()));
^
../src/fs_event_wrap.cc:139:46: error: 'SetErrno' was not declared in this scope
SetErrno(uv_last_error(uv_default_loop()));
^
../src/fs_event_wrap.cc: In static member function 'static v8::Handle<v8::Value> node::FSEventWrap::Close(const v8::Arguments&)':
../src/fs_event_wrap.cc:176:59: warning: 'void* v8::Object::GetPointerFromInternalField(int)' is deprecated (declared at /packages/node_x86-0.10.35-1/devel~libv8_x86/develop/headers/x86/v8/v8.h:1637) [-Wdeprecated-declarations]
void* ptr = args.Holder()->GetPointerFromInternalField(0);