Skip to content

Instantly share code, notes, and snippets.

@k0pernikus
Created October 23, 2019 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k0pernikus/57830942c6f0bccbd965c8cf8a1675bd to your computer and use it in GitHub Desktop.
Save k0pernikus/57830942c6f0bccbd965c8cf8a1675bd to your computer and use it in GitHub Desktop.
node-curl error during `yarn install`
yarn install
yarn install v1.19.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[-/6] ⠄ waiting...
[-/6] ⠄ waiting...
[3/6] ⠄ iconv
[4/6] ⠄ node-libcurl
error /home/philipp/rate-pipeline/node_modules/node-libcurl: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /home/philipp/rate-pipeline/node_modules/node-libcurl
Output:
node-pre-gyp ERR! Tried to download(404): https://github.com/JCMais/node-libcurl/releases/download/v1.3.2/node_libcurl-v1.3.2-node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-libcurl@1.3.2 and node@10.16.3 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://github.com/JCMais/node-libcurl/releases/download/v1.3.2/node_libcurl-v1.3.2-node-v64-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for node-libcurl@1.3.2 and node@10.16.3 (node-v64 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory '/home/philipp/rate-pipeline/node_modules/node-libcurl/build'
make: Entering directory '/home/philipp/rate-pipeline/node_modules/node-libcurl/build'
CXX(target) Release/obj.target/node_libcurl/src/node_libcurl.o
CXX(target) Release/obj.target/node_libcurl/src/node_libcurl.o
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/node_libcurl.cc:25:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/node_libcurl.cc:24:
../src/node_libcurl.cc: At global scope:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, NodeLibcurl::ADDON_REGISTER_FUNCTION_ARGS2_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
573 | (node::addon_register_func) (regfunc), \
| ^
/home/philipp/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
607 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/node_libcurl.cc:51:5: note: in expansion of macro ‘NODE_MODULE’
51 | NODE_MODULE( node_libcurl, Init );
| ^~~~~~~~~~~
In file included from ../src/node_libcurl.cc:24:
../src/node_libcurl.cc: At global scope:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE, NodeLibcurl::ADDON_REGISTER_FUNCTION_ARGS2_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
573 | (node::addon_register_func) (regfunc), \
| ^
/home/philipp/.node-gyp/10.16.3/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
607 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/node_libcurl.cc:51:5: note: in expansion of macro ‘NODE_MODULE’
51 | NODE_MODULE( node_libcurl, Init );
| ^~~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/node_libcurl.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/node_libcurl/src/Easy.o
CXX(target) Release/obj.target/node_libcurl/src/Easy.o
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/Easy.h:32,
from ../src/Easy.cc:31:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/Easy.cc: In static member function ‘static size_t NodeLibcurl::Easy::ReadFunction(char*, size_t, size_t, void*)’:
../src/Easy.cc:320:38: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
320 | ret = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static size_t NodeLibcurl::Easy::SeekFunction(void*, curl_off_t, int)’:
../src/Easy.cc:390:52: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
390 | retValInt = retVal->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In member function ‘size_t NodeLibcurl::Easy::OnData(char*, size_t, size_t)’:
../src/Easy.cc:452:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
452 | ret = retVal->Uint32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
2477 | V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In member function ‘size_t NodeLibcurl::Easy::OnHeader(char*, size_t, size_t)’:
../src/Easy.cc:502:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
502 | ret = retVal->Uint32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
2477 | V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static size_t NodeLibcurl::Easy::ReadFunction(char*, size_t, size_t, void*)’:
../src/Easy.cc:320:38: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
320 | ret = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static size_t NodeLibcurl::Easy::SeekFunction(void*, curl_off_t, int)’:
../src/Easy.cc:390:52: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
390 | retValInt = retVal->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In member function ‘size_t NodeLibcurl::Easy::OnData(char*, size_t, size_t)’:
../src/Easy.cc:452:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
452 | ret = retVal->Uint32Value();
| ^
../src/Easy.cc: In static member function ‘static long int NodeLibcurl::Easy::CbChunkBgn(curl_fileinfo*, void*, int)’:
../src/Easy.cc:580:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
580 | retValInt = retVal->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
2477 | V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static long int NodeLibcurl::Easy::CbChunkEnd(void*)’:
../src/Easy.cc:605:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
605 | retValInt = retVal->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In member function ‘size_t NodeLibcurl::Easy::OnHeader(char*, size_t, size_t)’:
../src/Easy.cc:502:39: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
502 | ret = retVal->Uint32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
2477 | V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbDebug(CURL*, curl_infotype, char*, size_t, void*)’:
../src/Easy.cc:637:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
637 | retvalInt = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbFnMatch(void*, const char*, const char*)’:
../src/Easy.cc:676:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
676 | retvalInt32 = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbProgress(void*, double, double, double, double)’:
../src/Easy.cc:715:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
715 | retvalInt32 = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbXferinfo(void*, curl_off_t, curl_off_t, curl_off_t, curl_off_t)’:
../src/Easy.cc:765:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
765 | retvalInt32 = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static long int NodeLibcurl::Easy::CbChunkBgn(curl_fileinfo*, void*, int)’:
../src/Easy.cc:580:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
580 | retValInt = retVal->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static long int NodeLibcurl::Easy::CbChunkEnd(void*)’:
../src/Easy.cc:605:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
605 | retValInt = retVal->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbDebug(CURL*, curl_infotype, char*, size_t, void*)’:
../src/Easy.cc:637:44: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
637 | retvalInt = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:831:75: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
831 | Easy *orig = Nan::ObjectWrap::Unwrap<Easy>( info[0]->ToObject() );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
10046 | Local<Object> Value::ToObject() const {
| ^~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbFnMatch(void*, const char*, const char*)’:
../src/Easy.cc:676:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
676 | retvalInt32 = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbProgress(void*, double, double, double, double)’:
../src/Easy.cc:715:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
715 | retvalInt32 = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static int NodeLibcurl::Easy::CbXferinfo(void*, curl_off_t, curl_off_t, curl_off_t, curl_off_t)’:
../src/Easy.cc:765:46: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
765 | retvalInt32 = retval->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::New(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:831:75: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
831 | Easy *orig = Nan::ObjectWrap::Unwrap<Easy>( info[0]->ToObject() );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:10046:15: note: declared here
10046 | Local<Object> Value::ToObject() const {
| ^~~~~
In file included from ../src/Easy.h:34,
from ../src/Easy.cc:31:
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::SetOpt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:1155:145: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1155 | setOptRetCode = curl_easy_setopt( obj->ch, static_cast<CURLoption>( optionId ), static_cast<curl_off_t>( value->NumberValue() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2475:45: note: declared here
2475 | V8_DEPRECATED("Use maybe version", double NumberValue() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc:1159:69: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1159 | obj->readDataFileDescriptor = value->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/Easy.h:34,
from ../src/Easy.cc:31:
../src/Easy.cc:1163:138: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1163 | setOptRetCode = curl_easy_setopt( obj->ch, static_cast<CURLoption>( optionId ), static_cast<long>( value->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/Easy.h:34,
from ../src/Easy.cc:31:
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::SetOpt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:1155:145: warning: ‘double v8::Value::NumberValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1155 | setOptRetCode = curl_easy_setopt( obj->ch, static_cast<CURLoption>( optionId ), static_cast<curl_off_t>( value->NumberValue() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2475:45: note: declared here
2475 | V8_DEPRECATED("Use maybe version", double NumberValue() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc:1159:69: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1159 | obj->readDataFileDescriptor = value->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/Easy.h:34,
from ../src/Easy.cc:31:
../src/Easy.cc:1163:138: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1163 | setOptRetCode = curl_easy_setopt( obj->ch, static_cast<CURLoption>( optionId ), static_cast<long>( value->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::Pause(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:1628:49: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1628 | uint32_t bitmask = info[0]->Uint32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
2477 | V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::StrError(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:1786:96: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1786 | const char * errorMsg = curl_easy_strerror( static_cast<CURLcode>( errCode->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::Pause(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:1628:49: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1628 | uint32_t bitmask = info[0]->Uint32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2477:47: note: declared here
2477 | V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
| ^~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Easy.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Easy::StrError(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Easy.cc:1786:96: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1786 | const char * errorMsg = curl_easy_strerror( static_cast<CURLcode>( errCode->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Easy.h:31,
from ../src/Easy.cc:31:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/node_libcurl/src/Share.o
CXX(target) Release/obj.target/node_libcurl/src/Share.o
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Share.h:30,
from ../src/Share.cc:27:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/Share.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Share::SetOpt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Share.cc:124:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
124 | optionId = opt->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/Share.h:32,
from ../src/Share.cc:27:
../src/Share.cc:140:110: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
140 | setOptRetCode = curl_share_setopt( obj->sh, static_cast<CURLSHoption>( optionId ), value->Int32Value() );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Share.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Share::StrError(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Share.cc:174:99: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
174 | const char * errorMsg = curl_share_strerror( static_cast<CURLSHcode>( errCode->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Share.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Share::SetOpt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Share.cc:124:40: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
124 | optionId = opt->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from ../src/Share.h:32,
from ../src/Share.cc:27:
../src/Share.cc:140:110: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
140 | setOptRetCode = curl_share_setopt( obj->sh, static_cast<CURLSHoption>( optionId ), value->Int32Value() );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Share.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Share::StrError(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Share.cc:174:99: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
174 | const char * errorMsg = curl_share_strerror( static_cast<CURLSHcode>( errCode->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Share.h:29,
from ../src/Share.cc:27:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/node_libcurl/src/Multi.o
sed: can't read ./Release/.deps/Release/obj.target/node_libcurl/src/Share.o.d.raw: No such file or directory
rm: cannot remove './Release/.deps/Release/obj.target/node_libcurl/src/Share.o.d.raw': No such file or directory
make: *** [node_libcurl.target.mk:112: Release/obj.target/node_libcurl/src/Share.o] Error 1
make: Leaving directory '/home/philipp/rate-pipeline/node_modules/node-libcurl/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/philipp/rate-pipeline/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:198:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Linux 5.3.0-18-generic
gyp ERR! command "/home/philipp/.nvm/versions/node/v10.16.3/bin/node" "/home/philipp/rate-pipeline/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/home/philipp/rate-pipeline/node_modules/node-libcurl/lib/binding/node_libcurl.node" "--module_name=node_libcurl" "--module_path=/home/philipp/rate-pipeline/node_modules/node-libcurl/lib/binding"
gyp ERR! cwd /home/philipp/rate-pipeline/node_modules/node-libcurl
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.6.3
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/home/philipp/.nvm/versions/node/v10.16.3/bin/node /home/philipp/rate-pipeline/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/philipp/rate-pipeline/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/home/philipp/rate-pipeline/node_modules/node-libcurl/lib/binding' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/philipp/rate-pipeline/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
node-pre-gyp ERR! System Linux 5.3.0-18-generic
node-pre-gyp ERR! command "/home/philipp/.nvm/versions/node/v10.16.3/bin/node" "/home/philipp/rate-pipeline/node_modules/node-libcurl/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /home/philipp/rate-pipeline/node_modules/node-libcurl
node-pre-gyp ERR! node -v v10.16.3
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/home/philipp/.nvm/versions/node/v10.16.3/bin/node /home/philipp/rate-pipeline/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/philipp/rate-pipeline/node_modules/node-libcurl/lib/binding/node_libcurl.node --module_name=node_libcurl --module_path=/home/philipp/rate-pipeline/node_modules/node-libcurl/lib/binding' (1)
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Multi.h:30,
from ../src/Multi.cc:24:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/Multi.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Multi::SetOpt(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Multi.cc:407:45: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
407 | int32_t val = value->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Multi.cc: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::Multi::StrError(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Multi.cc:580:98: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
580 | const char * errorMsg = curl_multi_strerror( static_cast<CURLMcode>( errCode->Int32Value() ) );
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Multi.h:29,
from ../src/Multi.cc:24:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/node_libcurl/src/Curl.o
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h:840:60: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
840 | v8::Isolate::GetCurrent(), target, func, argc, argv);
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h:855:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::String>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
855 | v8::Isolate::GetCurrent(), target, symbol, argc, argv);
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:170:50: note: declared here
170 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h:870:62: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, const char*, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
870 | v8::Isolate::GetCurrent(), target, method, argc, argv);
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:163:50: note: declared here
163 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::Callback::Call_(v8::Isolate*, v8::Local<v8::Object>, int, v8::Local<v8::Value>*) const’:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h:1484:5: warning: ‘v8::Local<v8::Value> node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated: Use MakeCallback(..., async_context) [-Wdeprecated-declarations]
1484 | ));
| ^
In file included from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/node.h:177:50: note: declared here
177 | NODE_EXTERN v8::Local<v8::Value> MakeCallback(
| ^~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/node.h:91:42: note: in definition of macro ‘NODE_DEPRECATED’
91 | __attribute__((deprecated(message))) declarator
| ^~~~~~~~~~
In file included from ../src/Curl.h:33,
from ../src/Curl.cc:23:
../node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../node_modules/nan/nan.h:1875:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
1875 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
| ^
../src/Curl.cc: In function ‘int32_t NodeLibcurl::IsInsideCurlConstantStruct(const std::vector<NodeLibcurl::CurlConstant>&, const v8::Local<v8::Value>&)’:
../src/Curl.cc:1085:45: warning: ‘v8::Local<v8::Integer> v8::Value::ToInteger() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1085 | optionId = searchFor->ToInteger()->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:10052:16: note: declared here
10052 | Local<Integer> Value::ToInteger() const {
| ^~~~~
../src/Curl.cc:1085:59: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1085 | optionId = searchFor->ToInteger()->Int32Value();
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
../src/Curl.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE NodeLibcurl::GlobalInit(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/Curl.cc:1215:86: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
1215 | long flags = info[0]->IsUndefined() ? static_cast<long>( info[0]->Int32Value() ) : CURL_GLOBAL_ALL;
| ^
In file included from /home/philipp/.node-gyp/10.16.3/include/node/v8.h:26,
from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:2478:46: note: declared here
2478 | V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
| ^~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
324 | declarator __attribute__((deprecated(message)))
| ^~~~~~~~~~
In file included from /home/philipp/.node-gyp/10.16.3/include/node/node.h:63,
from ../src/Curl.h:32,
from ../src/Curl.cc:23:
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
/home/philipp/.node-gyp/10.16.3/include/node/node_object_wrap.h:84:78: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
9502 | reinterpret_cast<Callback>(callback), type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/philipp/.node-gyp/10.16.3/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
../node_modules/nan/nan_object_wrap.h:66:61: required from here
/home/philipp/.node-gyp/10.16.3/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
CXX(target) Release/obj.target/node_libcurl/src/CurlHttpPost.o
SOLINK_MODULE(target) Release/obj.target/node_libcurl.node
COPY Release/node_libcurl.node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment