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

there are some depreciation warnings from v8 #2

Open
shimondoodkin opened this issue Jul 3, 2019 · 0 comments
Open

there are some depreciation warnings from v8 #2

shimondoodkin opened this issue Jul 3, 2019 · 0 comments

Comments

@shimondoodkin
Copy link

root@server6:/app/paservice/my_modules/siridb# ls -lah
total 120K
drwxr-xr-x 9 root root 4.0K Jul  3 14:18 .
drwxr-xr-x 6 root root 4.0K Jul  3 09:10 ..
-rw-r--r-- 1 root root  371 Jul  3 09:10 addon.cc
-rw-r--r-- 1 root root  353 Jul  3 09:10 binding.gyp
drwxr-xr-x 3 root root 4.0K Jul  3 12:49 build
drwxr-xr-x 2 root root 4.0K Jul  3 09:10 examples
drwxr-xr-x 8 root root 4.0K Jul  3 09:10 .git
-rw-r--r-- 1 root root  373 Jul  3 09:10 .gitignore
-rw-r--r-- 1 root root 1.1K Jul  3 14:20 install.sh
drwxr-xr-x 8 root root 4.0K Jul  3 13:12 libqpack
drwxr-xr-x 8 root root 4.0K Jul  3 13:48 libsiridb
drwxr-xr-x 6 root root 4.0K Jul  3 13:21 libsuv
-rw-r--r-- 1 root root 1.1K Jul  3 09:10 LICENSE
drwxr-xr-x 3 root root 4.0K Jul  3 13:34 node_modules
-rw-r--r-- 1 root root  676 Jul  3 14:19 package.json
-rw-r--r-- 1 root root   69 Jul  3 13:34 package-lock.json
-rw-r--r-- 1 root root 5.8K Jul  3 13:29 README.md
-rw-r--r-- 1 root root  25K Jul  3 09:10 sdbcl.cc
-rw-r--r-- 1 root root 2.1K Jul  3 09:10 sdbcl.h
-rw-r--r-- 1 root root  12K Jul  3 09:10 v8qpack.cc
-rw-r--r-- 1 root root  691 Jul  3 09:10 v8qpack.h
root@server6:/app/paservice/my_modules/siridb# node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@5.0.2
gyp info using node@10.16.0 | linux | x64
gyp info find Python using Python version 2.7.15 found at "/usr/bin/python2"
gyp info spawn /usr/bin/python2
gyp info spawn args [ '/usr/lib/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   '/app/paservice/my_modules/siridb/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.cache/node-gyp/10.16.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/10.16.0',
gyp info spawn args   '-Dnode_gyp_dir=/usr/lib/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/10.16.0/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/app/paservice/my_modules/siridb',
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 make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/app/paservice/my_modules/siridb/build'
  CXX(target) Release/obj.target/siridb/addon.o
  CXX(target) Release/obj.target/siridb/sdbcl.o
../sdbcl.cc: In static member function ‘static void siridb::SiriDBClient::New(const v8::FunctionCallbackInfo<v8::Value>&)’:
../sdbcl.cc:162:64: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         if (!args[argc]->IsUint32() || args[argc]->Uint32Value() > 0xffff)
                                                                ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                               ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:168:51: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         port = (uint16_t) args[argc]->Uint32Value();
                                                   ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2477:47: note: declared here
   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                               ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:180:50: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value str(args[i]->ToString());
                                                  ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc: In static member function ‘static void siridb::SiriDBClient::Query(const v8::FunctionCallbackInfo<v8::Value>&)’:
../sdbcl.cc:413:46: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
     String::Utf8Value str(args[0]->ToString());
                                              ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc: In static member function ‘static void siridb::SiriDBClient::Insert(const v8::FunctionCallbackInfo<v8::Value>&)’:
../sdbcl.cc:512:36: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         series_obj = val->ToObject();
                                    ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/node.h:63:0,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:10046:15: note: declared here
 Local<Object> Value::ToObject() const {
               ^~~~~
../sdbcl.cc:528:52: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value name_str(name->ToString());
                                                    ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:529:52: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value type_str(type->ToString());
                                                    ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:594:36: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             ts_d = ts->NumberValue();
                                    ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2475:45: note: declared here
   V8_DEPRECATED("Use maybe version", double NumberValue() const);
                                             ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:608:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 value_d = value->NumberValue();
                                              ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2475:45: note: declared here
   V8_DEPRECATED("Use maybe version", double NumberValue() const);
                                             ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:613:46: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                 value_d = value->NumberValue();
                                              ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2475:45: note: declared here
   V8_DEPRECATED("Use maybe version", double NumberValue() const);
                                             ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../sdbcl.cc:618:62: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                 String::Utf8Value value_str(value->ToString());
                                                              ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../sdbcl.h:10,
                 from ../sdbcl.cc:12:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  CXX(target) Release/obj.target/siridb/v8qpack.o
../v8qpack.cc: In function ‘void v8qpack::Pack_(std::__cxx11::string&, v8::Local<v8::Value>&)’:
../v8qpack.cc:88:46: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         String::Utf8Value tmp(val->ToString());
                                              ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../v8qpack.h:9,
                 from ../v8qpack.cc:8:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2892:28: note: declared here
                   explicit Utf8Value(Local<v8::Value> obj));
                            ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../v8qpack.cc:122:39: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         int32_t i32 = val->Int32Value();
                                       ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../v8qpack.h:9,
                 from ../v8qpack.cc:8:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2478:46: note: declared here
   V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                              ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
../v8qpack.cc:157:37: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         double d = val->NumberValue();
                                     ^
In file included from /root/.cache/node-gyp/10.16.0/include/node/v8.h:26:0,
                 from /root/.cache/node-gyp/10.16.0/include/node/node.h:63,
                 from ../v8qpack.h:9,
                 from ../v8qpack.cc:8:
/root/.cache/node-gyp/10.16.0/include/node/v8.h:2475:45: note: declared here
   V8_DEPRECATED("Use maybe version", double NumberValue() const);
                                             ^
/root/.cache/node-gyp/10.16.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
  SOLINK_MODULE(target) Release/obj.target/siridb.node
  COPY Release/siridb.node
make: Leaving directory '/app/paservice/my_modules/siridb/build'
gyp info ok
root@server6:/app/paservice/my_modules/siridb#

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