Skip to content

Memwatch failed to build with node v0.11.16 #59

@jeremieca

Description

@jeremieca

Hello,

All the problem is describe in title !

Thanks !

  > memwatch@0.2.2 install        /Volumes/DataHD/.../project/node_modules/memwatch
 > node-gyp rebuild

 child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/memwatch/src/heapdiff.o
  In file included from ../src/heapdiff.cc:5:
 ../src/heapdiff.hh:14:35: error: expected class name
     class HeapDiff : public node::ObjectWrap
                              ^
 ../src/heapdiff.hh:19:49: error: no type named 'Arguments' in namespace 'v8'; did you mean      'v8::internal::Arguments'?
         static v8::Handle<v8::Value> New( const v8::Arguments& args );
                                                 ^~~~~~~~~~~~~
                                            v8::internal::Arguments
       /Users/jeremieca/.node-gyp/0.11.16/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments'      declared here
 class Arguments;
          ^
 In file included from ../src/heapdiff.cc:5:
  ../src/heapdiff.hh:20:49: error: no type named 'Arguments' in namespace 'v8'; did you mean      'v8::internal::Arguments'?
         static v8::Handle<v8::Value> End( const v8::Arguments& args );
                                                 ^~~~~~~~~~~~~
                                            v8::internal::Arguments
 /Users/jeremieca/.node-gyp/0.11.16/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
 class Arguments;
         ^
 ../src/heapdiff.cc:30:34: error: member initializer 'ObjectWrap' does not name a non-static data member or base class
  heapdiff::HeapDiff::HeapDiff() : ObjectWrap(), before(NULL), after(NULL),
                                   ^~~~~~~~~~~~
 ../src/heapdiff.cc:51:21: error: calling a protected constructor of class 'v8::HandleScope'
v8::HandleScope scope;
                       ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions