nwjs / nw-gyp

native addon build tool for node-webkit
MIT License
195 stars 46 forks source link

Cannot compile sqlite3 on Windows against latest nwjs (0.39+) #130

Open panther7 opened 4 years ago

panther7 commented 4 years ago

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:

$ node -v
v12.7.0

$ npm -v
6.10.0

$ npm -g list nw-gyp node-pre-gyp
C:\Users\user_xyz\AppData\Roaming\npm
+-- node-pre-gyp@0.13.0
+-- nw-gyp@3.6.3
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(T *)' being compiled with [ T=node_sqlite3::Backup::InitializeBaton ] ..\src\backup.cc(82): 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(74): 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(153): note: see reference to function template instantiation 'void node_sqlite3::Statement::Error(T *)' being compiled with [ T=node_sqlite3::Statement::PrepareBaton ] ..\src\statement.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' Creating library C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.lib and object C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\node_sqlite3.exp backup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) referenced in function __unwindfunclet$?Get@Nan@@YA?AV?$MaybeLocal@VValue@v8@@@v8@@V?$Local@VObject@v8@@@3@I@Z$0 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] database.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] node_sqlite3.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] statement.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall v8::EscapableHandleScope::~EscapableHandleScope(void)" (__imp_??1EscapableHandleScope@v8@@QAE@XZ) [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\sqlite3\build\Release\node_sqlite3.node : fatal error LNK1120: 1 unresolved externals [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\user_xyz\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js:261:23) gyp ERR! stack at ChildProcess.emit (events.js:203:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\AppData\\Roaming\\npm\\node_modules\\nw-gyp\\bin\\nw-gyp.js" "build" "--fallback-to-build" "--module=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.40.0-win32-ia32\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.40.0-win32-ia32" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-webkit-v0.40.0" gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3 gyp ERR! node -v v12.7.0 gyp ERR! nw-gyp -v v3.6.3 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.0' (1) node-pre-gyp ERR! stack at ChildProcess. (C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:203:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) node-pre-gyp ERR! System Windows_NT 10.0.18362 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3 node-pre-gyp ERR! node -v v12.7.0 node-pre-gyp ERR! node-pre-gyp -v v0.11.0 node-pre-gyp ERR! not ok Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.40.0-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.40.0' (1) npm WARN _build-workspace@1.0.0 No description npm WARN _build-workspace@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sqlite3@4.0.9 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@4.0.9 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user_xyz\AppData\Roaming\npm-cache\_logs\2019-08-01T09_30_15_511Z-debug.log ```

@rogerwang

Wizek commented 4 years ago

I seem to be having the same issue.

panther7 commented 4 years ago

Do someone progress?

gpetrov commented 4 years ago

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

panther7 commented 4 years ago

This problem is old over 3 months. I stop believing that he will ever solve it.

panther7 commented 4 years ago

After update to nw-gyp@3.6.4 we have new error.

