libuv and node


SUBMITTED BY: Guest

DATE: Jan. 18, 2015, 1:14 p.m.

FORMAT: Text only

SIZE: 5.5 kB

HITS: 1496

  1. 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
  2. In file included from /boot/system/develop/headers/x86/uv.h:48:0,
  3. from ../src/node.h:61,
  4. from ../src/fs_event_wrap.cc:22:
  5. /boot/system/develop/headers/x86/uv.h:173:3: error: overflow in constant expression [-fpermissive]
  6. UV_ERRNO_MAP(XX)
  7. ^
  8. /boot/system/develop/headers/x86/uv.h:173:3: error: enumerator value for 'UV_ENOMEM' is not an integer constant
  9. In file included from ../src/node.h:67:0,
  10. from ../src/fs_event_wrap.cc:22:
  11. ../src/node_object_wrap.h: In destructor 'virtual node::ObjectWrap::~ObjectWrap()':
  12. ../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]
  13. handle_->SetPointerInInternalField(0, 0);
  14. ^
  15. ../src/node_object_wrap.h: In member function 'void node::ObjectWrap::Wrap(v8::Handle<v8::Object>)':
  16. ../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]
  17. handle_->SetPointerInInternalField(0, this);
  18. ^
  19. In file included from ../src/fs_event_wrap.cc:22:0:
  20. ../src/node.h: At global scope:
  21. ../src/node.h:150:46: error: 'uv_statbuf_t' does not name a type
  22. v8::Local<v8::Object> BuildStatsObject(const uv_statbuf_t* s);
  23. ^
  24. ../src/node.h:150:60: error: ISO C++ forbids declaration of 's' with no type [-fpermissive]
  25. v8::Local<v8::Object> BuildStatsObject(const uv_statbuf_t* s);
  26. ^
  27. ../src/node.h:252:27: error: variable or field 'SetErrno' declared void
  28. NODE_EXTERN void SetErrno(uv_err_t err);
  29. ^
  30. ../src/node.h:252:27: error: 'uv_err_t' was not declared in this scope
  31. In file included from ../src/node.h:70:0,
  32. from ../src/fs_event_wrap.cc:22:
  33. ../src/fs_event_wrap.cc: In static member function 'static v8::Handle<v8::Value> node::FSEventWrap::Start(const v8::Arguments&)':
  34. ../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]
  35. args.Holder()->GetPointerFromInternalField(0)); \
  36. ^
  37. ../src/fs_event_wrap.cc:95:3: note: in expansion of macro 'UNWRAP'
  38. UNWRAP(FSEventWrap)
  39. ^
  40. ../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*)'
  41. int r = uv_fs_event_init(uv_default_loop(), &wrap->handle_, *path, OnEvent, 0);
  42. ^
  43. In file included from ../src/node.h:61:0,
  44. from ../src/fs_event_wrap.cc:22:
  45. /boot/system/develop/headers/x86/uv.h:1313:15: note: declared here
  46. UV_EXTERN int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle);
  47. ^
  48. ../src/fs_event_wrap.cc:111:45: error: 'uv_last_error' was not declared in this scope
  49. SetErrno(uv_last_error(uv_default_loop()));
  50. ^
  51. ../src/fs_event_wrap.cc:111:46: error: 'SetErrno' was not declared in this scope
  52. SetErrno(uv_last_error(uv_default_loop()));
  53. ^
  54. ../src/fs_event_wrap.cc: In static member function 'static void node::FSEventWrap::OnEvent(uv_fs_event_t*, const char*, int, int)':
  55. ../src/fs_event_wrap.cc:139:45: error: 'uv_last_error' was not declared in this scope
  56. SetErrno(uv_last_error(uv_default_loop()));
  57. ^
  58. ../src/fs_event_wrap.cc:139:46: error: 'SetErrno' was not declared in this scope
  59. SetErrno(uv_last_error(uv_default_loop()));
  60. ^
  61. ../src/fs_event_wrap.cc: In static member function 'static v8::Handle<v8::Value> node::FSEventWrap::Close(const v8::Arguments&)':
  62. ../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]
  63. void* ptr = args.Holder()->GetPointerFromInternalField(0);

comments powered by Disqus