-
Notifications
You must be signed in to change notification settings - Fork 61
cannot install memwatch-next for node v8.x #40
Description
Getting errors while install memwatch-next for node version > v8.x as it runs node-gyp rebuild
[email protected] install /home/aman/builtio/excel-adaptors/node_modules/memwatch-next
node-gyp rebuild
make: Entering directory '/home/aman/builtio/excel-adaptors/node_modules/memwatch-next/build'
CXX(target) Release/obj.target/memwatch/src/heapdiff.o
CXX(target) Release/obj.target/memwatch/src/init.o
../src/init.cc: In function ‘void init(v8::Handlev8::Object)’:
../src/init.cc:20:17: warning: ‘static void v8::V8::AddGCEpilogueCallback(v8::GCCallback, v8::GCType)’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
In file included from /home/aman/.node-gyp/8.11.1/include/node/v8.h:26:0,
from ../src/init.cc:5:
/home/aman/.node-gyp/8.11.1/include/node/v8.h:7901:12: note: declared here
void AddGCEpilogueCallback(GCCallback callback,
^
/home/aman/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/init.cc:20:57: warning: ‘static void v8::V8::AddGCEpilogueCallback(v8::GCCallback, v8::GCType)’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::V8::AddGCEpilogueCallback(memwatch::after_gc);
^
In file included from /home/aman/.node-gyp/8.11.1/include/node/v8.h:26:0,
from ../src/init.cc:5:
/home/aman/.node-gyp/8.11.1/include/node/v8.h:7901:12: note: declared here
void AddGCEpilogueCallback(GCCallback callback,
^
/home/aman/.node-gyp/8.11.1/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
CXX(target) Release/obj.target/memwatch/src/memwatch.o
../src/memwatch.cc: In function ‘void AsyncMemwatchAfter(uv_work_t*)’:
../src/memwatch.cc:128:35: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
g_cb->Call(3, argv);
^
In file included from ../src/memwatch.hh:9:0,
from ../src/memwatch.cc:6:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^
../src/memwatch.cc:203:31: warning: ‘v8::Localv8::Value Nan::Callback::Call(int, v8::Localv8::Value) const’ is deprecated [-Wdeprecated-declarations]
g_cb->Call(3, argv);
^
In file included from ../src/memwatch.hh:9:0,
from ../src/memwatch.cc:6:
../../nan/nan.h:1618:3: note: declared here
Call(int argc, v8::Localv8::Value argv[]) const {
^
CXX(target) Release/obj.target/memwatch/src/util.o
SOLINK_MODULE(target) Release/obj.target/memwatch.node
COPY Release/memwatch.node