Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > groovebasin@1.5.0 build /tmp/makepkg/nodejs-groovebasin/src/groovebasin-1.5.0
- > npm install && ./build
- npm WARN engine groove@2.2.7: wanted: {"node":">=0.10.18 <0.11.0"} (current: {"node":"0.12.0","npm":"2.5.1"})
- /
- > groove@2.2.7 install /tmp/makepkg/nodejs-groovebasin/src/groovebasin-1.5.0/node_modules/groove
- > node-gyp rebuild
- child_process: customFds option is deprecated, use stdio instead.
- make: Entering directory '/tmp/makepkg/nodejs-groovebasin/src/groovebasin-1.5.0/node_modules/groove/build'
- CXX(target) Release/obj.target/groove/src/groove.o
- CXX(target) Release/obj.target/groove/src/gn_file.o
- CXX(target) Release/obj.target/groove/src/gn_playlist.o
- In file included from ../src/gn_file.cc:2:0:
- ../src/gn_file.h:8:40: error: expected class-name before ‘{’ token
- class GNFile : public node::ObjectWrap {
- ^
- In file included from ../src/gn_playlist.cc:2:0:
- ../src/gn_playlist.h:8:44: error: expected class-name before ‘{’ token
- class GNPlaylist : public node::ObjectWrap {
- ^
- ../src/gn_file.h:13:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Open(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:13:55: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Create(const v8::Arguments& args);
- ^
- ../src/gn_file.h:21:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> New(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:23:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> New(const v8::Arguments& args);
- ^
- ../src/gn_file.h:24:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist.h:26:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_file.h:26:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist.h:28:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist.h:30:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Playlist(const v8::Arguments& args);
- ^
- ../src/gn_file.h:28:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist.h:31:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Play(const v8::Arguments& args);
- ^
- ../src/gn_file.h:30:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Close(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:32:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Pause(const v8::Arguments& args);
- ^
- ../src/gn_file.h:31:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Duration(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:33:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Seek(const v8::Arguments& args);
- ^
- ../src/gn_file.h:32:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> GetMetadata(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:34:55: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Insert(const v8::Arguments& args);
- ^
- ../src/gn_file.h:33:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetMetadata(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:35:55: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Remove(const v8::Arguments& args);
- ^
- ../src/gn_file.h:34:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Metadata(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:36:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Position(const v8::Arguments& args);
- ^
- ../src/gn_file.h:35:59: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> ShortNames(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:37:63: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> DecodePosition(const v8::Arguments& args);
- ^
- ../src/gn_file.h:36:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Save(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:38:56: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Playing(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:39:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Clear(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:40:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Count(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:41:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetItemGain(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:42:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetItemPeak(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:43:56: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetGain(const v8::Arguments& args);
- ^
- ../src/gn_playlist.h:44:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetFillMode(const v8::Arguments& args);
- ^
- In file included from ../src/gn_playlist.cc:3:0:
- ../src/gn_playlist_item.h:8:48: error: expected class-name before ‘{’ token
- class GNPlaylistItem : public node::ObjectWrap {
- ^
- ../src/gn_playlist_item.h:19:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> New(const v8::Arguments& args);
- ^
- ../src/gn_playlist_item.h:22:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist_item.h:24:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist_item.h:26:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist_item.h:28:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- In file included from ../src/gn_playlist.cc:4:0:
- ../src/gn_file.h:8:40: error: expected class-name before ‘{’ token
- class GNFile : public node::ObjectWrap {
- ^
- ../src/gn_file.h:13:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Open(const v8::Arguments& args);
- ^
- ../src/gn_file.h:21:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> New(const v8::Arguments& args);
- ^
- ../src/gn_file.h:24:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_file.cc: In function ‘void AddGetter(target_t, const char*, func_t)’:
- ../src/gn_file.cc:13:43: error: ‘New’ is not a member of ‘v8::String’
- tpl->PrototypeTemplate()->SetAccessor(String::New(name), fn);
- ^
- ../src/gn_file.h:26:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_file.h:28:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_file.cc: In function ‘void AddMethod(target_t, const char*, func_t)’:
- ../src/gn_file.cc:18:35: error: ‘NewSymbol’ is not a member of ‘v8::String’
- tpl->PrototypeTemplate()->Set(String::NewSymbol(name),
- ^
- ../src/gn_file.h:30:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Close(const v8::Arguments& args);
- ^
- ../src/gn_file.h:31:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Duration(const v8::Arguments& args);
- ^
- ../src/gn_file.cc: In static member function ‘static void GNFile::Init()’:
- ../src/gn_file.cc:24:60: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
- Local<FunctionTemplate> tpl = FunctionTemplate::New(New);
- ^
- ../src/gn_file.cc:24:60: note: candidate is:
- ../src/gn_file.h:32:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> GetMetadata(const v8::Arguments& args);
- ^
- ../src/gn_file.h:33:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetMetadata(const v8::Arguments& args);
- ^
- ../src/gn_file.h:34:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Metadata(const v8::Arguments& args);
- ^
- ../src/gn_file.h:35:59: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> ShortNames(const v8::Arguments& args);
- ^
- ../src/gn_file.h:36:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Save(const v8::Arguments& args);
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
- static Local<FunctionTemplate> New(
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
- ../src/gn_file.cc:25:23: error: ‘NewSymbol’ is not a member of ‘v8::String’
- tpl->SetClassName(String::NewSymbol("GrooveFile"));
- ^
- ../src/gn_file.cc:40:63: error: no matching function for call to ‘v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)’
- constructor = Persistent<Function>::New(tpl->GetFunction());
- ^
- ../src/gn_file.cc:40:63: note: candidate is:
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
- T* PersistentBase<T>::New(Isolate* isolate, T* that) {
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: candidate expects 2 arguments, 1 provided
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:43:33: error: ‘Arguments’ does not name a type
- Handle<Value> GNFile::New(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::New(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:44:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_playlist.cc: In function ‘void AddGetter(target_t, const char*, func_t)’:
- ../src/gn_playlist.cc:21:43: error: ‘NewSymbol’ is not a member of ‘v8::String’
- tpl->PrototypeTemplate()->SetAccessor(String::NewSymbol(name), fn);
- ^
- ../src/gn_file.cc:47:10: error: ‘class GNFile’ has no member named ‘Wrap’
- obj->Wrap(args.This());
- ^
- ../src/gn_file.cc:47:20: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- obj->Wrap(args.This());
- ^
- ../src/gn_file.cc:49:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(args.This());
- ^
- ../src/gn_file.cc:49:29: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- return scope.Close(args.This());
- ^
- ../src/gn_playlist.cc: In function ‘void AddMethod(target_t, const char*, func_t)’:
- ../src/gn_playlist.cc:26:35: error: ‘NewSymbol’ is not a member of ‘v8::String’
- tpl->PrototypeTemplate()->Set(String::NewSymbol(name),
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::NewInstance(GrooveFile*)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_playlist.cc: In static member function ‘static void GNPlaylist::Init()’:
- ../src/gn_playlist.cc:32:60: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’
- Local<FunctionTemplate> tpl = FunctionTemplate::New(New);
- ^
- ../src/gn_file.cc:53:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_playlist.cc:32:60: note: candidate is:
- ../src/gn_file.cc:55:41: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
- Local<Object> instance = constructor->NewInstance();
- ^
- ../src/gn_file.cc:57:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(instance);
- ^
- ../src/gn_file.cc:57:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(instance);
- ^
- ../src/gn_file.cc:60:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(instance);
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:63:62: error: ‘AccessorInfo’ does not name a type
- Handle<Value> GNFile::GetDirty(Local<String> property, const AccessorInfo &info) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int)
- static Local<FunctionTemplate> New(
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::GetDirty(v8::Local<v8::String>, const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:64:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_playlist.cc:33:23: error: ‘NewSymbol’ is not a member of ‘v8::String’
- tpl->SetClassName(String::NewSymbol("GroovePlaylist"));
- ^
- ../src/gn_file.cc:65:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:65:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:65:61: error: request for member ‘This’ in ‘info’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:66:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Boolean::New(gn_file->file->dirty));
- ^
- ../src/gn_file.cc:66:57: error: no matching function for call to ‘v8::Boolean::New(int&)’
- return scope.Close(Boolean::New(gn_file->file->dirty));
- ^
- ../src/gn_file.cc:66:57: note: candidate is:
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
- Handle<Boolean> Boolean::New(Isolate* isolate, bool value) {
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:6194:17: note: candidate expects 2 arguments, 1 provided
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:69:59: error: ‘AccessorInfo’ does not name a type
- Handle<Value> GNFile::GetId(Local<String> property, const AccessorInfo &info) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::GetId(v8::Local<v8::String>, const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:70:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:71:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:71:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:71:61: error: request for member ‘This’ in ‘info’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:74:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(String::New(buf));
- ^
- ../src/gn_file.cc:74:24: error: ‘New’ is not a member of ‘v8::String’
- return scope.Close(String::New(buf));
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:77:65: error: ‘AccessorInfo’ does not name a type
- Handle<Value> GNFile::GetFilename(Local<String> property, const AccessorInfo &info) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::GetFilename(v8::Local<v8::String>, const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:78:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:79:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:79:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:79:61: error: request for member ‘This’ in ‘info’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(info.This());
- ^
- ../src/gn_file.cc:80:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(String::New(gn_file->file->filename));
- ^
- ../src/gn_playlist.cc:54:63: error: no matching function for call to ‘v8::Persistent<v8::Function>::New(v8::Local<v8::Function>)’
- constructor = Persistent<Function>::New(tpl->GetFunction());
- ^
- ../src/gn_file.cc:80:24: error: ‘New’ is not a member of ‘v8::String’
- return scope.Close(String::New(gn_file->file->filename));
- ^
- ../src/gn_playlist.cc:54:63: note: candidate is:
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:83:41: error: ‘Arguments’ does not name a type
- Handle<Value> GNFile::GetMetadata(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: static T* v8::PersistentBase<T>::New(v8::Isolate*, T*) [with T = v8::Function]
- T* PersistentBase<T>::New(Isolate* isolate, T* that) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::GetMetadata(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:5809:4: note: candidate expects 2 arguments, 1 provided
- ../src/gn_file.cc:84:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:86:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:86:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:57:37: error: ‘Arguments’ does not name a type
- Handle<Value> GNPlaylist::New(const Arguments& args) {
- ^
- ../src/gn_file.cc:86:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:88:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
- if (args.Length() < 1 || !args[0]->IsString()) {
- ^
- ../src/gn_file.cc:88:37: error: invalid types ‘const int[int]’ for array subscript
- if (args.Length() < 1 || !args[0]->IsString()) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::New(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_playlist.cc:58:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:89:45: error: ‘New’ is not a member of ‘v8::String’
- ThrowException(Exception::TypeError(String::New("Expected string arg[0]")));
- ^
- ../src/gn_file.cc:89:83: error: ‘ThrowException’ was not declared in this scope
- ThrowException(Exception::TypeError(String::New("Expected string arg[0]")));
- ^
- ../src/gn_file.cc:90:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc:61:10: error: ‘class GNPlaylist’ has no member named ‘Wrap’
- obj->Wrap(args.This());
- ^
- ../src/gn_file.cc:90:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc:61:20: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- obj->Wrap(args.This());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_playlist.cc:63:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(args.This());
- ^
- ../src/gn_playlist.cc:63:29: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- return scope.Close(args.This());
- ^
- ../src/gn_file.cc:94:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
- if (args.Length() >= 2) {
- ^
- ../src/gn_file.cc:95:20: error: invalid types ‘const int[int]’ for array subscript
- if (!args[1]->IsNumber()) {
- ^
- ../src/gn_file.cc:96:49: error: ‘New’ is not a member of ‘v8::String’
- ThrowException(Exception::TypeError(String::New("Expected number arg[1]")));
- ^
- ../src/gn_file.cc:96:87: error: ‘ThrowException’ was not declared in this scope
- ThrowException(Exception::TypeError(String::New("Expected number arg[1]")));
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::NewInstance(GroovePlaylist*)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:97:26: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc:67:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:97:42: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_file.cc:99:28: error: invalid types ‘const int[int]’ for array subscript
- flags = (int)args[1]->NumberValue();
- ^
- ../src/gn_file.cc:102:37: error: invalid types ‘const int[int]’ for array subscript
- String::Utf8Value key_str(args[0]->ToString());
- ^
- ../src/gn_playlist.cc:69:41: error: base operand of ‘->’ has non-pointer type ‘v8::Persistent<v8::Function>’
- Local<Object> instance = constructor->NewInstance();
- ^
- ../src/gn_playlist.cc:71:37: error: ‘node::ObjectWrap’ has not been declared
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(instance);
- ^
- ../src/gn_file.cc:105:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(String::New(groove_tag_value(tag)));
- ^
- ../src/gn_playlist.cc:71:66: error: expected primary-expression before ‘>’ token
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(instance);
- ^
- ../src/gn_file.cc:105:28: error: ‘New’ is not a member of ‘v8::String’
- return scope.Close(String::New(groove_tag_value(tag)));
- ^
- ../src/gn_playlist.cc:74:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(instance);
- ^
- ../src/gn_file.cc:106:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Null());
- ^
- ../src/gn_file.cc:106:29: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Null(v8::Isolate*)’
- return scope.Close(Null());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:306:28: note: declared here
- friend Handle<Primitive> Null(Isolate* isolate);
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:77:63: error: ‘AccessorInfo’ does not name a type
- Handle<Value> GNPlaylist::GetId(Local<String> property, const AccessorInfo &info) {
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:109:41: error: ‘Arguments’ does not name a type
- Handle<Value> GNFile::SetMetadata(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::GetId(v8::Local<v8::String>, const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_playlist.cc:78:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_playlist.cc:79:37: error: ‘node::ObjectWrap’ has not been declared
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(info.This());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::SetMetadata(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_playlist.cc:79:66: error: expected primary-expression before ‘>’ token
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(info.This());
- ^
- ../src/gn_file.cc:110:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_playlist.cc:79:73: error: request for member ‘This’ in ‘info’, which is of non-class type ‘const int’
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(info.This());
- ^
- ../src/gn_file.cc:112:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:112:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:112:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:114:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
- if (args.Length() < 1 || !args[0]->IsString()) {
- ^
- ../src/gn_playlist.cc:82:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(String::New(buf));
- ^
- ../src/gn_file.cc:114:37: error: invalid types ‘const int[int]’ for array subscript
- if (args.Length() < 1 || !args[0]->IsString()) {
- ^
- ../src/gn_playlist.cc:82:24: error: ‘New’ is not a member of ‘v8::String’
- return scope.Close(String::New(buf));
- ^
- ../src/gn_file.cc:115:45: error: ‘New’ is not a member of ‘v8::String’
- ThrowException(Exception::TypeError(String::New("Expected string arg[0]")));
- ^
- ../src/gn_file.cc:115:83: error: ‘ThrowException’ was not declared in this scope
- ThrowException(Exception::TypeError(String::New("Expected string arg[0]")));
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:85:65: error: ‘AccessorInfo’ does not name a type
- Handle<Value> GNPlaylist::GetGain(Local<String> property, const AccessorInfo &info) {
- ^
- ../src/gn_file.cc:116:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.cc:116:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::GetGain(v8::Local<v8::String>, const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:119:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
- if (args.Length() < 2 || !args[0]->IsString()) {
- ^
- ../src/gn_playlist.cc:86:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:119:37: error: invalid types ‘const int[int]’ for array subscript
- if (args.Length() < 2 || !args[0]->IsString()) {
- ^
- ../src/gn_file.cc:120:45: error: ‘New’ is not a member of ‘v8::String’
- ThrowException(Exception::TypeError(String::New("Expected string arg[1]")));
- ^
- ../src/gn_playlist.cc:87:37: error: ‘node::ObjectWrap’ has not been declared
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(info.This());
- ^
- ../src/gn_file.cc:120:83: error: ‘ThrowException’ was not declared in this scope
- ThrowException(Exception::TypeError(String::New("Expected string arg[1]")));
- ^
- ../src/gn_playlist.cc:87:66: error: expected primary-expression before ‘>’ token
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(info.This());
- ^
- ../src/gn_file.cc:121:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc:87:73: error: request for member ‘This’ in ‘info’, which is of non-class type ‘const int’
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(info.This());
- ^
- ../src/gn_file.cc:121:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc:88:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Number::New(gn_playlist->playlist->gain));
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_playlist.cc:88:63: error: no matching function for call to ‘v8::Number::New(double&)’
- return scope.Close(Number::New(gn_playlist->playlist->gain));
- ^
- ../src/gn_file.cc:125:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
- if (args.Length() >= 3) {
- ^
- ../src/gn_playlist.cc:88:63: note: candidate is:
- ../src/gn_file.cc:126:20: error: invalid types ‘const int[int]’ for array subscript
- if (!args[2]->IsNumber()) {
- ^
- ../src/gn_file.cc:127:49: error: ‘New’ is not a member of ‘v8::String’
- ThrowException(Exception::TypeError(String::New("Expected number arg[2]")));
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
- static Local<Number> New(Isolate* isolate, double value);
- ^
- ../src/gn_file.cc:127:87: error: ‘ThrowException’ was not declared in this scope
- ThrowException(Exception::TypeError(String::New("Expected number arg[2]")));
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
- ../src/gn_file.cc:128:26: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.cc:128:42: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:91:38: error: ‘Arguments’ does not name a type
- Handle<Value> GNPlaylist::Play(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_file.cc:130:28: error: invalid types ‘const int[int]’ for array subscript
- flags = (int)args[2]->NumberValue();
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::Play(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:133:37: error: invalid types ‘const int[int]’ for array subscript
- String::Utf8Value key_str(args[0]->ToString());
- ^
- ../src/gn_playlist.cc:92:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:134:37: error: invalid types ‘const int[int]’ for array subscript
- String::Utf8Value val_str(args[1]->ToString());
- ^
- ../src/gn_playlist.cc:93:37: error: ‘node::ObjectWrap’ has not been declared
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_playlist.cc:93:66: error: expected primary-expression before ‘>’ token
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_playlist.cc:93:73: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_playlist.cc:95:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.cc:137:41: error: ‘New’ is not a member of ‘v8::String’
- ThrowException(Exception::Error(String::New("set metadata failed")));
- ^
- ../src/gn_playlist.cc:95:34: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.cc:137:76: error: ‘ThrowException’ was not declared in this scope
- ThrowException(Exception::Error(String::New("set metadata failed")));
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_file.cc:138:22: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.cc:138:38: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:98:42: error: ‘Arguments’ does not name a type
- Handle<Value> GNPlaylist::Playlist(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_file.cc:140:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.cc:140:34: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::Playlist(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_playlist.cc:99:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:143:38: error: ‘Arguments’ does not name a type
- Handle<Value> GNFile::Metadata(const Arguments& args) {
- ^
- ../src/gn_playlist.cc:100:37: error: ‘node::ObjectWrap’ has not been declared
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_playlist.cc:100:66: error: expected primary-expression before ‘>’ token
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_playlist.cc:100:73: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::Metadata(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:144:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:145:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:145:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:145:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:146:42: error: no matching function for call to ‘v8::Object::New()’
- Local<Object> metadata = Object::New();
- ^
- ../src/gn_file.cc:146:42: note: candidate is:
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
- static Local<Object> New(Isolate* isolate);
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:2388:24: note: candidate expects 1 argument, 0 provided
- ../src/gn_file.cc:150:23: error: ‘New’ is not a member of ‘v8::String’
- metadata->Set(String::New(groove_tag_key(tag)), String::New(groove_tag_value(tag)));
- ^
- ../src/gn_file.cc:150:57: error: ‘New’ is not a member of ‘v8::String’
- metadata->Set(String::New(groove_tag_key(tag)), String::New(groove_tag_value(tag)));
- ^
- ../src/gn_file.cc:152:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(metadata);
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:155:40: error: ‘Arguments’ does not name a type
- Handle<Value> GNFile::ShortNames(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::ShortNames(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:156:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:157:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:157:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.cc:157:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_playlist.cc:102:40: error: no matching function for call to ‘v8::Array::New()’
- Local<Array> playlist = Array::New();
- ^
- ../src/gn_file.cc:158:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(String::New(groove_file_short_names(gn_file->file)));
- ^
- ../src/gn_playlist.cc:102:40: note: candidate is:
- ../src/gn_file.cc:158:24: error: ‘New’ is not a member of ‘v8::String’
- return scope.Close(String::New(groove_file_short_names(gn_file->file)));
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:161:38: error: ‘Arguments’ does not name a type
- Handle<Value> GNFile::Duration(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:2417:23: note: static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)
- static Local<Array> New(Isolate* isolate, int length = 0);
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:2417:23: note: candidate expects 2 arguments, 0 provided
- In file included from ../src/groove.cc:3:0:
- ../src/gn_file.h:8:40: error: expected class-name before ‘{’ token
- class GNFile : public node::ObjectWrap {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNFile::Duration(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc:162:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_playlist.cc:107:36: error: no matching function for call to ‘v8::Number::New(int&)’
- playlist->Set(Number::New(i), GNPlaylistItem::NewInstance(item));
- ^
- ../src/gn_file.cc:163:29: error: ‘node::ObjectWrap’ has not been declared
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_playlist.cc:107:36: note: candidate is:
- ../src/gn_file.cc:163:54: error: expected primary-expression before ‘>’ token
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- ../src/gn_file.h:13:53: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Open(const v8::Arguments& args);
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
- static Local<Number> New(Isolate* isolate, double value);
- ^
- ../src/gn_file.cc:163:61: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNFile *gn_file = node::ObjectWrap::Unwrap<GNFile>(args.This());
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
- ../src/gn_file.cc:164:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Number::New(groove_file_duration(gn_file->file)));
- ^
- ../src/gn_file.cc:164:71: error: no matching function for call to ‘v8::Number::New(double)’
- return scope.Close(Number::New(groove_file_duration(gn_file->file)));
- ^
- ../src/gn_playlist.cc:112:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(playlist);
- ^
- ../src/gn_file.cc:164:71: note: candidate is:
- ../src/gn_file.h:21:52: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> New(const v8::Arguments& args);
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:115:39: error: ‘Arguments’ does not name a type
- Handle<Value> GNPlaylist::Pause(const Arguments& args) {
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_file.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
- static Local<Number> New(Isolate* isolate, double value);
- ^
- ../src/gn_file.h:24:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:1999:24: note: candidate expects 2 arguments, 1 provided
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h: In static member function ‘static v8::Handle<v8::Value> GNPlaylist::Pause(const int&)’:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
- V8_INLINE HandleScope() {}
- ^
- ../src/gn_file.cc: At global scope:
- ../src/gn_file.cc:168:5: error: ‘uv_work_t’ does not name a type
- uv_work_t req;
- ^
- ../src/gn_file.h:26:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_playlist.cc:116:17: error: within this context
- HandleScope scope;
- ^
- ../src/gn_file.cc:173:24: error: variable or field ‘CloseAsync’ declared void
- static void CloseAsync(uv_work_t *req) {
- ^
- ../src/gn_file.h:28:27: error: ‘AccessorInfo’ in namespace ‘v8’ does not name a type
- const v8::AccessorInfo &info);
- ^
- ../src/gn_file.cc:173:24: error: ‘uv_work_t’ was not declared in this scope
- ../src/gn_playlist.cc:117:37: error: ‘node::ObjectWrap’ has not been declared
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_file.cc:173:35: error: ‘req’ was not declared in this scope
- static void CloseAsync(uv_work_t *req) {
- ^
- ../src/gn_playlist.cc:117:66: error: expected primary-expression before ‘>’ token
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_file.h:30:54: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Close(const v8::Arguments& args);
- ^
- ../src/gn_playlist.cc:117:73: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
- GNPlaylist *gn_playlist = node::ObjectWrap::Unwrap<GNPlaylist>(args.This());
- ^
- ../src/gn_file.h:31:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Duration(const v8::Arguments& args);
- ^
- ../src/gn_playlist.cc:119:18: error: ‘class v8::HandleScope’ has no member named ‘Close’
- return scope.Close(Undefined());
- ^
- ../src/gn_playlist.cc:119:34: error: too few arguments to function ‘v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)’
- return scope.Close(Undefined());
- ^
- ../src/gn_file.h:32:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> GetMetadata(const v8::Arguments& args);
- ^
- In file included from /home/carputer/.node-gyp/0.12.0/src/node.h:61:0,
- from ../src/gn_playlist.cc:1:
- /home/carputer/.node-gyp/0.12.0/deps/v8/include/v8.h:305:28: note: declared here
- friend Handle<Primitive> Undefined(Isolate* isolate);
- ^
- ../src/gn_file.h:33:60: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> SetMetadata(const v8::Arguments& args);
- ^
- ../src/gn_playlist.cc: At global scope:
- ../src/gn_playlist.cc:122:38: error: ‘Arguments’ does not name a type
- Handle<Value> GNPlaylist::Seek(const Arguments& args) {
- ^
- ../src/gn_file.h:34:57: error: ‘Arguments’ in namespace ‘v8’ does not name a type
- static v8::Handle<v8::Value> Metadata(const v8::Arguments& args);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement