Closed microshine closed 5 years ago
Thanks for reporting. I guess it's still working, right? I'll look into it as soon as I have the time.
@microshine Can you test if https://github.com/santigimeno/node-pcsclite/pull/83 fixes the issue for you? (I won't be able to test this for a couple of weeks)
@santigimeno I ran node-gyp configure build
for your fix_warning
branch. It has one deprecated warning
> node-gyp rebuild
CXX(target) Release/obj.target/pcsclite/src/addon.o
CXX(target) Release/obj.target/pcsclite/src/pcsclite.o
CXX(target) Release/obj.target/pcsclite/src/cardreader.o
../src/cardreader.cpp:373:14: warning: 'MakeCallback' is deprecated
[-Wdeprecated-declarations]
Nan::MakeCallback(async_baton->reader->handle(), "emit", 1, argv);
^
../node_modules/nan/nan.h:971:3: note: 'MakeCallback' has been explicitly marked
deprecated here
NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
^
../node_modules/nan/nan.h:98:40: note: expanded from macro 'NAN_DEPRECATED'
# define NAN_DEPRECATED __attribute__((deprecated))
^
1 warning generated.
SOLINK_MODULE(target) Release/pcsclite.node
This should be fixed in version v1.0.0
.
pcsclite@0.6.0 isntallation