Log: ``` + npm install sqlite3@4.1.0 --build-from-source --runtime=node-webkit --target_arch=ia32 --target=0.41.1 > sqlite3@4.1.0 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 needle 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 clang-cl : warning : argument unused during compilation: '/MP' [-Wunused-command-line-argument] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] clang-cl : warning : argument unused during compilation: '/Gm-' [-Wunused-command-line-argument] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\obj\global_intermediate\sqlite-autoconf-3280000\sqlite3.c(41067,35): warning : unused variable 'sqlite3_os_type' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] static LONG SQLITE_WIN32_VOLATILE sqlite3_os_type = 0; ^ 1 warning generated. clang-cl : warning : argument unused during compilation: '/MP' [-Wunused-command-line-argument] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] clang-cl : warning : argument unused during compilation: '/Gm-' [-Wunused-command-line-argument] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\deps\sqlite3.vcxproj] sqlite3.vcxproj -> C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\Release\\sqlite3.lib clang-cl : warning : argument unused during compilation: '/MP' [-Wunused-command-line-argument] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] clang-cl : warning : argument unused during compilation: '/Gm-' [-Wunused-command-line-argument] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] ..\src\backup.cc(105,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(119,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(167,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), filename, ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(168,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(), Nan::New("sourceName").ToLocalChecked(), sourceName, ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(169,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(), Nan::New("destName").ToLocalChecked(), destName, ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(170,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(), Nan::New("filenameIsDest").ToLocalChecked(), filenameIsDest, ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(188,9): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] int status = uv_queue_work(uv_default_loop(), ^ ..\src\backup.cc(236,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(backup->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(255,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] BACKUP_BEGIN(Step); ^ ..\src/macros.h(154,9): note: expanded from macro 'BACKUP_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\backup.cc(301,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(backup->handle(), cb, 2, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(319,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] BACKUP_BEGIN(Finish); ^ ..\src/macros.h(154,9): note: expanded from macro 'BACKUP_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\backup.cc(336,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(backup->handle(), cb, 0, NULL); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(78,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(backup->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\backup.cc(82,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(backup->handle(), 2, argv); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ 14 warnings generated. ..\src\database.cc(49,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(this->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(63,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(92,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(96,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(handle(), 2, argv); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(133,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(), Nan::New("filename").ToLocalChecked(), info[0].As(), ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(134,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(), Nan::New("mode").ToLocalChecked(), Nan::New(mode), ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(144,9): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] int status = uv_queue_work(uv_default_loop(), ^ ..\src\database.cc(190,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(194,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(199,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 1, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(230,9): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] int status = uv_queue_work(uv_default_loop(), ^ ..\src\database.cc(273,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(277,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(282,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 1, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(297,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(info.This(), callback, 0, NULL); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(314,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(info.This(), callback, 0, NULL); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(421,5): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 2, argv); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(462,5): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 3, argv); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(507,5): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 4, argv); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(528,9): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] int status = uv_queue_work(uv_default_loop(), ^ ..\src\database.cc(564,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(568,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(573,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(603,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(baton->db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(628,9): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] int status = uv_queue_work(uv_default_loop(), ^ ..\src\database.cc(666,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(670,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(db->handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\database.cc(675,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(db->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ 28 warnings generated. ..\src\node_sqlite3.cc(23,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READONLY, OPEN_READONLY); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(24,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_READWRITE, OPEN_READWRITE); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(25,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_CREATE, OPEN_CREATE); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(26,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_FULLMUTEX, OPEN_FULLMUTEX); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(27,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_URI, OPEN_URI); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(28,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_SHAREDCACHE, OPEN_SHAREDCACHE); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(29,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OPEN_PRIVATECACHE, OPEN_PRIVATECACHE); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(30,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_STRING(target, SQLITE_VERSION, VERSION); ^ ..\src/macros.h(71,10): note: expanded from macro 'DEFINE_CONSTANT_STRING' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(32,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_STRING(target, SQLITE_SOURCE_ID, SOURCE_ID); ^ ..\src/macros.h(71,10): note: expanded from macro 'DEFINE_CONSTANT_STRING' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(34,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_VERSION_NUMBER, VERSION_NUMBER); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(36,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_OK, OK); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(37,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_ERROR, ERROR); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(38,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERNAL, INTERNAL); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(39,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_PERM, PERM); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(40,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_ABORT, ABORT); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(41,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_BUSY, BUSY); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(42,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_LOCKED, LOCKED); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(43,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_NOMEM, NOMEM); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(44,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_READONLY, READONLY); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(45,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_INTERRUPT, INTERRUPT); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(46,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_IOERR, IOERR); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(47,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_CORRUPT, CORRUPT); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(48,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTFOUND, NOTFOUND); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(49,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_FULL, FULL); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(50,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_CANTOPEN, CANTOPEN); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(51,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_PROTOCOL, PROTOCOL); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(52,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_EMPTY, EMPTY); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(53,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_SCHEMA, SCHEMA); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(54,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_TOOBIG, TOOBIG); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(55,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_CONSTRAINT, CONSTRAINT); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(56,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_MISMATCH, MISMATCH); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(57,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_MISUSE, MISUSE); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(58,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_NOLFS, NOLFS); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(59,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_AUTH, AUTH); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(60,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_FORMAT, FORMAT); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(61,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_RANGE, RANGE); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\node_sqlite3.cc(62,5): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] DEFINE_CONSTANT_INTEGER(target, SQLITE_NOTADB, NOTADB); ^ ..\src/macros.h(64,10): note: expanded from macro 'DEFINE_CONSTANT_INTEGER' Nan::ForceSet(target, \ ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ 37 warnings generated. ..\src\statement.cc(103,10): warning : 'ForceSet' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] Nan::ForceSet(info.This(),Nan::New("sql").ToLocalChecked(), sql, ReadOnly); ^ ..\..\nan/nan_maybe_43_inl.h(117,1): note: 'ForceSet' has been explicitly marked deprecated here NAN_DEPRECATED inline Maybe ForceSet( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(118,9): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] int status = uv_queue_work(uv_default_loop(), ^ ..\src\statement.cc(161,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(322,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] STATEMENT_BEGIN(Bind); ^ ..\src/macros.h(128,9): note: expanded from macro 'STATEMENT_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\statement.cc(347,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(370,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] STATEMENT_BEGIN(Get); ^ ..\src/macros.h(128,9): note: expanded from macro 'STATEMENT_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\statement.cc(412,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 2, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(416,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(438,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] STATEMENT_BEGIN(Run); ^ ..\src/macros.h(128,9): note: expanded from macro 'STATEMENT_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\statement.cc(483,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(504,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] STATEMENT_BEGIN(All); ^ ..\src/macros.h(128,9): note: expanded from macro 'STATEMENT_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\statement.cc(556,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 2, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(564,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 2, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(601,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] STATEMENT_BEGIN(Each); ^ ..\src/macros.h(128,9): note: expanded from macro 'STATEMENT_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\statement.cc(680,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(694,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(async->stmt->handle(), cb, 2, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(724,5): warning : unused variable 'status' [-Wunused-variable] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] STATEMENT_BEGIN(Reset); ^ ..\src/macros.h(128,9): note: expanded from macro 'STATEMENT_BEGIN' int status = uv_queue_work(uv_default_loop(), \ ^ ..\src\statement.cc(743,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(837,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(baton->stmt->handle(), cb, 0, NULL); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(873,17): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(887,13): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(handle(), 2, info); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(74,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] TRY_CATCH_CALL(stmt->handle(), cb, 1, argv); ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ ..\src\statement.cc(78,9): warning : 'MakeCallback' is deprecated [-Wdeprecated-declarations] [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] EMIT_EVENT(stmt->handle(), 2, argv); ^ ..\src/macros.h(105,5): note: expanded from macro 'EMIT_EVENT' TRY_CATCH_CALL((obj), \ ^ ..\src/macros.h(112,10): note: expanded from macro 'TRY_CATCH_CALL' Nan::MakeCallback((context), (callback), (argc), (argv)) ^ ..\..\nan\nan.h(1024,3): note: 'MakeCallback' has been explicitly marked deprecated here NAN_DEPRECATED inline v8::Local MakeCallback( ^ ..\..\nan\nan.h(107,36): note: expanded from macro 'NAN_DEPRECATED' # define NAN_DEPRECATED __declspec(deprecated) ^ 23 warnings generated. lld-link : error : Release\obj\node_sqlite3\backup.obj: machine type x64 conflicts with x86 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] lld-link : error : Release\obj\node_sqlite3\database.obj: machine type x64 conflicts with x86 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] lld-link : error : Release\obj\node_sqlite3\node_sqlite3.obj: machine type x64 conflicts with x86 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] lld-link : error : Release\obj\node_sqlite3\statement.obj: machine type x64 conflicts with x86 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] lld-link : error : Release\obj\node_sqlite3\win_delay_load_hook.obj: machine type x64 conflicts with x86 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] lld-link : error : sqlite3.lib(sqlite3.obj): machine type x64 conflicts with x86 [C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\build\node_sqlite3.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\user_xyz\AppData\Roaming\npm\node_modules\nw-gyp\lib\build.js:268:23) gyp ERR! stack at ChildProcess.emit (events.js:209:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\AppData\\Roaming\\npm\\node_modules\\nw-gyp\\bin\\nw-gyp.js" "build" "--fallback-to-build" "--module=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.41.1-win32-ia32\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\user_xyz\\git\\browser\\CustomModules\\_build-workspace\\node_modules\\sqlite3\\lib\\binding\\node-webkit-v0.41.1-win32-ia32" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-webkit-v0.41.1" gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3 gyp ERR! node -v v12.10.0 gyp ERR! nw-gyp -v v3.6.4 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.41.1-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.41.1-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.41.1' (1) node-pre-gyp ERR! stack at ChildProcess. (C:\Users\user_xyz\AppData\Roaming\npm\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:209:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) node-pre-gyp ERR! System Windows_NT 10.0.18362 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user_xyz\\AppData\\Roaming\\npm\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3 node-pre-gyp ERR! node -v v12.10.0 node-pre-gyp ERR! node-pre-gyp -v v0.13.0 node-pre-gyp ERR! not ok Failed to execute 'nw-gyp.cmd build --fallback-to-build --module=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.41.1-win32-ia32\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\user_xyz\git\browser\CustomModules\_build-workspace\node_modules\sqlite3\lib\binding\node-webkit-v0.41.1-win32-ia32 --napi_version=4 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-webkit-v0.41.1' (1) npm WARN _build-workspace@1.0.0 No description npm WARN _build-workspace@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sqlite3@4.1.0 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@4.1.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\user_xyz\AppData\Roaming\npm-cache\_logs\2019-09-18T12_06_25_954Z-debug.log ```

@rogerwang

gpetrov commented 4 years ago

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

rogerwang commented 4 years ago

just published 3.6.5 for the ia32 issue.

panther7 commented 4 years ago

@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

panther7 commented 4 years ago

BTW, x64 works, but x86 not :-/

gpetrov commented 4 years ago

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.
panther7 commented 4 years ago

@rogerwang any progress with x86 build?

mploscos commented 4 years ago

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( #name ).ToLocalChecked(), Nan::New(static_cast(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(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.
mploscos commented 4 years ago

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.

rogerwang commented 4 years ago

@panther7 x86 works for me. Could you share more details?

panther7 commented 4 years ago

@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

panther7 commented 4 years ago

Crash dump: Crashpad.zip

rogerwang commented 4 years ago

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.

panther7 commented 4 years ago

@rogerwang Good job, but it isn't right solution. Do you have any idea, how fix compile it normaly (OptimizationFull && FavorSpeed)?

rogerwang commented 4 years ago

It’s not. Just used to illustrate where the root cause is.

The bug could be in clang or SQLite though.

panther7 commented 4 years ago

Maybe, try update to newer node-gyp, https://github.com/nodejs/node-gyp/blob/master/CHANGELOG.md

rogerwang commented 4 years ago

@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.

panther7 commented 4 years ago

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

ZackCoddington commented 4 years ago

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.