You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
’yarn global add ffi-generate‘ and ’yarn global add libclang‘
ERROR INFO error /usr/local/share/.config/yarn/global/node_modules/ref: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /usr/local/share/.config/yarn/global/node_modules/ref Output: gyp info it worked if it ends with ok gyp info using node-gyp@5.1.0 gyp info using node@12.18.0 | linux | x64 gyp info find Python using Python version 2.7.5 found at "/usr/bin/python" gyp info spawn /usr/bin/python gyp info spawn args [ gyp info spawn args '/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/usr/local/share/.config/yarn/global/node_modules/ref/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.cache/node-gyp/12.18.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/12.18.0', gyp info spawn args '-Dnode_gyp_dir=/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/12.18.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/usr/local/share/.config/yarn/global/node_modules/ref', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] make: Entering directory /usr/local/share/.config/yarn/global/node_modules/ref/build'
gyp info spawn make
CXX(target) Release/obj.target/binding/src/binding.o
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
../src/binding.cc:17:0: warning: "STDC_FORMAT_MACROS" redefined [enabled by default]
#define STDC_FORMAT_MACROS
^
:0:0: note: this is the location of the previous definition
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteObject(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:222:43: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool persistent = info[3]->BooleanValue();
^
../src/binding.cc:222:43: note: candidates are:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: bool v8::Value::BooleanValue(v8::Isolate*) const
bool BooleanValue(Isolate* isolate) const;
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.18.0/include/node/v8.h:27,
from /root/.cache/node-gyp/12.18.0/include/node/node.h:67,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note: v8::Maybe v8::Value::BooleanValue(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^
/root/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^
/root/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReadPointer(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:253:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
size_t size = info[2]->Uint32Value();
^
../src/binding.cc:253:38: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: v8::Maybe v8::Value::Uint32Value(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteInt64(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:360:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value&)’
String::Utf8Value str(in);
^
../src/binding.cc:360:30: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value)
Utf8Value(Isolate* isolate, Localv8::Value obj);
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteUInt64(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:447:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value&)’
String::Utf8Value str(in);
^
../src/binding.cc:447:30: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value)
Utf8Value(Isolate* isolate, Localv8::Value obj);
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReinterpretBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:521:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
size_t size = info[1]->Uint32Value();
^
../src/binding.cc:521:38: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: v8::Maybe v8::Value::Uint32Value(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReinterpretBufferUntilZeros(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:550:44: error: no matching function for call to ‘v8::Value::Uint32Value()’
uint32_t numZeros = info[1]->Uint32Value();
^
../src/binding.cc:550:44: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: v8::Maybe v8::Value::Uint32Value(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:582:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int8, int8_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:583:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint8, uint8_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:584:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int16, int16_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:585:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint16, uint16_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:586:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int32, int32_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:587:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint32, uint32_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:588:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int64, int64_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:589:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint64, uint64_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:590:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(float, float);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:591:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(double, double);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:593:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(bool, bool);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:594:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(byte, unsigned char);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:595:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(char, char);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:596:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uchar, unsigned char);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:597:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(short, short);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:598:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(ushort, unsigned short);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:599:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int, int);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:600:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint, unsigned int);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:601:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(long, long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:602:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(ulong, unsigned long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:603:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(longlong, long long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:604:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(ulonglong, unsigned long long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:605:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(pointer, char *);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:606:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(size_t, size_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:608:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(Object, Nan::Persistent);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:615:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int8, int8_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:616:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint8, uint8_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:617:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int16, int16_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:618:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint16, uint16_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:619:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int32, int32_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:620:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint32, uint32_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:621:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int64, int64_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:622:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint64, uint64_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:623:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(float, float);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:624:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(double, double);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:625:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(bool, bool);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:626:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(char, char);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:627:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uchar, unsigned char);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:628:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(short, short);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:629:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(ushort, unsigned short);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:630:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int, int);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:631:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint, unsigned int);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:632:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(long, long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:633:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(ulong, unsigned long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:634:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(longlong, long long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:635:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(ulonglong, unsigned long long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:636:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(pointer, char *);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:637:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(size_t, size_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:638:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(Object, Nan::Persistent);
^
../src/binding.cc:641:68: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
target->Set(Nan::Newv8::String("sizeof").ToLocalChecked(), smap);
^
../src/binding.cc:642:69: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
target->Set(Nan::Newv8::String("alignof").ToLocalChecked(), amap);
^
../src/binding.cc:643:8: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("endianness").ToLocalChecked(), Nan::Newv8::String(CheckEndianness()).ToLocalChecked(), static_cast(ReadOnly|DontDelete));
^
../src/binding.cc:643:187: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("endianness").ToLocalChecked(), Nan::Newv8::String(CheckEndianness()).ToLocalChecked(), static_cast(ReadOnly|DontDelete));
^
../src/binding.cc:644:8: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("NULL").ToLocalChecked(), WrapNullPointer(), static_cast(ReadOnly|DontDelete));
^
../src/binding.cc:644:142: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("NULL").ToLocalChecked(), WrapNullPointer(), static_cast(ReadOnly|DontDelete));
^
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory /usr/local/share/.config/yarn/global/node_modules/ref/build' gyp ERR! build error gyp ERR! stack Error: makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 3.10.0-1127.el7.x86_64 gyp ERR! command "/root/.nvm/versions/node/v12.18.0/bin/node" "/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/share/.config/yarn/global/node_modules/ref gyp ERR! node -v v12.18.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok
The text was updated successfully, but these errors were encountered:
’yarn global add ffi-generate‘ and ’yarn global add libclang‘
ERROR INFO
error /usr/local/share/.config/yarn/global/node_modules/ref: Command failed. Exit code: 1 Command: node-gyp rebuild Arguments: Directory: /usr/local/share/.config/yarn/global/node_modules/ref Output: gyp info it worked if it ends with ok gyp info using node-gyp@5.1.0 gyp info using node@12.18.0 | linux | x64 gyp info find Python using Python version 2.7.5 found at "/usr/bin/python" gyp info spawn /usr/bin/python gyp info spawn args [ gyp info spawn args '/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args 'binding.gyp', gyp info spawn args '-f', gyp info spawn args 'make', gyp info spawn args '-I', gyp info spawn args '/usr/local/share/.config/yarn/global/node_modules/ref/build/config.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi', gyp info spawn args '-I', gyp info spawn args '/root/.cache/node-gyp/12.18.0/include/node/common.gypi', gyp info spawn args '-Dlibrary=shared_library', gyp info spawn args '-Dvisibility=default', gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/12.18.0', gyp info spawn args '-Dnode_gyp_dir=/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp', gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/12.18.0/<(target_arch)/node.lib', gyp info spawn args '-Dmodule_root_dir=/usr/local/share/.config/yarn/global/node_modules/ref', gyp info spawn args '-Dnode_engine=v8', gyp info spawn args '--depth=.', gyp info spawn args '--no-parallel', gyp info spawn args '--generator-output', gyp info spawn args 'build', gyp info spawn args '-Goutput_dir=.' gyp info spawn args ] make: Entering directory
/usr/local/share/.config/yarn/global/node_modules/ref/build'gyp info spawn make
CXX(target) Release/obj.target/binding/src/binding.o
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
../src/binding.cc:17:0: warning: "STDC_FORMAT_MACROS" redefined [enabled by default]
#define STDC_FORMAT_MACROS
^
:0:0: note: this is the location of the previous definition
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteObject(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:222:43: error: no matching function for call to ‘v8::Value::BooleanValue()’
bool persistent = info[3]->BooleanValue();
^
../src/binding.cc:222:43: note: candidates are:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: bool v8::Value::BooleanValue(v8::Isolate*) const
bool BooleanValue(Isolate* isolate) const;
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2699:8: note: candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.18.0/include/node/v8-internal.h:14:0,
from /root/.cache/node-gyp/12.18.0/include/node/v8.h:27,
from /root/.cache/node-gyp/12.18.0/include/node/node.h:67,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note: v8::Maybe v8::Value::BooleanValue(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^
/root/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2702:51: note: candidate expects 1 argument, 0 provided
V8_WARN_UNUSED_RESULT Maybe BooleanValue(
^
/root/.cache/node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReadPointer(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:253:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
size_t size = info[2]->Uint32Value();
^
../src/binding.cc:253:38: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: v8::Maybe v8::Value::Uint32Value(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteInt64(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:360:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value&)’
String::Utf8Value str(in);
^
../src/binding.cc:360:30: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value)
Utf8Value(Isolate* isolate, Localv8::Value obj);
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::WriteUInt64(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:447:30: error: no matching function for call to ‘v8::String::Utf8Value::Utf8Value(v8::Localv8::Value&)’
String::Utf8Value str(in);
^
../src/binding.cc:447:30: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: v8::String::Utf8Value::Utf8Value(v8::Isolate*, v8::Localv8::Value)
Utf8Value(Isolate* isolate, Localv8::Value obj);
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:3135:5: note: candidate expects 2 arguments, 1 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReinterpretBuffer(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:521:38: error: no matching function for call to ‘v8::Value::Uint32Value()’
size_t size = info[1]->Uint32Value();
^
../src/binding.cc:521:38: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: v8::Maybe v8::Value::Uint32Value(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::ReinterpretBufferUntilZeros(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/binding.cc:550:44: error: no matching function for call to ‘v8::Value::Uint32Value()’
uint32_t numZeros = info[1]->Uint32Value();
^
../src/binding.cc:550:44: note: candidate is:
In file included from /root/.cache/node-gyp/12.18.0/include/node/node.h:67:0,
from ../src/binding.cc:5:
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: v8::Maybe v8::Value::Uint32Value(v8::Localv8::Context) const
V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
^
/root/.cache/node-gyp/12.18.0/include/node/v8.h:2707:41: note: candidate expects 1 argument, 0 provided
../src/binding.cc: In function ‘void init(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’:
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:582:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int8, int8_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:583:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint8, uint8_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:584:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int16, int16_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:585:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint16, uint16_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:586:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int32, int32_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:587:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint32, uint32_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:588:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int64, int64_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:589:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint64, uint64_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:590:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(float, float);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:591:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(double, double);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:593:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(bool, bool);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:594:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(byte, unsigned char);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:595:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(char, char);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:596:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uchar, unsigned char);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:597:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(short, short);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:598:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(ushort, unsigned short);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:599:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(int, int);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:600:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(uint, unsigned int);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:601:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(long, long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:602:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(ulong, unsigned long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:603:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(longlong, long long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:604:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(ulonglong, unsigned long long);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:605:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(pointer, char *);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:606:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(size_t, size_t);
^
../src/binding.cc:581:118: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
smap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(sizeof(type))));
^
../src/binding.cc:608:3: note: in expansion of macro ‘SET_SIZEOF’
SET_SIZEOF(Object, Nan::Persistent);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:615:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int8, int8_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:616:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint8, uint8_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:617:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int16, int16_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:618:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint16, uint16_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:619:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int32, int32_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s##name))));
^
../src/binding.cc:620:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint32, uint32_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:621:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int64, int64_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:622:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint64, uint64_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:623:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(float, float);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:624:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(double, double);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:625:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(bool, bool);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:626:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(char, char);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:627:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uchar, unsigned char);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:628:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(short, short);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:629:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(ushort, unsigned short);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:630:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(int, int);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:631:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(uint, unsigned int);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:632:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(long, long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:633:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(ulong, unsigned long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:634:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(longlong, long long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:635:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(ulonglong, unsigned long long);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:636:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(pointer, char *);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:637:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(size_t, size_t);
^
../src/binding.cc:614:134: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
amap->Set(Nan::Newv8::String( #name ).ToLocalChecked(), Nan::Newv8::Uint32(static_cast<uint32_t>(alignof(struct s_##name))));
^
../src/binding.cc:638:3: note: in expansion of macro ‘SET_ALIGNOF’
SET_ALIGNOF(Object, Nan::Persistent);
^
../src/binding.cc:641:68: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
target->Set(Nan::Newv8::String("sizeof").ToLocalChecked(), smap);
^
../src/binding.cc:642:69: warning: ‘bool v8::Object::Set(v8::Localv8::Value, v8::Localv8::Value)’ is deprecated (declared at /root/.cache/node-gyp/12.18.0/include/node/v8.h:3498): Use maybe version [-Wdeprecated-declarations]
target->Set(Nan::Newv8::String("alignof").ToLocalChecked(), amap);
^
../src/binding.cc:643:8: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("endianness").ToLocalChecked(), Nan::Newv8::String(CheckEndianness()).ToLocalChecked(), static_cast(ReadOnly|DontDelete));
^
../src/binding.cc:643:187: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("endianness").ToLocalChecked(), Nan::Newv8::String(CheckEndianness()).ToLocalChecked(), static_cast(ReadOnly|DontDelete));
^
../src/binding.cc:644:8: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("NULL").ToLocalChecked(), WrapNullPointer(), static_cast(ReadOnly|DontDelete));
^
../src/binding.cc:644:142: warning: ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at ../../nan/nan_maybe_43_inl.h:117) [-Wdeprecated-declarations]
Nan::ForceSet(target, Nan::Newv8::String("NULL").ToLocalChecked(), WrapNullPointer(), static_cast(ReadOnly|DontDelete));
^
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory
/usr/local/share/.config/yarn/global/node_modules/ref/build' gyp ERR! build error gyp ERR! stack Error:
makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 3.10.0-1127.el7.x86_64 gyp ERR! command "/root/.nvm/versions/node/v12.18.0/bin/node" "/root/.nvm/versions/node/v12.18.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /usr/local/share/.config/yarn/global/node_modules/ref gyp ERR! node -v v12.18.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok
The text was updated successfully, but these errors were encountered: