Skip to content

Instantly share code, notes, and snippets.

@2xAA
Created January 12, 2023 11:55
Show Gist options
  • Save 2xAA/c22b2fa77401d8e89d04d7963079dd34 to your computer and use it in GitHub Desktop.
Save 2xAA/c22b2fa77401d8e89d04d7963079dd34 to your computer and use it in GitHub Desktop.
grandiose npm i output
npm ERR! code 1
npm ERR! git dep preparation failed
npm ERR! command /home/username/.nvm/versions/node/v18.13.0/bin/node /home/username/.nvm/versions/node/v18.13.0/lib/node_modules/npm/bin/npm-cli.js install --force --cache=/home/username/.npm --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-run
npm ERR! > [email protected] install
npm ERR! > pkg-prebuilds-verify ./binding-options.js || node-gyp rebuild
npm ERR!
npm ERR! make: Entering directory '/home/username/.npm/_cacache/tmp/git-cloneRvcC0i/build'
npm ERR! CXX(target) Release/obj.target/grandiose/src/grandiose_util.o
npm ERR! CXX(target) Release/obj.target/grandiose/src/grandiose_find.o
npm ERR! CXX(target) Release/obj.target/grandiose/src/grandiose_send.o
npm ERR! CXX(target) Release/obj.target/grandiose/src/grandiose_receive.o
npm ERR! CXX(target) Release/obj.target/grandiose/src/grandiose.o
npm ERR! SOLINK_MODULE(target) Release/obj.target/grandiose.node
npm ERR! make: Leaving directory '/home/username/.npm/_cacache/tmp/git-cloneRvcC0i/build'
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | linux | x64
npm ERR! gyp info find Python using Python version 3.10.6 found at "/usr/bin/python3"
npm ERR! gyp info spawn /usr/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/home/username/.nvm/versions/node/v18.13.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/username/.npm/_cacache/tmp/git-cloneRvcC0i/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/username/.nvm/versions/node/v18.13.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/home/username/.cache/node-gyp/18.13.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/home/username/.cache/node-gyp/18.13.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/home/username/.nvm/versions/node/v18.13.0/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/home/username/.cache/node-gyp/18.13.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/home/username/.npm/_cacache/tmp/git-cloneRvcC0i',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! ../src/grandiose_util.cc: In function ‘napi_status checkArgs(napi_env, napi_callback_info, char*, napi_value__**, size_t, napi_valuetype*)’:
npm ERR! ../src/grandiose_util.cc:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
npm ERR! 93 | for ( int x = 0 ; x < argc ; x++ ) {
npm ERR! | ~~^~~~~~
npm ERR! ../src/grandiose_find.cc: In function ‘void findComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:56:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 56 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:60:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 60 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:65:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 65 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:67:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 67 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:69:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 69 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:71:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 71 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:73:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 73 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:76:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 76 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_find.cc: In function ‘napi_value__* find(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:92:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 92 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:103:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 103 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:106:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 106 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:112:9: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 112 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:115:11: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 115 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:121:9: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 121 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:126:13: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 126 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:130:13: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 130 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:139:9: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 139 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:144:13: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 144 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:148:13: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 148 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:160:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 160 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:163:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 163 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_find.cc:168:17: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 168 | if (!c->find) REJECT_ERROR_RETURN("Failed to create NDI find instance.", GRANDIOSE_INVALID_ARGS);
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:172:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 172 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:175:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 175 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_find.cc:177:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 177 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc: In function ‘void sendComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:63:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 63 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:67:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 67 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:71:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 71 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:73:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 73 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:78:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 78 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:80:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 80 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:105:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 105 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:107:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 107 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:110:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 110 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:112:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 112 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:115:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 115 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:117:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 117 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:103:20: warning: unused variable ‘groups’ [-Wunused-variable]
npm ERR! 103 | napi_value name, groups, clockVideo, clockAudio;
npm ERR! | ^~~~~~
npm ERR! ../src/grandiose_send.cc: In function ‘napi_value__* send(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:132:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 132 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:137:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 137 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:139:27: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 139 | if (argc != (size_t) 1) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:144:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 144 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:147:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 147 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:148:41: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 148 | if ((type != napi_object) || isArray) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:156:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 156 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:158:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 158 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:159:28: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 159 | if (type != napi_string) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:164:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 164 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:167:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 167 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:179:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 179 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:181:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 181 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:183:31: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 183 | if (type != napi_boolean) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:187:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 187 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:191:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 191 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:193:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 193 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:195:31: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 195 | if (type != napi_boolean) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:199:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 199 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:204:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 204 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:207:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 207 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:209:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 209 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:153:20: warning: unused variable ‘groups’ [-Wunused-variable]
npm ERR! 153 | napi_value name, groups, clockVideo, clockAudio;
npm ERR! | ^~~~~~
npm ERR! ../src/grandiose_send.cc: In function ‘void videoSendComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:227:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 227 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:233:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 233 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:236:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 236 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc: In function ‘napi_value__* videoSend(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:249:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 249 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:255:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 255 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:259:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 259 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:263:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 263 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:269:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 269 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:270:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 270 | if (type != napi_object) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:276:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 276 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:277:18: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 277 | if (isArray) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:283:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 283 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:285:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 285 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:286:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 286 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:290:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 290 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:293:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 293 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:295:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 295 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:296:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 296 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:300:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 300 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:303:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 303 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:305:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 305 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:306:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 306 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:310:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 310 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:313:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 313 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:315:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 315 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:316:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 316 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:320:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 320 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:323:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 323 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:325:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 325 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:326:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 326 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:331:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 331 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:338:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 338 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:340:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 340 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:341:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 341 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:346:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 346 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:351:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 351 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:353:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 353 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:354:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 354 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:358:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 358 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:362:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 362 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:364:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 364 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:365:20: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 365 | if (!isBuffer) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:371:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 371 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:374:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 374 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:379:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 379 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:381:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 381 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:382:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 382 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:387:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 387 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_send.cc:391:10: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 391 | } else REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:397:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 397 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:400:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 400 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_send.cc:402:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 402 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘void receiveComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:66:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 66 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:70:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 70 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:74:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 74 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:76:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 76 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:81:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 81 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:83:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 83 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:88:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 88 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:90:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 90 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:95:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 95 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:97:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 97 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:102:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 102 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:104:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 104 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:108:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 108 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:111:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 111 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:114:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 114 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:116:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 116 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:118:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 118 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:120:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 120 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:124:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 124 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:126:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 126 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:130:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 130 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:132:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 132 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:136:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 136 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:138:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 138 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:142:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 142 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:144:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 144 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘napi_value__* receive(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:160:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 160 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:165:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 165 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:167:27: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 167 | if (argc != (size_t) 1) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:172:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 172 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:175:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 175 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:176:41: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 176 | if ((type != napi_object) || isArray) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:185:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 185 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:187:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 187 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:189:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 189 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:190:41: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 190 | if ((type != napi_object) || isArray) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:196:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 196 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:198:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 198 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:199:28: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 199 | if (type != napi_string) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:204:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 204 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:206:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 206 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:208:54: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 208 | if (type != napi_undefined && type != napi_string) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:214:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 214 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:217:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 217 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:219:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 219 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:221:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 221 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:226:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 226 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:229:44: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 229 | if (!validColorFormat(c->colorFormat)) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:235:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 235 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:237:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 237 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:239:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 239 | if (type != napi_number) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:244:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 244 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:247:40: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 247 | if (!validBandwidth(c->bandwidth)) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:253:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 253 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:255:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 255 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:257:31: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 257 | if (type != napi_boolean) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:261:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 261 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:265:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 265 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:268:30: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 268 | if (type != napi_string) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:273:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 273 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:276:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 276 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:281:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 281 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:284:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 284 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:286:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 286 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘void videoReceiveComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:330:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 330 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:334:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 334 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:342:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 342 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:344:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 344 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:347:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 347 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:349:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 349 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:352:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 352 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:354:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 354 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:357:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 357 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:359:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 359 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:362:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 362 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:364:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 364 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:367:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 367 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:369:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 369 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:373:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 373 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:375:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 375 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:377:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 377 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:379:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 379 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:381:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 381 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:383:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 383 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:386:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 386 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:388:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 388 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:391:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 391 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:393:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 393 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:396:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 396 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:398:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 398 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:400:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 400 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:402:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 402 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:404:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 404 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:406:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 406 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:409:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 409 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:411:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 411 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:415:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 415 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:417:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 417 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:423:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 423 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:425:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 425 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘napi_value__* videoReceive(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:442:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 442 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:448:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 448 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:452:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 452 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:456:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 456 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:460:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 460 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:463:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 463 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:469:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 469 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:472:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 472 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:474:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 474 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘void audioReceiveComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:527:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 527 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:531:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 531 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:539:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 539 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:541:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 541 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:544:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 544 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:546:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 546 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:550:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 550 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:552:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 552 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:556:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 556 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:558:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 558 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:561:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 561 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:563:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 563 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:566:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 566 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:568:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 568 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:572:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 572 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:574:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 574 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:578:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 578 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:580:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 580 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:582:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 582 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:584:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 584 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:586:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 586 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:588:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 588 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:592:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 592 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:594:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 594 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:596:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 596 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:598:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 598 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:600:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 600 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:602:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 602 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:606:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 606 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:608:5: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 608 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:627:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 627 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:630:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 630 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘napi_value__* dataAndAudioReceive(napi_env, napi_callback_info, char*, napi_async_execute_callback, napi_async_complete_callback)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:649:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 649 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:655:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 655 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:659:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 659 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:663:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 663 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:669:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 669 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:674:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 674 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:675:20: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 675 | if (isArray) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:681:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 681 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:683:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 683 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:687:9: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 687 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:688:73: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 688 | if (!validAudioFormat((Grandiose_audio_format_e) audioFormatN)) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:692:40: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 692 | else if (type != napi_undefined) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:697:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 697 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:699:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 699 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:702:9: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 702 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_util.h:109:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 109 | REJECT_RETURN; \
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:704:40: note: in expansion of macro ‘REJECT_ERROR_RETURN’
npm ERR! 704 | else if (type != napi_undefined) REJECT_ERROR_RETURN(
npm ERR! | ^~~~~~~~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:709:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 709 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:712:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 712 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:718:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 718 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:721:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 721 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:723:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 723 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘napi_value__* audioReceive(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_receive.cc:729:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 729 | return dataAndAudioReceive(env, info, "AudioReceive",
npm ERR! | ^~~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘void metadataReceiveComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:767:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 767 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:771:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 771 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:775:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 775 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:777:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 777 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:780:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 780 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:782:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 782 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:786:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 786 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:788:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 788 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:790:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 790 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:792:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 792 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:794:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 794 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:796:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 796 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:799:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 799 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:801:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 801 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘napi_value__* metadataReceive(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:818:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 818 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:824:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 824 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:828:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 828 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:832:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 832 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:836:5: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 836 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:839:7: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 839 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:845:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 845 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:848:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 848 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:87:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 87 | #define REJECT_RETURN if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return promise;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:850:3: note: in expansion of macro ‘REJECT_RETURN’
npm ERR! 850 | REJECT_RETURN;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc: In function ‘void dataReceiveComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:894:3: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 894 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:909:7: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 909 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:913:7: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 913 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:915:7: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 915 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_util.h:86:48: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~~~~~~~
npm ERR! ../src/grandiose_receive.cc:917:7: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 917 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:896:10: warning: enumeration value ‘NDIlib_frame_type_none’ not handled in switch [-Wswitch]
npm ERR! 896 | switch (c->frameType) {
npm ERR! | ^
npm ERR! ../src/grandiose_receive.cc:896:10: warning: enumeration value ‘NDIlib_frame_type_max’ not handled in switch [-Wswitch]
npm ERR! ../src/grandiose_receive.cc: In function ‘napi_value__* dataReceive(napi_env, napi_callback_info)’:
npm ERR! ../src/grandiose_receive.cc:929:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
npm ERR! 929 | return dataAndAudioReceive(env, info, "DataReceive",
npm ERR! | ^~~~~~~~~~~~~
npm ERR! In file included from ../src/grandiose_receive.h:20,
npm ERR! from ../src/grandiose_receive.cc:29:
npm ERR! ../src/grandiose_receive.cc: In function ‘void dataReceiveComplete(napi_env, napi_status, void*)’:
npm ERR! ../src/grandiose_util.h:86:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
npm ERR! 86 | #define REJECT_STATUS if (rejectStatus(env, c, __FILE__, __LINE__) != GRANDIOSE_SUCCESS) return;
npm ERR! | ^~
npm ERR! ../src/grandiose_receive.cc:909:7: note: in expansion of macro ‘REJECT_STATUS’
npm ERR! 909 | REJECT_STATUS;
npm ERR! | ^~~~~~~~~~~~~
npm ERR! ../src/grandiose_receive.cc:910:5: note: here
npm ERR! 910 | case NDIlib_frame_type_status_change:
npm ERR! | ^~~~
npm ERR! /usr/bin/ld: cannot find /home/username/.npm/_cacache/tmp/git-cloneRvcC0i/lib/linux_x64/libndi.so.5: No such file or directory
npm ERR! collect2: error: ld returned 1 exit status
npm ERR! make: *** [grandiose.target.mk:150: Release/obj.target/grandiose.node] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/home/username/.nvm/versions/node/v18.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Linux 5.15.0-56-generic
npm ERR! gyp ERR! command "/home/username/.nvm/versions/node/v18.13.0/bin/node" "/home/username/.nvm/versions/node/v18.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /home/username/.npm/_cacache/tmp/git-cloneRvcC0i
npm ERR! gyp ERR! node -v v18.13.0
npm ERR! gyp ERR! node-gyp -v v9.1.0
npm ERR! gyp ERR! not ok
npm ERR! npm ERR! code 1
npm ERR! npm ERR! path /home/username/.npm/_cacache/tmp/git-cloneRvcC0i
npm ERR! npm ERR! command failed
npm ERR! npm ERR! command sh -c -- pkg-prebuilds-verify ./binding-options.js || node-gyp rebuild
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR! /home/username/.npm/_logs/2023-01-12T11_50_33_382Z-debug-0.log
npm ERR! A complete log of this run can be found in:
npm ERR! /home/username/.npm/_logs/2023-01-12T11_50_32_006Z-debug-0.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment