Created
August 16, 2019 11:21
-
-
Save douira/066a8bb4cd9781434a0242c09a927b3b to your computer and use it in GitHub Desktop.
node-native-printer compile output errors on install on macOS 10.14.6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ npm install --save node-native-printer | |
> node-native-printer@1.0.0-beta.5 install /Users/douira/Documents/dev/resolution-editor-next/node_modules/node-native-printer | |
> node install/install.js | |
../lib/unix/API.cpp:17:17: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
printer->Set(UTF8_STRING("name"), UTF8_STRING(dests[i].name)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:17:38: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
printer->Set(UTF8_STRING("name"), UTF8_STRING(dests[i].name)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:17:13: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
printer->Set(UTF8_STRING("name"), UTF8_STRING(dests[i].name)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:18:17: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
printer->Set(UTF8_STRING("default"), Boolean::New(isolate, static_cast<bool>(dests[i].is_default))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:18:13: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
printer->Set(UTF8_STRING("default"), Boolean::New(isolate, static_cast<bool>(dests[i].is_default))); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:20:14: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
printers->Set(i, printer); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3374:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:32:4: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
THROW_EXCEPTION("Too few arguments"); | |
^ | |
../lib/unix/API.hpp:9:88: note: expanded from macro 'THROW_EXCEPTION' | |
#define THROW_EXCEPTION(msg) isolate->ThrowException(v8::Exception::TypeError(String::NewFromUtf8(isolate, msg))) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:36:38: error: no matching member function for call to 'ToString' | |
String::Utf8Value printer(args[0]->ToString()); | |
~~~~~~~~~^~~~~~~~ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2535:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided | |
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2551:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided | |
Local<String> ToString(Isolate* isolate) const); | |
^ | |
../lib/unix/API.cpp:41:4: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
THROW_EXCEPTION("Printer not found or error retrieving printer"); | |
^ | |
../lib/unix/API.hpp:9:88: note: expanded from macro 'THROW_EXCEPTION' | |
#define THROW_EXCEPTION(msg) isolate->ThrowException(v8::Exception::TypeError(String::NewFromUtf8(isolate, msg))) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:53:21: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
CUPSOptions->Set(UTF8_STRING(dest->options[i].name), UTF8_STRING(dest->options[i].value)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:53:57: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
CUPSOptions->Set(UTF8_STRING(dest->options[i].name), UTF8_STRING(dest->options[i].value)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:53:17: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
CUPSOptions->Set(UTF8_STRING(dest->options[i].name), UTF8_STRING(dest->options[i].value)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:65:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("completed_time"), UTF8_STRING(httpGetDateString(printerJobs[i].completed_time))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:65:44: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("completed_time"), UTF8_STRING(httpGetDateString(printerJobs[i].completed_time))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:65:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("completed_time"), UTF8_STRING(httpGetDateString(printerJobs[i].completed_time))); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:66:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("creation_time"), UTF8_STRING(httpGetDateString(printerJobs[i].creation_time))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:66:43: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("creation_time"), UTF8_STRING(httpGetDateString(printerJobs[i].creation_time))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:66:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("creation_time"), UTF8_STRING(httpGetDateString(printerJobs[i].creation_time))); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:67:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("format"), UTF8_STRING(printerJobs[i].format)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:67:36: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("format"), UTF8_STRING(printerJobs[i].format)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:67:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("format"), UTF8_STRING(printerJobs[i].format)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:68:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("id"), UTF8_STRING(id)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:68:32: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("id"), UTF8_STRING(id)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:68:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("id"), UTF8_STRING(id)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:69:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("priority"), UTF8_STRING(priority)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:69:38: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("priority"), UTF8_STRING(priority)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:69:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("priority"), UTF8_STRING(priority)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:70:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("processing_time"), UTF8_STRING(httpGetDateString(printerJobs[i].processing_time))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:70:45: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("processing_time"), UTF8_STRING(httpGetDateString(printerJobs[i].processing_time))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:70:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("processing_time"), UTF8_STRING(httpGetDateString(printerJobs[i].processing_time))); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:71:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("size"), UTF8_STRING(size)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:71:34: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("size"), UTF8_STRING(size)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:71:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("size"), UTF8_STRING(size)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:72:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("status"), UTF8_STRING(getJobStatusString(printerJobs[i].state))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:72:36: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("status"), UTF8_STRING(getJobStatusString(printerJobs[i].state))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:72:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("status"), UTF8_STRING(getJobStatusString(printerJobs[i].state))); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:73:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("title"), UTF8_STRING(printerJobs[i].title)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:73:35: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("title"), UTF8_STRING(printerJobs[i].title)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:73:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("title"), UTF8_STRING(printerJobs[i].title)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:74:13: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("user"), UTF8_STRING(printerJobs[i].user)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:74:34: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("user"), UTF8_STRING(printerJobs[i].user)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:74:9: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
job->Set(UTF8_STRING("user"), UTF8_STRING(printerJobs[i].user)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:76:10: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
jobs->Set(i, job); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3374:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:82:15: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("jobs"), jobs); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:82:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("jobs"), jobs); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:83:15: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("CUPSOptions"), CUPSOptions); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:83:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("CUPSOptions"), CUPSOptions); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:92:4: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
THROW_EXCEPTION("Too few arguments"); | |
^ | |
../lib/unix/API.hpp:9:88: note: expanded from macro 'THROW_EXCEPTION' | |
#define THROW_EXCEPTION(msg) isolate->ThrowException(v8::Exception::TypeError(String::NewFromUtf8(isolate, msg))) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:96:38: error: no matching member function for call to 'ToString' | |
String::Utf8Value printer(args[0]->ToString()); | |
~~~~~~~~~^~~~~~~~ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2535:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided | |
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2551:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided | |
Local<String> ToString(Isolate* isolate) const); | |
^ | |
../lib/unix/API.cpp:101:4: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
THROW_EXCEPTION("Printer not found"); | |
^ | |
../lib/unix/API.hpp:9:88: note: expanded from macro 'THROW_EXCEPTION' | |
#define THROW_EXCEPTION(msg) isolate->ThrowException(v8::Exception::TypeError(String::NewFromUtf8(isolate, msg))) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:105:26: warning: 'cupsGetPPD' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] | |
const char* filename = cupsGetPPD(dest->name); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:366:49: note: 'cupsGetPPD' has been explicitly marked deprecated here | |
extern const char *cupsGetPPD(const char *name) _PPD_DEPRECATED; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:58:29: note: expanded from macro '_PPD_DEPRECATED' | |
# define _PPD_DEPRECATED _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:147:43: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' | |
# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_DEPRECATED_MSG(m) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:142:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' | |
# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) | |
^ | |
../lib/unix/API.cpp:106:21: warning: 'ppdOpenFile' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] | |
ppd_file_t* ppd = ppdOpenFile(filename); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:397:54: note: 'ppdOpenFile' has been explicitly marked deprecated here | |
extern ppd_file_t *ppdOpenFile(const char *filename) _PPD_DEPRECATED; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:58:29: note: expanded from macro '_PPD_DEPRECATED' | |
# define _PPD_DEPRECATED _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:147:43: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' | |
# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_DEPRECATED_MSG(m) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:142:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' | |
# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) | |
^ | |
../lib/unix/API.cpp:108:3: warning: 'ppdMarkDefaults' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] | |
ppdMarkDefaults(ppd); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:392:47: note: 'ppdMarkDefaults' has been explicitly marked deprecated here | |
extern void ppdMarkDefaults(ppd_file_t *ppd) _PPD_DEPRECATED; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:58:29: note: expanded from macro '_PPD_DEPRECATED' | |
# define _PPD_DEPRECATED _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:147:43: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' | |
# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_DEPRECATED_MSG(m) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:142:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' | |
# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) | |
^ | |
../lib/unix/API.cpp:109:3: warning: 'cupsMarkOptions' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] | |
cupsMarkOptions(ppd, dest->num_options, dest->options); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:370:87: note: 'cupsMarkOptions' has been explicitly marked deprecated here | |
extern int cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _PPD_DEPRECATED; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:58:29: note: expanded from macro '_PPD_DEPRECATED' | |
# define _PPD_DEPRECATED _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:147:43: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' | |
# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_DEPRECATED_MSG(m) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:142:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' | |
# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) | |
^ | |
../lib/unix/API.cpp:123:21: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
resOptions->Set(UTF8_STRING(option->keyword), choices); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:123:17: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
resOptions->Set(UTF8_STRING(option->keyword), choices); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:127:22: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
choices->Set(h, UTF8_STRING(choice->text)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:127:15: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
choices->Set(h, UTF8_STRING(choice->text)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3374:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:130:24: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
resDefaults->Set(UTF8_STRING(option->keyword), UTF8_STRING(choice->text)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:130:54: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
resDefaults->Set(UTF8_STRING(option->keyword), UTF8_STRING(choice->text)); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:130:20: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
resDefaults->Set(UTF8_STRING(option->keyword), UTF8_STRING(choice->text)); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:141:3: warning: 'ppdClose' is deprecated: Use cupsCopyDestInfo and friends instead. [-Wdeprecated-declarations] | |
ppdClose(ppd); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:372:40: note: 'ppdClose' has been explicitly marked deprecated here | |
extern void ppdClose(ppd_file_t *ppd) _PPD_DEPRECATED; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/ppd.h:58:29: note: expanded from macro '_PPD_DEPRECATED' | |
# define _PPD_DEPRECATED _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.") | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:147:43: note: expanded from macro '_CUPS_DEPRECATED_1_6_MSG' | |
# define _CUPS_DEPRECATED_1_6_MSG(m) _CUPS_DEPRECATED_MSG(m) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/cups/versioning.h:142:55: note: expanded from macro '_CUPS_DEPRECATED_MSG' | |
# define _CUPS_DEPRECATED_MSG(m) __attribute__ ((deprecated(m))) | |
^ | |
../lib/unix/API.cpp:144:15: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("options"), resOptions); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:144:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("options"), resOptions); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:145:15: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("defaultOptions"), resDefaults); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:145:11: warning: 'Set' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
result->Set(UTF8_STRING("defaultOptions"), resDefaults); | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:3365:3: note: 'Set' has been explicitly marked deprecated here | |
V8_DEPRECATE_SOON("Use maybe version", | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:326:29: note: expanded from macro 'V8_DEPRECATE_SOON' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:154:29: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
args.GetReturnValue().Set(UTF8_STRING(strdup(printer->name))); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:163:4: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
THROW_EXCEPTION("Too few arguments"); | |
^ | |
../lib/unix/API.hpp:9:88: note: expanded from macro 'THROW_EXCEPTION' | |
#define THROW_EXCEPTION(msg) isolate->ThrowException(v8::Exception::TypeError(String::NewFromUtf8(isolate, msg))) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
../lib/unix/API.cpp:167:47: error: no matching member function for call to 'ToString' | |
string printer(*(String::Utf8Value(args[0]->ToString()))); | |
~~~~~~~~~^~~~~~~~ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2535:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided | |
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2551:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided | |
Local<String> ToString(Isolate* isolate) const); | |
^ | |
../lib/unix/API.cpp:168:44: error: no matching member function for call to 'ToString' | |
string file(*(String::Utf8Value(args[1]->ToString()))); | |
~~~~~~~~~^~~~~~~~ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2535:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided | |
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2551:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided | |
Local<String> ToString(Isolate* isolate) const); | |
^ | |
../lib/unix/API.cpp:169:47: error: no matching member function for call to 'ToString' | |
string options(*(String::Utf8Value(args[2]->ToString()))); | |
~~~~~~~~~^~~~~~~~ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2535:44: note: candidate function not viable: requires single argument 'context', but no arguments were provided | |
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2551:31: note: candidate function not viable: requires single argument 'isolate', but no arguments were provided | |
Local<String> ToString(Isolate* isolate) const); | |
^ | |
../lib/unix/API.cpp:178:29: warning: 'NewFromUtf8' is deprecated: Use maybe version [-Wdeprecated-declarations] | |
args.GetReturnValue().Set(UTF8_STRING(result.c_str())); | |
^ | |
../lib/unix/API.hpp:10:36: note: expanded from macro 'UTF8_STRING' | |
#define UTF8_STRING(str) String::NewFromUtf8(isolate, str) | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8.h:2897:10: note: 'NewFromUtf8' has been explicitly marked deprecated here | |
static V8_DEPRECATED( | |
^ | |
/Users/douira/Library/Caches/node-gyp/12.8.0/include/node/v8config.h:311:29: note: expanded from macro 'V8_DEPRECATED' | |
declarator __attribute__((deprecated(message))) | |
^ | |
67 warnings and 5 errors generated. | |
make: *** [Release/obj.target/unix_printer/lib/unix/API.o] Error 1 | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/Users/douira/.nvm/versions/node/v12.8.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:196: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 Darwin 18.7.0 | |
gyp ERR! command "/Users/douira/.nvm/versions/node/v12.8.0/bin/node" "/Users/douira/.nvm/versions/node/v12.8.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
gyp ERR! cwd /Users/douira/Documents/dev/resolution-editor-next/node_modules/node-native-printer | |
gyp ERR! node -v v12.8.0 | |
gyp ERR! node-gyp -v v5.0.3 | |
gyp ERR! not ok | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! node-native-printer@1.0.0-beta.5 build: `node-gyp rebuild` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the node-native-printer@1.0.0-beta.5 build script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm WARN Local package.json exists, but node_modules missing, did you mean to install? | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /Users/douira/.npm/_logs/2019-08-16T11_04_11_934Z-debug.log | |
Installation aborted. | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! node-native-printer@1.0.0-beta.5 install: `node install/install.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the node-native-printer@1.0.0-beta.5 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! /Users/douira/.npm/_logs/2019-08-16T11_04_12_345Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment