Skip to content

Unable to build #200

New issue

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

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

Already on GitHub? Sign in to your account

Open
guimard opened this issue Apr 26, 2018 · 2 comments
Open

Unable to build #200

guimard opened this issue Apr 26, 2018 · 2 comments

Comments

@guimard
Copy link

guimard commented Apr 26, 2018

Hello,
using node-nan=2.10.0, node-8.11.1, node-gyp-3.6.2, I've this:

gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make[2] : on entre dans le répertoire « /home/xavier/dev/debian/packages/waiting/mysql-libmysqlclient/node-mysql-libmysqlclient-1.6.0/build »
  CXX(target) Release/obj.target/mysql_bindings/src/mysql_bindings.o
In file included from ../src/mysql_bindings.cc:17:0:
../src/./mysql_bindings_connection.h:114:9: error: ‘NanCallback’ does not name a type
         NanCallback *nan_callback;
         ^~~~~~~~~~~
../src/./mysql_bindings_connection.h:183:9: error: ‘NanCallback’ does not name a type
         NanCallback *nan_callback;
         ^~~~~~~~~~~
In file included from ../src/mysql_bindings.cc:18:0:
../src/./mysql_bindings_result.h:86:9: error: ‘NanCallback’ does not name a type
         NanCallback *nan_callback;
         ^~~~~~~~~~~
In file included from ../src/mysql_bindings.cc:19:0:
../src/./mysql_bindings_statement.h:105:9: error: ‘NanCallback’ does not name a type
         NanCallback *nan_callback;
         ^~~~~~~~~~~
../src/./mysql_bindings_statement.h:121:9: error: ‘NanCallback’ does not name a type
         NanCallback *nan_callback;
         ^~~~~~~~~~~
../src/./mysql_bindings_statement.h:166:9: error: ‘NanCallback’ does not name a type
         NanCallback *nan_callback;
         ^~~~~~~~~~~
../src/mysql_bindings.cc: In function ‘void InitMysqlLibmysqlclient(v8::Handle<v8::Object>)’:
../src/mysql_bindings.cc:31:5: error: ‘NanScope’ was not declared in this scope
     NanScope();
     ^~~~~~~~
@AlexisWilke
Copy link

I also get many errors. Is there any plans in getting this library to compile with newer versions of node? We're at version 10.x.x now...

  CXX(target) Release/obj.target/mysql_bindings/src/mysql_bindings.o
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿bool NanBooleanOptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, bool)¿:
../node_modules/nan/nan.h:84:45: warning: ¿bool v8::Value::BooleanValue() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
       || optionsObj->Get(opt)->BooleanValue();
                                             ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2474:43: note: declared here
   V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
                                           ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:88:45: warning: ¿bool v8::Value::BooleanValue() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
       && optionsObj->Get(opt)->BooleanValue();
                                             ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2474:43: note: declared here
   V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
                                           ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿uint32_t NanUInt32OptionValue(v8::Local<v8::Object>, v8::Handle<v8::String>, uint32_t)¿:
../node_modules/nan/nan.h:107:43: warning: ¿uint32_t v8::Value::Uint32Value() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
       ? optionsObj->Get(opt)->Uint32Value()
                                           ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2477:47: note: declared here
   V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                               ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:120:25: error: redefinition of ¿template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)¿
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^
../node_modules/nan/nan.h:115:25: note: ¿template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)¿ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Signature> NanNew(v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)¿:
../node_modules/nan/nan.h:207:78: error: no matching function for call to ¿v8::Signature::New(v8::Isolate*, v8::Handle<v8::FunctionTemplate>&, int&, v8::Handle<v8::FunctionTemplate>*&)¿
     return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
                                                                              ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:6137:27: note: candidate: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>)
   static Local<Signature> New(
                           ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:6137:27: note:   candidate expects 2 arguments, 4 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P, const v8::ScriptOrigin&)¿:
../node_modules/nan/nan.h:262:12: error: ¿CompileUnbound¿ is not a member of ¿v8::ScriptCompiler¿
     return v8::ScriptCompiler::CompileUnbound(
            ^
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::UnboundScript; P = v8::Local<v8::String>]¿:
../node_modules/nan/nan.h:271:12: error: ¿CompileUnbound¿ is not a member of ¿v8::ScriptCompiler¿
     return v8::ScriptCompiler::CompileUnbound(
            ^
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::BooleanObject; P = bool]¿:
../node_modules/nan/nan.h:277:40: error: no matching function for call to ¿v8::BooleanObject::New(bool&)¿
     return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                        ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:5035:23: note: candidate: static v8::Local<v8::Value> v8::BooleanObject::New(v8::Isolate*, bool)
   static Local<Value> New(Isolate* isolate, bool value);
                       ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:5035:23: note:   candidate expects 2 arguments, 1 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:277:62: error: expected primary-expression before ¿>¿ token
     return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                              ^
../node_modules/nan/nan.h:277:64: error: expected primary-expression before ¿)¿ token
     return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                                                ^
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]¿:
../node_modules/nan/nan.h:284:39: warning: ¿static v8::Local<v8::Value> v8::StringObject::New(v8::Local<v8::String>)¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
     return v8::StringObject::New(value).As<v8::StringObject>();
                                       ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:5053:37: note: declared here
                 static Local<Value> New(Local<String> value));
                                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:289:3: error: redefinition of ¿v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]¿
   NanNew<v8::StringObject, v8::Handle<v8::String> >(
   ^
../node_modules/nan/nan.h:282:3: note: ¿v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]¿ previously declared here
   NanNew<v8::StringObject, v8::Local<v8::String> >(
   ^
../node_modules/nan/nan.h:307:36: error: redefinition of ¿template<class T> v8::Local<v8::RegExp> NanNew(v8::Local<v8::String>, v8::RegExp::Flags)¿
   NAN_INLINE v8::Local<v8::RegExp> NanNew(
                                    ^
../node_modules/nan/nan.h:301:36: note: ¿template<class T> v8::Local<v8::RegExp> NanNew(v8::Handle<v8::String>, v8::RegExp::Flags)¿ previously declared here
   NAN_INLINE v8::Local<v8::RegExp> NanNew(
                                    ^
../node_modules/nan/nan.h:319:36: error: redefinition of ¿template<class T, class P> v8::Local<v8::RegExp> NanNew(v8::Local<v8::String>, v8::RegExp::Flags)¿
   NAN_INLINE v8::Local<v8::RegExp> NanNew(
                                    ^
../node_modules/nan/nan.h:313:36: note: ¿template<class T, class P> v8::Local<v8::RegExp> NanNew(v8::Handle<v8::String>, v8::RegExp::Flags)¿ previously declared here
   NAN_INLINE v8::Local<v8::RegExp> NanNew(
                                    ^
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::Uint32; P = int]¿:
../node_modules/nan/nan.h:327:51: error: no matching function for call to ¿v8::Integer::ToUint32()¿
         v8::Isolate::GetCurrent(), val)->ToUint32();
                                                   ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
                                            ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2435:44: note:   candidate expects 1 argument, 0 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::Uint32; P = unsigned int]¿:
../node_modules/nan/nan.h:333:51: error: no matching function for call to ¿v8::Integer::ToUint32()¿
         v8::Isolate::GetCurrent(), val)->ToUint32();
                                                   ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2435:44: note: candidate: v8::MaybeLocal<v8::Uint32> v8::Value::ToUint32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Uint32> ToUint32(
                                            ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2435:44: note:   candidate expects 1 argument, 0 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::Int32; P = int]¿:
../node_modules/nan/nan.h:338:68: error: no matching function for call to ¿v8::Integer::ToInt32()¿
     return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32();
                                                                    ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2437:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                 Local<Int32> ToInt32(Isolate* isolate) const);
                              ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2450:30: note:   candidate expects 1 argument, 0 provided
                 Local<Int32> ToInt32(Isolate* isolate) const);
                              ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::Int32; P = unsigned int]¿:
../node_modules/nan/nan.h:343:68: error: no matching function for call to ¿v8::Integer::ToInt32()¿
     return v8::Int32::New(v8::Isolate::GetCurrent(), val)->ToInt32();
                                                                    ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2437:43: note: candidate: v8::MaybeLocal<v8::Int32> v8::Value::ToInt32(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<Int32> ToInt32(Local<Context> context) const;
                                           ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2437:43: note:   candidate expects 1 argument, 0 provided
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2450:30: note: candidate: v8::Local<v8::Int32> v8::Value::ToInt32(v8::Isolate*) const
                 Local<Int32> ToInt32(Isolate* isolate) const);
                              ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2450:30: note:   candidate expects 1 argument, 0 provided
                 Local<Int32> ToInt32(Isolate* isolate) const);
                              ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P, int) [with T = v8::String; P = unsigned char*]¿:
../node_modules/nan/nan.h:392:15: error: no matching function for call to ¿v8::String::NewFromOneByte(v8::Isolate*, uint8_t*&, v8::String::NewStringType, int&)¿
       , length);
               ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note:   no known conversion for argument 3 from ¿v8::String::NewStringType¿ to ¿v8::NewStringType¿
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P, int) [with T = v8::String; P = const unsigned char*]¿:
../node_modules/nan/nan.h:403:15: error: no matching function for call to ¿v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&, v8::String::NewStringType, int&)¿
       , length);
               ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note:   no known conversion for argument 3 from ¿v8::String::NewStringType¿ to ¿v8::NewStringType¿
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::String; P = unsigned char*]¿:
../node_modules/nan/nan.h:408:69: error: no matching function for call to ¿v8::String::NewFromOneByte(v8::Isolate*, uint8_t*&)¿
     return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg);
                                                                     ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note:   candidate expects 4 arguments, 2 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<T> NanNew(P) [with T = v8::String; P = const unsigned char*]¿:
../node_modules/nan/nan.h:414:69: error: no matching function for call to ¿v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*&)¿
     return v8::String::NewFromOneByte(v8::Isolate::GetCurrent(), arg);
                                                                     ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note: candidate: static v8::MaybeLocal<v8::String> v8::String::NewFromOneByte(v8::Isolate*, const uint8_t*, v8::NewStringType, int)
   static V8_WARN_UNUSED_RESULT MaybeLocal<String> NewFromOneByte(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2802:51: note:   candidate expects 4 arguments, 2 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)¿:
../node_modules/nan/nan.h:500:71: error: no matching function for call to ¿v8::String::NewExternal(v8::Isolate*, v8::String::ExternalStringResource*&)¿
     return v8::String::NewExternal(v8::Isolate::GetCurrent(), resource);
                                                                       ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2861:21: note: candidate: static v8::Local<v8::String> v8::String::NewExternal(v8::Isolate*, v8::String::ExternalOneByteStringResource*)
       Local<String> NewExternal(Isolate* isolate,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:346:48: note: in definition of macro ¿V8_DEPRECATE_SOON¿
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2861:21: note:   no known conversion for argument 2 from ¿v8::String::ExternalStringResource*¿ to ¿v8::String::ExternalOneByteStringResource*¿
       Local<String> NewExternal(Isolate* isolate,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:346:48: note: in definition of macro ¿V8_DEPRECATE_SOON¿
 #define V8_DEPRECATE_SOON(message, declarator) declarator
                                                ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:590:20: error: variable or field ¿NanAddGCEpilogueCallback¿ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^
../node_modules/nan/nan.h:590:7: error: ¿GCEpilogueCallback¿ is not a member of ¿v8::Isolate¿
       v8::Isolate::GCEpilogueCallback callback
       ^
../node_modules/nan/nan.h:591:18: error: expected primary-expression before ¿gc_type_filter¿
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../node_modules/nan/nan.h:596:20: error: variable or field ¿NanRemoveGCEpilogueCallback¿ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^
../node_modules/nan/nan.h:596:7: error: ¿GCEpilogueCallback¿ is not a member of ¿v8::Isolate¿
       v8::Isolate::GCEpilogueCallback callback) {
       ^
../node_modules/nan/nan.h:601:20: error: variable or field ¿NanAddGCPrologueCallback¿ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^
../node_modules/nan/nan.h:601:7: error: ¿GCPrologueCallback¿ is not a member of ¿v8::Isolate¿
       v8::Isolate::GCPrologueCallback callback
       ^
../node_modules/nan/nan.h:602:18: error: expected primary-expression before ¿gc_type_filter¿
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../node_modules/nan/nan.h:607:20: error: variable or field ¿NanRemoveGCPrologueCallback¿ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^
../node_modules/nan/nan.h:607:7: error: ¿GCPrologueCallback¿ is not a member of ¿v8::Isolate¿
       v8::Isolate::GCPrologueCallback callback) {
       ^
../node_modules/nan/nan.h:686:15: error: ¿WeakCallbackData¿ in namespace ¿v8¿ does not name a template type
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
               ^
../node_modules/nan/nan.h:686:31: error: expected ¿,¿ or ¿...¿ before ¿<¿ token
     const v8::WeakCallbackData<T, _NanWeakCallbackInfo<T, P> > &data) {
                               ^
../node_modules/nan/nan.h: In function ¿void _NanWeakCallbackDispatcher(int)¿:
../node_modules/nan/nan.h:687:42: error: ¿data¿ was not declared in this scope
       _NanWeakCallbackInfo<T, P> *info = data.GetParameter();
                                          ^
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:778:13: error: ¿node::smalloc¿ has not been declared
     , node::smalloc::FreeCallback callback
             ^
../node_modules/nan/nan.h:778:35: error: expected ¿,¿ or ¿...¿ before ¿callback¿
     , node::smalloc::FreeCallback callback
                                   ^
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)¿:
../node_modules/nan/nan.h:782:50: error: ¿callback¿ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^
../node_modules/nan/nan.h:782:60: error: ¿hint¿ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)¿:
../node_modules/nan/nan.h:789:67: error: invalid conversion from ¿const char*¿ to ¿char*¿ [-fpermissive]
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
In file included from ../src/././mysql_bindings.h:12:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
/home/alexis/.node-gyp/10.13.0/include/node/node_buffer.h:68:40: note:   initializing argument 2 of ¿v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t)¿
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:789:29: error: could not convert ¿node::Buffer::New(v8::Isolate::GetCurrent(), ((char*)data), ((size_t)size))¿ from ¿v8::MaybeLocal<v8::Object>¿ to ¿v8::Local<v8::Object>¿
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                             ^
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Object> NanNewBufferHandle(uint32_t)¿:
../node_modules/nan/nan.h:793:29: error: could not convert ¿node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))¿ from ¿v8::MaybeLocal<v8::Object>¿ to ¿v8::Local<v8::Object>¿
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                             ^
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Object> NanBufferUse(char*, uint32_t)¿:
../node_modules/nan/nan.h:800:12: error: ¿Use¿ is not a member of ¿node::Buffer¿
     return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
            ^
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>, const v8::ScriptOrigin&)¿:
../node_modules/nan/nan.h:827:74: error: no matching function for call to ¿v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)¿
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)
   static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ¿v8::Isolate*¿ to ¿v8::Local<v8::Context>¿
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)
   static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Script> NanCompileScript(v8::Local<v8::String>)¿:
../node_modules/nan/nan.h:834:74: error: no matching function for call to ¿v8::ScriptCompiler::Compile(v8::Isolate*, v8::ScriptCompiler::Source*)¿
     return v8::ScriptCompiler::Compile(v8::Isolate::GetCurrent(), &source);
                                                                          ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1510:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason)
   static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1510:51: note:   no known conversion for argument 1 from ¿v8::Isolate*¿ to ¿v8::Local<v8::Context>¿
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1537:51: note: candidate: static v8::MaybeLocal<v8::Script> v8::ScriptCompiler::Compile(v8::Local<v8::Context>, v8::ScriptCompiler::StreamedSource*, v8::Local<v8::String>, const v8::ScriptOrigin&)
   static V8_WARN_UNUSED_RESULT MaybeLocal<Script> Compile(
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1537:51: note:   candidate expects 4 arguments, 2 provided
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Value> NanRunScript(v8::Handle<v8::UnboundScript>)¿:
../node_modules/nan/nan.h:840:48: warning: ¿v8::Local<v8::Value> v8::Script::Run()¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return script->BindToCurrentContext()->Run();
                                                ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1271:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Run());
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Value> NanRunScript(v8::Handle<v8::Script>)¿:
../node_modules/nan/nan.h:846:24: warning: ¿v8::Local<v8::Value> v8::Script::Run()¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return script->Run();
                        ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:1271:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Run());
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::Function>, int, v8::Handle<v8::Value>*)¿:
../node_modules/nan/nan.h:855: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]
         v8::Isolate::GetCurrent(), target, func, argc, argv));
                                                            ^
In file included from ../src/mysql_bindings.cc:12:0:
/home/alexis/.node-gyp/10.13.0/include/node/node.h:176:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/alexis/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ¿NODE_DEPRECATED¿
     __attribute__((deprecated(message))) declarator
                                          ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, v8::Handle<v8::String>, int, v8::Handle<v8::Value>*)¿:
../node_modules/nan/nan.h:864: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]
         v8::Isolate::GetCurrent(), target, symbol, argc, argv));
                                                              ^
In file included from ../src/mysql_bindings.cc:12:0:
/home/alexis/.node-gyp/10.13.0/include/node/node.h:169:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/alexis/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ¿NODE_DEPRECATED¿
     __attribute__((deprecated(message))) declarator
                                          ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿v8::Local<v8::Value> NanMakeCallback(v8::Handle<v8::Object>, const char*, int, v8::Handle<v8::Value>*)¿:
../node_modules/nan/nan.h:873: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]
         v8::Isolate::GetCurrent(), target, method, argc, argv));
                                                              ^
In file included from ../src/mysql_bindings.cc:12:0:
/home/alexis/.node-gyp/10.13.0/include/node/node.h:162:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/alexis/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ¿NODE_DEPRECATED¿
     __attribute__((deprecated(message))) declarator
                                          ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In constructor ¿NanAsciiString::NanAsciiString(v8::Handle<v8::Value>)¿:
../node_modules/nan/nan.h:894:52: warning: ¿v8::Local<v8::String> v8::Value::ToString() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> toStr = from->ToString();
                                                    ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here
 Local<String> Value::ToString() const {
               ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:897:71: warning: ¿int v8::String::WriteOneByte(uint8_t*, int, int, int) const¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
       size = toStr->WriteOneByte(reinterpret_cast<unsigned char*>(buf));
                                                                       ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2652:21: note: declared here
                 int WriteOneByte(uint8_t* buffer, int start = 0,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In constructor ¿NanUtf8String::NanUtf8String(v8::Handle<v8::Value>)¿:
../node_modules/nan/nan.h:928:52: warning: ¿v8::Local<v8::String> v8::Value::ToString() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> toStr = from->ToString();
                                                    ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here
 Local<String> Value::ToString() const {
               ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:929:32: warning: ¿int v8::String::Utf8Length() const¿ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
       size = toStr->Utf8Length();
                                ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2587:52: note: declared here
   V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);
                                                    ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:931:27: warning: ¿int v8::String::WriteUtf8(char*, int, int*, int) const¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
       toStr->WriteUtf8(buf);
                           ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here
                 int WriteUtf8(char* buffer, int length = -1,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In constructor ¿NanUcs2String::NanUcs2String(v8::Handle<v8::Value>)¿:
../node_modules/nan/nan.h:961:52: warning: ¿v8::Local<v8::String> v8::Value::ToString() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> toStr = from->ToString();
                                                    ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here
 Local<String> Value::ToString() const {
               ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:964:23: warning: ¿int v8::String::Write(uint16_t*, int, int, int) const¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
       toStr->Write(buf);
                       ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2646:21: note: declared here
                 int Write(uint16_t* buffer, int start = 0, int length = -1,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In member function ¿v8::Handle<v8::Value> NanCallback::Call(int, v8::Handle<v8::Value>*) const¿:
../node_modules/nan/nan.h:1918: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]
     ));
     ^
../node_modules/nan/nan.h:517:59: note: in definition of macro ¿NanEscapeScope¿
 # define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                                                           ^
In file included from ../src/mysql_bindings.cc:12:0:
/home/alexis/.node-gyp/10.13.0/include/node/node.h:176:50: note: declared here
                 NODE_EXTERN v8::Local<v8::Value> MakeCallback(
                                                  ^
/home/alexis/.node-gyp/10.13.0/include/node/node.h:91:42: note: in definition of macro ¿NODE_DEPRECATED¿
     __attribute__((deprecated(message))) declarator
                                          ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h: In function ¿void* _NanRawString(v8::Handle<v8::Value>, Nan::Encoding, size_t*, void*, size_t, int)¿:
../node_modules/nan/nan.h:2246:48: warning: ¿v8::Local<v8::String> v8::Value::ToString() const¿ is deprecated: Use maybe version [-Wdeprecated-declarations]
   v8::Local<v8::String> toStr = from->ToString();
                                                ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:10040:15: note: declared here
 Local<String> Value::ToString() const {
               ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:2296:18: warning: ¿int v8::String::WriteOneByte(uint8_t*, int, int, int) const¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
           , flags));
                  ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2652:21: note: declared here
                 int WriteOneByte(uint8_t* buffer, int start = 0,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:2300:31: warning: ¿int v8::String::Utf8Length() const¿ is deprecated: Use Isolate version instead [-Wdeprecated-declarations]
       sz_ = toStr->Utf8Length();
                               ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2587:52: note: declared here
   V8_DEPRECATED("Use Isolate version instead", int Utf8Length() const);
                                                    ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:2309:26: warning: ¿int v8::String::WriteUtf8(char*, int, int*, int) const¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
             , NULL, flags)
                          ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2659:21: note: declared here
                 int WriteUtf8(char* buffer, int length = -1,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:2314:38: warning: ¿v8::String::Value::Value(v8::Local<v8::Value>)¿ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         v8::String::Value value(toStr);
                                      ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2916:51: note: declared here
     V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:2342:18: warning: ¿int v8::String::Write(uint16_t*, int, int, int) const¿ is deprecated: Use Isolate* version [-Wdeprecated-declarations]
           , flags);
                  ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2646:21: note: declared here
                 int Write(uint16_t* buffer, int start = 0, int length = -1,
                     ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/././mysql_bindings.h:14:0,
                 from ../src/./mysql_bindings_connection.h:22,
                 from ../src/mysql_bindings.cc:17:
../node_modules/nan/nan.h:2348:38: warning: ¿v8::String::Value::Value(v8::Local<v8::Value>)¿ is deprecated: Use Isolate version [-Wdeprecated-declarations]
         v8::String::Value value(toStr);
                                      ^
In file included from /home/alexis/.node-gyp/10.13.0/include/node/v8.h:26:0,
                 from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:2916:51: note: declared here
     V8_DEPRECATED("Use Isolate version", explicit Value(Local<v8::Value> obj));
                                                   ^
/home/alexis/.node-gyp/10.13.0/include/node/v8config.h:324:3: note: in definition of macro ¿V8_DEPRECATED¿
   declarator __attribute__((deprecated(message)))
   ^
In file included from ../src/mysql_bindings.cc:17:0:
../src/./mysql_bindings_connection.h: At global scope:
../src/./mysql_bindings_connection.h:54:17: error: ¿Persistent¿ in namespace ¿Nan¿ does not name a template type
     static Nan::Persistent<FunctionTemplate> constructor_template;
                 ^
../src/./mysql_bindings_connection.h:115:9: error: ¿Callback¿ does not name a type
         Callback * nan_callback;
         ^
../src/./mysql_bindings_connection.h:184:9: error: ¿Callback¿ does not name a type
         Callback * nan_callback;
         ^
In file included from ../src/mysql_bindings.cc:18:0:
../src/./mysql_bindings_result.h:37:17: error: ¿Persistent¿ in namespace ¿Nan¿ does not name a template type
     static Nan::Persistent<FunctionTemplate> constructor_template;
                 ^
../src/./mysql_bindings_result.h:86:9: error: ¿Callback¿ does not name a type
         Callback * nan_callback;
         ^
In file included from ../src/mysql_bindings.cc:19:0:
../src/./mysql_bindings_statement.h:48:17: error: ¿Persistent¿ in namespace ¿Nan¿ does not name a template type
     static Nan::Persistent<FunctionTemplate> constructor_template;
                 ^
../src/./mysql_bindings_statement.h:107:9: error: ¿Callback¿ does not name a type
         Callback * nan_callback ;
         ^
../src/./mysql_bindings_statement.h:123:9: error: ¿Callback¿ does not name a type
         Callback * nan_callback;
         ^
../src/./mysql_bindings_statement.h:168:9: error: ¿Callback¿ does not name a type
         Callback * nan_callback;
         ^
../src/mysql_bindings.cc: In function ¿void InitMysqlLibmysqlclient(v8::Handle<v8::Object>)¿:
../src/mysql_bindings.cc:31:5: error: ¿HandleScope¿ is not a member of ¿Nan¿
     Nan::HandleScope scope;
     ^
../src/mysql_bindings.cc:31:5: note: suggested alternatives:
In file included from /home/alexis/.node-gyp/10.13.0/include/node/node.h:63:0,
                 from ../src/mysql_bindings.cc:12:
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:864:17: note:   ¿v8::HandleScope¿
 class V8_EXPORT HandleScope {
                 ^
/home/alexis/.node-gyp/10.13.0/include/node/v8.h:864:17: note:   ¿v8::HandleScope¿
mysql_bindings.target.mk:106: recipe for target 'Release/obj.target/mysql_bindings/src/mysql_bindings.o' failed

@guimard
Copy link
Author

guimard commented Nov 26, 2018

@AlexisWilke : no response here, I switched to nodedbi and packaged it for Debian: node-nodedbi.

Cheers,
Xavier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants