Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build warnings #36

Open
tahv0 opened this issue Dec 17, 2018 · 0 comments
Open

Build warnings #36

tahv0 opened this issue Dec 17, 2018 · 0 comments

Comments

@tahv0
Copy link

tahv0 commented Dec 17, 2018

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//..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant