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

node-gyp warnings, I believe for this module #6

Open
ORESoftware opened this issue Nov 26, 2016 · 1 comment
Open

node-gyp warnings, I believe for this module #6

ORESoftware opened this issue Nov 26, 2016 · 1 comment

Comments

@ORESoftware
Copy link

Hi there, I get these warnings when running npm install, they appear to be related to this library

> [email protected] install /Users/Olegzandr/suman-test/suman-test-projects/node_modules/get-cursor-position
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CXX(target) Release/obj.target/pos/src/pos.o
  SOLINK_MODULE(target) Release/pos.node

> [email protected] install /Users/Olegzandr/suman-test/suman-test-projects/node_modules/raw-socket
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
  CXX(target) Release/obj.target/raw/src/raw.o
../src/raw.cc:70:33: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        uint32_t start_with = info[0]->ToUint32 ()->Value ();
                                       ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:92:21: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
                offset = info[2]->ToUint32 ()->Value ();
                                  ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:104:38: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
                unsigned int new_length = info[3]->ToUint32 ()->Value ();
                                                   ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:133:33: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        unsigned int number = info[0]->ToUint32 ()->Value ();
                                       ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:152:33: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        unsigned int number = info[0]->ToUint32 ()->Value ();
                                       ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:177:33: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        unsigned int number = info[0]->ToUint32 ()->Value ();
                                       ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:196:33: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        unsigned int number = info[0]->ToUint32 ()->Value ();
                                       ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:377:23: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        int level = info[0]->ToInt32 ()->Value ();
                             ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8442:21: note: 'ToInt32' has been explicitly marked deprecated here
Local<Int32> Value::ToInt32() const {
                    ^
../src/raw.cc:378:24: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        int option = info[1]->ToInt32 ()->Value ();
                              ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8442:21: note: 'ToInt32' has been explicitly marked deprecated here
Local<Int32> Value::ToInt32() const {
                    ^
../src/raw.cc:461:32: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
                socket->protocol_ = info[0]->ToUint32 ()->Value ();
                                             ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:469:17: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
                        if (info[1]->ToUint32 ()->Value () == 2)
                                     ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:651:20: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        offset = info[1]->ToUint32 ()->Value ();
                          ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:652:20: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
        length = info[2]->ToUint32 ()->Value ();
                          ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
../src/raw.cc:715:23: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        int level = info[0]->ToInt32 ()->Value ();
                             ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8442:21: note: 'ToInt32' has been explicitly marked deprecated here
Local<Int32> Value::ToInt32() const {
                    ^
../src/raw.cc:716:24: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
        int option = info[1]->ToInt32 ()->Value ();
                              ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8442:21: note: 'ToInt32' has been explicitly marked deprecated here
Local<Int32> Value::ToInt32() const {
                    ^
../src/raw.cc:735:18: warning: 'ToInt32' is deprecated [-Wdeprecated-declarations]
                len = info[3]->ToInt32 ()->Value ();
                               ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8442:21: note: 'ToInt32' has been explicitly marked deprecated here
Local<Int32> Value::ToInt32() const {
                    ^
../src/raw.cc:747:19: warning: 'ToUint32' is deprecated [-Wdeprecated-declarations]
                ival = info[2]->ToUint32 ()->Value ();
                                ^
/Users/Olegzandr/.node-gyp/7.2.0/include/node/v8.h:8436:22: note: 'ToUint32' has been explicitly marked deprecated here
Local<Uint32> Value::ToUint32() const {
                     ^
17 warnings generated.
  SOLINK_MODULE(target) Release/raw.node
@the1mills
Copy link

this issue needs attention please! :)

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

2 participants