Open panther7 opened 4 years ago
I seem to be having the same issue.
Do someone progress?
This is still an issue even with nwjs 0.41.0-beta1 - no native modules can be compiled.
Really hope @rogerwang can solve it soon
This problem is old over 3 months. I stop believing that he will ever solve it.
After update to nw-gyp@3.6.4 we have new error.
@rogerwang
Just hit the same wall https://github.com/mapbox/node-pre-gyp seems to be incompatible with the latest nw-gyp (didn't had troubles with nw-gyp 3.4.0)
I'm trying to build nodegit and it requires nore-pre-gyp for building. Hope @rogerwang can solve this as well
just published 3.6.5 for the ia32 issue.
@rogerwang
Now, we can build sqlite3-node
, but after init db, browser will crash, example:
var sqlite3 = require('sqlite3');
var db = new sqlite3.Database(':memory:');
// crash
Tested on 0.39.1 and 0.41.1
Example: nw-db-init.zip
Build log from sqlite3
, to much warnings: build.log
BTW, x64 works, but x86 not :-/
My modules build as well on x64 - but it takes 3x longer and the .node files are twice the size of the ones build with the MSVC tools.
it does rain warnings like:
clang-cl : warning : argument unused during compilation: '/MP' [-Wunused-command-line-argument] [xxxx.vcxproj]
clang-cl : warning : argument unused during compilation: '/Gm-' [-Wunused-command-line-argument]
warning : '_HAS_EXCEPTIONS' macro redefined [-Wmacro-redefined]
note: previous definition is here
\vendor\include\glib-2.0\glib/gtypes.h(449): warning : unused typedef '_GStaticAssertCompileTimeAssertion_0' [-Wunuse
d-local-typedef] [sharp.vcxproj]
..\vendor\include\glib-2.0\glib/gmacros.h(721): note: expanded from macro 'G_STATIC_ASSERT'
..\vendor\include\glib-2.0\glib/gmacros.h(719): note: expanded from macro 'G_PASTE'
..\vendor\include\glib-2.0\glib/gmacros.h(718): note: expanded from macro 'G_PASTE_ARGS'
<scratch space>(91): note: expanded from here
also maybe building is slower as the parallel building is off:
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
@rogerwang any progress with x86 build?
Hello,
There are other npm modules with compilation errors: ref, ffi, serialport
I don't know if these errors are related to this issue.
I'm trying to build with following configuration: SO: Windows 7 x64 nwjs --> 0.41.2 node --> v12.5.0 npm --> 6.9.2 node-pre-gyp --> 0.13.0 nw-gyp --> 3.6.5
Any clue where i can investigate. Thanks
Logs (npm install ref):
ref@1.3.5 install C:\Users\user\Documents\node_modules\ref node-gyp rebuild
C:\Users\user\Documents\node_modules\ref>if not defined npm_config_node_gyp (node "C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\user\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js" rebuild )
Los proyectos de esta soluci¢n se van a compilar de uno en uno. Para habilitar la compilaci¢n en paralelo, agregue el modificador "/m".
clang-cl : warning : argument unused during compilation: '/MP' [-Wunused-command-line-argument] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
clang-cl : warning : argument unused during compilation: '/Gm-' [-Wunused-command-line-argument] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
..\src\binding.cc(222,30): warning : 'BooleanValue' is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
bool persistent = info[3]->BooleanValue();
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2572,3): note: 'BooleanValue' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", bool BooleanValue() const);
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
..\src\binding.cc(253,26): warning : 'Uint32Value' is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
size_t size = info[2]->Uint32Value();
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2575,3): note: 'Uint32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
..\src\binding.cc(360,23): warning : 'Utf8Value' is deprecated: Use Isolate version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
String::Utf8Value _str(in);
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2995,5): note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
..\src\binding.cc(447,23): warning : 'Utf8Value' is deprecated: Use Isolate version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
String::Utf8Value _str(in);
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2995,5): note: 'Utf8Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use Isolate version",
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
..\src\binding.cc(521,26): warning : 'Uint32Value' is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
size_t size = info[1]->Uint32Value();
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2575,3): note: 'Uint32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
..\src\binding.cc(550,32): warning : 'Uint32Value' is deprecated: Use maybe version [-Wdeprecated-declarations] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
uint32_t numZeros = info[1]->Uint32Value();
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include\v8.h(2575,3): note: 'Uint32Value' has been explicitly marked deprecated here
V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
^
C:\Users\user.nw-gyp\0.41.2\deps\v8\include/v8config.h(311,29): note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated(message)))
^
..\src\binding.cc(582,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(int8, int8_t);
^~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(583,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(uint8, uint8_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(584,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(int16, int16_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(585,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(uint16, uint16_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(586,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(int32, int32_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(587,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(uint32, uint32_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(588,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(int64, int64_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(589,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(uint64, uint64_t);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(590,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(float, float);
^~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(591,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(double, double);
^~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(593,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(bool, bool);
^~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(594,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(byte, unsigned char);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(595,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(char, char);
^~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(596,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(uchar, unsigned char);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(597,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(short, short);
^~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(598,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(ushort, unsigned short);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(599,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(int, int);
^~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(600,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(uint, unsigned int);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\binding.cc(601,3): error : no matching member function for call to 'Set' [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
SET_SIZEOF(long, long);
^~~~~~~~~~~~~~~~~~~~~~
..\src\binding.cc(581,9): note: expanded from macro 'SET_SIZEOF'
smap->Set(Nan::New<v8::String>( #name ).ToLocalChecked(), Nan::New<v8::Uint32>(static_cast<uint32_t>(sizeof(type))));
~~~~~~^~~
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\user\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
CL : fatal error : too many errors emitted, stopping now [-ferror-limit=] [C:\Users\user\Documents\node_modules\ref\build\binding.vcxproj]
6 warnings and 20 errors generated.
Logs (npm install serialport):
> @serialport/bindings@2.0.8 install C:\Users\c82209\Documents\node_modules\@serialport\bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
C:\Users\c82209\Documents\node_modules\@serialport\bindings>if not defined npm_config_node_gyp (node "C:\Users\c82209\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\c82209\AppData\Roaming\npm\node_modules\nw-gyp\bin\nw-gyp.js" rebuild )
Los proyectos de esta soluci¢n se van a compilar de uno en uno. Para habilitar la compilaci¢n en paralelo, agregue el modificador "/m".
clang-cl : warning : argument unused during compilation: '/MP' [-Wunused-command-line-argument] [C:\Users\c82209\Documents\node_modules\@serialport\bindings\build\bindings.vcxproj]
clang-cl : warning : argument unused during compilation: '/Gm-' [-Wunused-command-line-argument] [C:\Users\c82209\Documents\node_modules\@serialport\bindings\build\bindings.vcxproj]
..\src\serialport.cpp(329,14): error : no matching member function for call to 'Set' [C:\Users\c82209\Documents\node_modules\@serialport\bindings\build\bindings.vcxproj]
results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
~~~~~~~~~^~~
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\serialport.cpp(330,14): error : no matching member function for call to 'Set' [C:\Users\c82209\Documents\node_modules\@serialport\bindings\build\bindings.vcxproj]
results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
~~~~~~~~~^~~
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\serialport.cpp(331,14): error : no matching member function for call to 'Set' [C:\Users\c82209\Documents\node_modules\@serialport\bindings\build\bindings.vcxproj]
results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
~~~~~~~~~^~~
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
..\src\serialport.cpp(378,14): error : no matching member function for call to 'Set' [C:\Users\c82209\Documents\node_modules\@serialport\bindings\build\bindings.vcxproj]
results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
~~~~~~~~~^~~
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3365,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
C:\Users\c82209\.nw-gyp\0.41.2\deps\v8\include\v8.h(3368,37): note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
4 errors generated.
serialport@8.0.3 Compile with nwjs x64 0.41.2 Ref and ffi modules compile with some code modifications: ffi.cc, callback_info.cc and binding.cc. I want to commit this changes when I have a little time.
So, these errors are not related with this issue. Sorry.
@panther7 x86 works for me. Could you share more details?
@rogerwang
Yes, build is successfully, but after use sqlite in nwjs, crash it.
Btw:
# 1)
npm i -g nw-gyp node-pre-gyp &&
npm i -g --production --vs2015 windows-build-tools &&
git clone https://github.com/mapbox/node-sqlite3.git &&
cd node-sqlite3
# now you must modify: https://github.com/rogerwang/node-sqlite3-nwtest/commit/de4f51bd95d6a5be068b2da9b24a4a0976a01399#diff-21e418851ae48f9b11907837add9e39a
nw-gyp configure --arch=ia32 --target=0.41.2 &&
nw-gyp build --arch=ia32 --target=0.41.2
same like:
# 2)
npm i -g nw-gyp node-pre-gyp &&
npm i -g --production --vs2015 windows-build-tools &&
mkdir _test_sqlite3 && cd _test_sqlite3 &&
npm i sqlite3 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.41.2
# https://github.com/mapbox/node-sqlite3#building-for-node-webkit
Demo in attachment: demo.zip Need include NWjs + sqlite3 build for ia32
Crash dump: Crashpad.zip
I just found the crash is related clang optimization under ia32: if you build it with debug configuration (nw-gyp --debug) it works well.
Changing <Optimization>Full</Optimization>
to <Optimization>Disabled</Optimization>
and removing <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
in build/deps/sqlite3.vcxproj
has the same effect.
@rogerwang Good job, but it isn't right solution. Do you have any idea, how fix compile it normaly (OptimizationFull && FavorSpeed)?
It’s not. Just used to illustrate where the root cause is.
The bug could be in clang or SQLite though.
Maybe, try update to newer node-gyp, https://github.com/nodejs/node-gyp/blob/master/CHANGELOG.md
@panther7 I don't think node-gyp version has anything to do with this. The root cause is pin pointed with the experiment shown above.
Yeah, you have probably right.
I think, that could you close this issue and write to readme about this problem, building for ia32 with --debug parameter, like:¨
npm i sqlite3 --debug --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.41.2
I ran into a similar issue building node-hid. After tearing my hair out for hours focusing on Node-hid, and nwjs I was able to resolve the issue by updating my nw-gyp from 3.6.3 to 3.6.5. Teaches me to let my global packages go stale.
Original issue: https://github.com/mapbox/node-sqlite3/issues/1179
All works on 0.38.x and older.
node-sqlite: https://www.npmjs.com/package/sqlite3
Apps:
Log:
``` + npm install sqlite3@4.0.9 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.40.0 > sqlite3@4.0.9 install C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3 > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. unpack_sqlite_dep cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] sqlite3.c cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] win_delay_load_hook.cc sqlite3.vcxproj -> C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\\sqlite3.lib cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] backup.cc cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] database.cc cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] node_sqlite3.cc cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] statement.cc cl : Command line warning D9002: ignoring unknown option '/Zc:dllexportInlines-' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] win_delay_load_hook.cc ..\src\database.cc(49): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(63): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(92): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(96): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(133): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\database.cc(134): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\database.cc(190): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(194): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(199): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(105): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(119): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(273): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(277): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(282): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(167): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\database.cc(297): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(168): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\backup.cc(169): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\database.cc(314): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(170): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\backup.cc(236): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\statement.cc(103): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\statement.cc(161): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(301): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(336): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\database.cc(421): warning C4996: 'Nan::MakeCallback': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\statement.cc(347): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\statement.cc(412): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\statement.cc(416): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\statement.cc(483): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\database.cc(462): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\node_sqlite3.cc(23): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(24): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\statement.cc(556): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(25): warning C4996: 'Nan::ForceSet': was declared deprecated ..\src\statement.cc(564): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(26): warning C4996: 'Nan::ForceSet': was declared deprecated c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(507): warning C4996: 'Nan::MakeCallback': was declared deprecated ..\src\node_sqlite3.cc(27): warning C4996: 'Nan::ForceSet': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\statement.cc(680): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\node_sqlite3.cc(28): warning C4996: 'Nan::ForceSet': was declared deprecatedC:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(694): warning C4996: 'Nan::MakeCallback': was declared deprecated C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(29): warning C4996: 'Nan::ForceSet': was declared deprecated..\src\database.cc(564): warning C4996: 'Nan::MakeCallback': was declared deprecated c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(30): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(32): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\statement.cc(743): warning C4996: 'Nan::MakeCallback': was declared deprecated c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(568): warning C4996: 'Nan::MakeCallback': was declared deprecated C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'..\src\node_sqlite3.cc(34): warning C4996: 'Nan::ForceSet': was declared deprecated C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\database.cc(573): warning C4996: 'Nan::MakeCallback': was declared deprecated..\src\node_sqlite3.cc(36): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(37): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(38): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(39): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(40): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(41): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(42): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(43): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\statement.cc(837): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\node_sqlite3.cc(44): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(45): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(46): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(603): warning C4996: 'Nan::MakeCallback': was declared deprecated ..\src\node_sqlite3.cc(47): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\node_sqlite3.cc(48): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(49): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(873): warning C4996: 'Nan::MakeCallback': was declared deprecated ..\src\node_sqlite3.cc(50): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\node_sqlite3.cc(51): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\statement.cc(887): warning C4996: 'Nan::MakeCallback': was declared deprecated ..\src\node_sqlite3.cc(52): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(53): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(54): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\database.cc(666): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\node_sqlite3.cc(55): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet'..\src\database.cc(670): warning C4996: 'Nan::MakeCallback': was declared deprecated ..\src\node_sqlite3.cc(56): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback'c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(57): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\database.cc(675): warning C4996: 'Nan::MakeCallback': was declared deprecatedc:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\node_sqlite3.cc(58): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(59): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(60): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(61): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\node_sqlite3.cc(62): warning C4996: 'Nan::ForceSet': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] c:\users\user_xyz\git\browser\custommodules\_build-workspace\node_modules\nan\nan_maybe_43_inl.h(117): note: see declaration of 'Nan::ForceSet' ..\src\backup.cc(78): warning C4996: 'Nan::MakeCallback': was declared deprecated [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\nan\nan.h(1024): note: see declaration of 'Nan::MakeCallback' ..\src\backup.cc(228): note: see reference to function template instantiation 'void node_sqlite3::Backup::Error@rogerwang