Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ npm test
> libspotify@0.2.1 pretest /Users/Nick/spotitest/node_modules/libspotify
> rm -rf /tmp/node-libspotify 2>/dev/null ; node-gyp clean >/dev/null && node-gyp configure --debug >/dev/null && node-gyp build >/dev/null
In file included from ../src/album.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/album.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/album.cc:128:43: note: in instantiation of member function 'nsp::ObjectHandle<sp_artist>::ObjectHandle' requested here
ObjectHandle<sp_artist>* artist = new ObjectHandle<sp_artist>("sp_artist");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
2 warnings generated.
In file included from ../src/artist.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
1 warning generated.
In file included from ../src/binding.cc:21:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
1 warning generated.
In file included from ../src/link.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/link.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/link.cc:93:41: note: in instantiation of member function 'nsp::ObjectHandle<sp_track>::ObjectHandle' requested here
ObjectHandle<sp_track>* track = new ObjectHandle<sp_track>("sp_track");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/link.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/link.cc:111:43: note: in instantiation of member function 'nsp::ObjectHandle<sp_artist>::ObjectHandle' requested here
ObjectHandle<sp_artist>* artist = new ObjectHandle<sp_artist>("sp_artist");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/link.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/link.cc:133:47: note: in instantiation of member function 'nsp::ObjectHandle<sp_playlist>::ObjectHandle' requested here
ObjectHandle<sp_playlist>* playlist = new ObjectHandle<sp_playlist>("sp_playlist");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/link.cc:21:
../src/playlistcallbacks.cc:105:39: warning: unused variable 'nsp_playlistcontainer_callbacks' [-Wunused-variable]
static sp_playlistcontainer_callbacks nsp_playlistcontainer_callbacks = {
^
5 warnings generated.
In file included from ../src/player.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
1 warning generated.
In file included from ../src/search.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/search.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/search.cc:71:43: note: in instantiation of member function 'nsp::ObjectHandle<sp_search>::ObjectHandle' requested here
ObjectHandle<sp_search>* search = new ObjectHandle<sp_search>("sp_search");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/search.cc:20:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/search.cc:129:41: note: in instantiation of member function 'nsp::ObjectHandle<sp_track>::ObjectHandle' requested here
ObjectHandle<sp_track>* track = new ObjectHandle<sp_track>("sp_track");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
3 warnings generated.
In file included from ../src/session.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/session.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/session.cc:306:59: note: in instantiation of member function 'nsp::ObjectHandle<sp_session_config>::ObjectHandle' requested here
ObjectHandle<sp_session_config>* session_config = new ObjectHandle<sp_session_config>("sp_session_config");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/session.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/session.cc:358:45: note: in instantiation of member function 'nsp::ObjectHandle<sp_session>::ObjectHandle' requested here
ObjectHandle<sp_session>* session = new ObjectHandle<sp_session>("sp_session");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/session.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/session.cc:478:65: note: in instantiation of member function 'nsp::ObjectHandle<sp_playlistcontainer>::ObjectHandle' requested here
ObjectHandle<sp_playlistcontainer>* playlistcontainer = new ObjectHandle<sp_playlistcontainer>("sp_playlistcontainer");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/session.cc:20:
../src/playlistcallbacks.cc:234:30: warning: unused variable 'nsp_playlist_callbacks' [-Wunused-variable]
static sp_playlist_callbacks nsp_playlist_callbacks = {
^
5 warnings generated.
In file included from ../src/track.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/track.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/track.cc:116:43: note: in instantiation of member function 'nsp::ObjectHandle<sp_artist>::ObjectHandle' requested here
ObjectHandle<sp_artist>* artist = new ObjectHandle<sp_artist>("sp_artist");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/track.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/track.cc:137:41: note: in instantiation of member function 'nsp::ObjectHandle<sp_album>::ObjectHandle' requested here
ObjectHandle<sp_album>* album = new ObjectHandle<sp_album>("sp_album");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
3 warnings generated.
In file included from ../src/playlist.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/playlist.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/playlist.cc:97:47: note: in instantiation of member function 'nsp::ObjectHandle<sp_playlist>::ObjectHandle' requested here
ObjectHandle<sp_playlist>* playlist = new ObjectHandle<sp_playlist>("sp_playlist");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/playlist.cc:19:
../src/common.h:230:17: warning: 'SetPointerInInternalField' is deprecated [-Wdeprecated-declarations]
object->SetPointerInInternalField(0, this);
^
../src/playlist.cc:195:41: note: in instantiation of member function 'nsp::ObjectHandle<sp_track>::ObjectHandle' requested here
ObjectHandle<sp_track>* track = new ObjectHandle<sp_track>("sp_track");
^
/Users/Nick/.node-gyp/0.9.9/deps/v8/include/v8.h:4527:14: note: 'SetPointerInInternalField' declared here
void Object::SetPointerInInternalField(int index, void* value) {
^
In file included from ../src/playlist.cc:20:
../src/playlistcallbacks.cc:105:39: warning: unused variable 'nsp_playlistcontainer_callbacks' [-Wunused-variable]
static sp_playlistcontainer_callbacks nsp_playlistcontainer_callbacks = {
^
4 warnings generated.
> libspotify@0.2.1 test /Users/Nick/Documents/musiXmatch Projects/spotigrab/node_modules/libspotify
> nodeunit test/test-*
test-000-config.js
✔ testInstanciatingSessionWithNoArgumentThrows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment