Skip to content

Instantly share code, notes, and snippets.

@CraZySacX
Created August 8, 2016 22:06
Show Gist options
  • Save CraZySacX/e95eab2d17bf73460d47decede7672a3 to your computer and use it in GitHub Desktop.
Save CraZySacX/e95eab2d17bf73460d47decede7672a3 to your computer and use it in GitHub Desktop.
> [email protected] install /data/projects/dataq/server/node_modules/java
> node-gyp rebuild
make: Entering directory '/data/projects/dataq/server/node_modules/java/build'
CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o
In file included from ../../nan/nan.h:196:0,
from ../src/java.h:9,
from ../src/java.cpp:1:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../../nan/nan_maybe_43_inl.h:220:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3012:36: note: declared here
MaybeLocal<Object> CloneElementAt(Local<Context> context,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:202,
from ../src/java.h:9,
from ../src/java.cpp:1:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3976:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/java.h:9:0,
from ../src/java.cpp:1:
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:2023:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2736:22: note: declared here
bool SetAccessor(Local<Name> name,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newByte(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/java.cpp:897:49: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Number> val = info[0]->ToNumber();
^
In file included from ../src/java.h:5:0,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newShort(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/java.cpp:927:49: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Number> val = info[0]->ToNumber();
^
In file included from ../src/java.h:5:0,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newLong(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/java.cpp:956:49: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Number> val = info[0]->ToNumber();
^
In file included from ../src/java.h:5:0,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newChar(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/java.cpp:983:51: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Number> val = info[0]->ToNumber();
^
In file included from ../src/java.h:5:0,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newFloat(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/java.cpp:1019:49: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Number> val = info[0]->ToNumber();
^
In file included from ../src/java.h:5:0,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/java.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE Java::newDouble(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/java.cpp:1044:49: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Number> val = info[0]->ToNumber();
^
In file included from ../src/java.h:5:0,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/java.cpp: In function ‘void EIO_AfterCallJs(uv_work_t*)’:
../src/java.cpp:1263:16: warning: ‘v8::TryCatch::TryCatch()’ is deprecated: Use isolate version [-Wdeprecated-declarations]
v8::TryCatch tryCatch;
^~~~~~~~
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/java.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:6583:40: note: declared here
V8_DEPRECATED("Use isolate version", TryCatch());
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaObject.o
In file included from ../../nan/nan.h:196:0,
from ../src/utils.h:12,
from ../src/methodCallBaton.h:5,
from ../src/javaObject.h:10,
from ../src/javaObject.cpp:1:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../../nan/nan_maybe_43_inl.h:220:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3012:36: note: declared here
MaybeLocal<Object> CloneElementAt(Local<Context> context,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:202,
from ../src/utils.h:12,
from ../src/methodCallBaton.h:5,
from ../src/javaObject.h:10,
from ../src/javaObject.cpp:1:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3976:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/utils.h:12:0,
from ../src/methodCallBaton.h:5,
from ../src/javaObject.h:10,
from ../src/javaObject.cpp:1:
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:2023:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2736:22: note: declared here
bool SetAccessor(Local<Name> name,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/javaObject.cpp: In static member function ‘static v8::Local<v8::Object> JavaObject::New(Java*, jobject)’:
../src/javaObject.cpp:116:59: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> javaObjectObj = ctor->NewInstance();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3243:52: note: declared here
V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const);
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/javaObject.cpp:117:129: warning: ‘bool v8::Object::SetHiddenValue(v8::Local<v8::String>, v8::Local<v8::Value>)’ is deprecated: Use v8::Object::SetPrivate instead. [-Wdeprecated-declarations]
javaObjectObj->SetHiddenValue(Nan::New<v8::String>(V8_HIDDEN_MARKER_JAVA_OBJECT).ToLocalChecked(), Nan::New<v8::Boolean>(true));
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2934:22: note: declared here
bool SetHiddenValue(Local<String> key, Local<Value> value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/javaObject.cpp: In static member function ‘static v8::Local<v8::Object> JavaProxyObject::New(Java*, jobject, DynamicProxyData*)’:
../src/javaObject.cpp:349:59: warning: ‘v8::Local<v8::Object> v8::Function::NewInstance() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
v8::Local<v8::Object> javaObjectObj = ctor->NewInstance();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3243:52: note: declared here
V8_DEPRECATED("Use maybe version", Local<Object> NewInstance() const);
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/javaObject.cpp:350:129: warning: ‘bool v8::Object::SetHiddenValue(v8::Local<v8::String>, v8::Local<v8::Value>)’ is deprecated: Use v8::Object::SetPrivate instead. [-Wdeprecated-declarations]
javaObjectObj->SetHiddenValue(Nan::New<v8::String>(V8_HIDDEN_MARKER_JAVA_OBJECT).ToLocalChecked(), Nan::New<v8::Boolean>(true));
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/javaObject.h:5,
from ../src/javaObject.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2934:22: note: declared here
bool SetHiddenValue(Local<String> key, Local<Value> value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaScope.o
CXX(target) Release/obj.target/nodejavabridge_bindings/src/methodCallBaton.o
In file included from ../../nan/nan.h:196:0,
from ../src/utils.h:12,
from ../src/methodCallBaton.h:5,
from ../src/methodCallBaton.cpp:2:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../../nan/nan_maybe_43_inl.h:220:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/methodCallBaton.h:5,
from ../src/methodCallBaton.cpp:2:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3012:36: note: declared here
MaybeLocal<Object> CloneElementAt(Local<Context> context,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:202,
from ../src/utils.h:12,
from ../src/methodCallBaton.h:5,
from ../src/methodCallBaton.cpp:2:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/methodCallBaton.h:5,
from ../src/methodCallBaton.cpp:2:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3976:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/utils.h:12:0,
from ../src/methodCallBaton.h:5,
from ../src/methodCallBaton.cpp:2:
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:2023:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/methodCallBaton.h:5,
from ../src/methodCallBaton.cpp:2:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2736:22: note: declared here
bool SetAccessor(Local<Name> name,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
CXX(target) Release/obj.target/nodejavabridge_bindings/src/nodeJavaBridge.o
In file included from ../../nan/nan.h:196:0,
from ../src/java.h:9,
from ../src/nodeJavaBridge.cpp:2:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../../nan/nan_maybe_43_inl.h:220:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/nodeJavaBridge.cpp:2:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3012:36: note: declared here
MaybeLocal<Object> CloneElementAt(Local<Context> context,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:202,
from ../src/java.h:9,
from ../src/nodeJavaBridge.cpp:2:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/nodeJavaBridge.cpp:2:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3976:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/java.h:9:0,
from ../src/nodeJavaBridge.cpp:2:
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:2023:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/java.h:5,
from ../src/nodeJavaBridge.cpp:2:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2736:22: note: declared here
bool SetAccessor(Local<Name> name,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
CXX(target) Release/obj.target/nodejavabridge_bindings/src/utils.o
In file included from ../../nan/nan.h:196:0,
from ../src/utils.h:12,
from ../src/utils.cpp:1:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../../nan/nan_maybe_43_inl.h:220:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3012:36: note: declared here
MaybeLocal<Object> CloneElementAt(Local<Context> context,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:202,
from ../src/utils.h:12,
from ../src/utils.cpp:1:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).As<v8::BooleanObject>();
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:3976:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local<Value> New(bool value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
In file included from ../src/utils.h:12:0,
from ../src/utils.cpp:1:
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:2023:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2736:22: note: declared here
bool SetAccessor(Local<Name> name,
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/utils.cpp: In function ‘std::__cxx11::string getArrayElementType(v8::Local<v8::Array>, uint32_t)’:
../src/utils.cpp:296:126: warning: ‘v8::Local<v8::Value> v8::Object::GetHiddenValue(v8::Local<v8::String>)’ is deprecated: Use v8::Object::GetPrivate instead. [-Wdeprecated-declarations]
v8::Local<v8::Value> isJavaLong = obj->GetHiddenValue(Nan::New<v8::String>(V8_HIDDEN_MARKER_JAVA_LONG).ToLocalChecked());
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2936:30: note: declared here
Local<Value> GetHiddenValue(Local<String> key));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/utils.cpp: In function ‘_jobject* v8ToJava(JNIEnv*, v8::Local<v8::Value>)’:
../src/utils.cpp:347:29: warning: ‘v8::Local<v8::Int32> v8::Value::ToInt32() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
jint val = arg->ToInt32()->Value();
^
In file included from ../src/utils.h:6:0,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7998:14: note: declared here
Local<Int32> Value::ToInt32() const {
^~~~~
../src/utils.cpp:354:33: warning: ‘v8::Local<v8::Number> v8::Value::ToNumber() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
jdouble val = arg->ToNumber()->Value();
^
In file included from ../src/utils.h:6:0,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:7962:15: note: declared here
Local<Number> Value::ToNumber() const {
^~~~~
../src/utils.cpp:370:128: warning: ‘v8::Local<v8::Value> v8::Object::GetHiddenValue(v8::Local<v8::String>)’ is deprecated: Use v8::Object::GetPrivate instead. [-Wdeprecated-declarations]
v8::Local<v8::Value> isJavaObject = obj->GetHiddenValue(Nan::New<v8::String>(V8_HIDDEN_MARKER_JAVA_OBJECT).ToLocalChecked());
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2936:30: note: declared here
Local<Value> GetHiddenValue(Local<String> key));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/utils.cpp:375:124: warning: ‘v8::Local<v8::Value> v8::Object::GetHiddenValue(v8::Local<v8::String>)’ is deprecated: Use v8::Object::GetPrivate instead. [-Wdeprecated-declarations]
v8::Local<v8::Value> isJavaLong = obj->GetHiddenValue(Nan::New<v8::String>(V8_HIDDEN_MARKER_JAVA_LONG).ToLocalChecked());
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2936:30: note: declared here
Local<Value> GetHiddenValue(Local<String> key));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
../src/utils.cpp: In function ‘v8::Local<v8::Value> javaToV8(Java*, JNIEnv*, jobject, DynamicProxyData*)’:
../src/utils.cpp:647:140: warning: ‘bool v8::Object::SetHiddenValue(v8::Local<v8::String>, v8::Local<v8::Value>)’ is deprecated: Use v8::Object::SetPrivate instead. [-Wdeprecated-declarations]
v8ResultNumberObject->SetHiddenValue(Nan::New<v8::String>(V8_HIDDEN_MARKER_JAVA_LONG).ToLocalChecked(), Nan::New<v8::Boolean>(true));
^
In file included from /home/jozias/.node-gyp/6.3.1/include/node/v8.h:23:0,
from ../src/utils.h:6,
from ../src/utils.cpp:1:
/home/jozias/.node-gyp/6.3.1/include/node/v8.h:2934:22: note: declared here
bool SetHiddenValue(Local<String> key, Local<Value> value));
^
/home/jozias/.node-gyp/6.3.1/include/node/v8config.h:339:3: note: in definition of macro ‘V8_DEPRECATED’
declarator __attribute__((deprecated(message)))
^~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/nodejavabridge_bindings.node
COPY Release/nodejavabridge_bindings.node
make: Leaving directory '/data/projects/dataq/server/node_modules/java/build'
> [email protected] postinstall /data/projects/dataq/server/node_modules/java
> node postInstall.js
[email protected] /data/projects/dataq/server
└─┬ [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
└── [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment