make[2]: Entering directory '/<<PKGBUILDDIR>>/build'Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
CXX(target) Release/obj.target/pty/src/unix/pty.o
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t*)’: ../src/unix/pty.cc:609:9: warning: ‘void* memset(void*, int, size_t)’ writing to an object of type ‘class Nan::Persistent<v8::Function>’ with no trivial copy-assignment [-Wclass-memaccess]
609 | memset(&baton->cb, -1, sizeof(baton->cb));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../usr/share/nodejs/nan/nan.h:411,
from ../src/unix/pty.cc:20: /usr/include/nan_persistent_12_inl.h:12:40: note: ‘class Nan::Persistent<v8::Function>’ declared here
12 | template<typename T, typename M> class Persistent :
| ^~~~~~~~~~
In file included from ../../../../usr/share/nodejs/nan/nan.h:62: ../src/unix/pty.cc: At global scope:
/usr/include/nodejs/src/node.h:1014:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::
1014 | (node::addon_register_func) (regfunc), \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/nodejs/src/node.h:1048:3: note: in expansion of macro ‘NODE_MODULE_X’
1048 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
| ^~~~~~~~~~~~~
../src/unix/pty.cc:826:1: note: in expansion of macro ‘NODE_MODULE’
826 | NODE_MODULE(pty, init)
| ^~~~~~~~~~~
SOLINK_MODULE(target) Release/obj.target/pty.node
/usr/bin/ld: cannot find -lnode: No such file or directory
collect2: error: ld returned 1 exit status
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:18:53 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,264 |