mooz/node-icu-charset-detector

Build warnings

Opened this issue · 0 comments

tahv0 commented

Getting build warnings

make: Entering directory '/home/node/app/node_modules/node-icu-charset-detector/build'
  CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o
../node-icu-charset-detector.cpp: In static member function 'static Nan::NAN_METHOD_RETURN_TYPE CharsetMatch::New(Nan::NAN_METHOD_ARGS_TYPE)':
../node-icu-charset-detector.cpp:72:59: warning: 'v8::Local<v8::Object> v8::Value::ToObject() const' is deprecated: Use maybe version [-Wdeprecated-declarations]
         v8::Handle<v8::Object> buffer = info[0]->ToObject();
                                                           ^
In file included from /root/.node-gyp/10.14.2/include/node/node.h:63:0,
                 from ../node-icu-charset-detector.cpp:1:
/root/.node-gyp/10.14.2/include/node/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
  SOLINK_MODULE(target) Release/obj.target/node-icu-charset-detector.node
## Using --prefix=/usr/bin//..