Skip to content

Instantly share code, notes, and snippets.

@Floby
Created October 22, 2011 20:22
Show Gist options
  • Save Floby/1306454 to your computer and use it in GitHub Desktop.
Save Floby/1306454 to your computer and use it in GitHub Desktop.
Compile error, via npm install on ubuntu
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm info preinstall [email protected]
Setting srcdir to : /home/floby/dev/node/gui
Setting blddir to : /home/floby/dev/node/gui/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for pkg-config version >= 0.0.0 : yes
Checking for gtk+-2.0 : yes
'configure' finished successfully (0.042s)
npm info build /home/floby/dev/node/gui
npm info linkStuff [email protected]
npm info install [email protected]
Waf: Entering directory `/home/floby/dev/node/gui/build'
[ 1/37] cxx: src/node_gui_tree_view.cc -> build/default/src/node_gui_tree_view_1.o
[ 2/37] cxx: src/node_gui_bin.cc -> build/default/src/node_gui_bin_1.o
[ 3/37] cxx: src/node_gui_text_iter.cc -> build/default/src/node_gui_text_iter_1.o
[ 4/37] cxx: src/node_gui_status_icon.cc -> build/default/src/node_gui_status_icon_1.o
In file included from ../src/node_gui_text_iter.h:4:0,
from ../src/node_gui_text_iter.cc:1:
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::New(const v8::Arguments&)’:
../src/node_gui_object.h:30:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:34:53: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:44:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:54:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:100:53: error: ‘nullptr’ was not declared in this scope
In file included from ../src/node_gui_widget.h:4:0,
from ../src/node_gui_container.h:4,
from ../src/node_gui_bin.h:4,
from ../src/node_gui_bin.cc:1:
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::New(const v8::Arguments&)’:
../src/node_gui_object.h:30:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:34:53: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:44:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:54:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:100:53: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = _GtkTextBuffer*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_buffer]’:
../src/node_gui_text_iter.cc:9:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_offset]’:
../src/node_gui_text_iter.cc:11:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_line]’:
../src/node_gui_text_iter.cc:12:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_line_offset]’:
../src/node_gui_text_iter.cc:13:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_line_index]’:
../src/node_gui_text_iter.cc:14:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_visible_line_index]’:
../src/node_gui_text_iter.cc:15:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_visible_line_offset]’:
../src/node_gui_text_iter.cc:16:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = unsigned int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_char]’:
../src/node_gui_text_iter.cc:17:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_starts_word]’:
../src/node_gui_text_iter.cc:18:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_ends_word]’:
../src/node_gui_text_iter.cc:19:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_inside_word]’:
../src/node_gui_text_iter.cc:20:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_starts_line]’:
../src/node_gui_text_iter.cc:21:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_ends_line]’:
../src/node_gui_text_iter.cc:22:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_starts_sentence]’:
../src/node_gui_text_iter.cc:23:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_ends_sentence]’:
../src/node_gui_text_iter.cc:24:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_inside_sentence]’:
../src/node_gui_text_iter.cc:25:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_is_cursor_position]’:
../src/node_gui_text_iter.cc:26:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_chars_in_line]’:
../src/node_gui_text_iter.cc:27:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_bytes_in_line]’:
../src/node_gui_text_iter.cc:28:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_is_end]’:
../src/node_gui_text_iter.cc:29:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_is_start]’:
../src/node_gui_text_iter.cc:30:5: instantiated from here
../src/node_gui_object.h:218:116: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(GtkType*) = gtk_text_iter_forward_char]’:
../src/node_gui_text_iter.cc:31:5: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(GtkType*) = gtk_text_iter_backward_char]’:
../src/node_gui_text_iter.cc:32:5: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
In file included from ../src/node_gui_text_iter.h:4:0,
from ../src/node_gui_text_iter.cc:1:
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_slice]’:
../src/node_gui_text_iter.cc:34:5: instantiated from here
../src/node_gui_object.h:249:128: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_text]’:
../src/node_gui_text_iter.cc:35:5: instantiated from here
../src/node_gui_object.h:249:128: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_visible_slice]’:
../src/node_gui_text_iter.cc:36:5: instantiated from here
../src/node_gui_object.h:249:128: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_visible_text]’:
../src/node_gui_text_iter.cc:37:5: instantiated from here
../src/node_gui_object.h:249:128: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, ARG0 = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_editable]’:
../src/node_gui_text_iter.cc:38:5: instantiated from here
../src/node_gui_object.h:249:128: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, ARG0 = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_can_insert]’:
../src/node_gui_text_iter.cc:39:5: instantiated from here
../src/node_gui_object.h:249:128: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = _GtkWidget*, GtkType = _GtkBin, ReturnType (* function)(GtkType*) = gtk_bin_get_child]’:
../src/node_gui_bin.cc:9:5: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h:250:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, ARG0 = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_editable]’:
../src/node_gui_object.h:250:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_visible_text]’:
../src/node_gui_object.h:250:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_visible_slice]’:
../src/node_gui_object.h:250:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_text]’:
../src/node_gui_object.h:250:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, ARG0 = const _GtkTextIter*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*, ARG0) = gtk_text_iter_get_slice]’:
../src/node_gui_object.h:250:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(GtkType*) = gtk_text_iter_backward_char]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(GtkType*) = gtk_text_iter_forward_char]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_is_start]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_is_end]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_bytes_in_line]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_chars_in_line]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_is_cursor_position]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_inside_sentence]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_ends_sentence]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_starts_sentence]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_ends_line]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_starts_line]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_inside_word]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_ends_word]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_starts_word]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = unsigned int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_char]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_visible_line_offset]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_visible_line_index]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_line_index]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_line_offset]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_line]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_offset]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = _GtkTextBuffer*, GtkType = _GtkTextIter, ReturnType (* function)(const GtkType*) = gtk_text_iter_get_buffer]’:
../src/node_gui_object.h:219:5: warning: control reaches end of non-void function
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
In file included from ../src/node_gui_status_icon.h:4:0,
from ../src/node_gui_status_icon.cc:2:
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::New(const v8::Arguments&)’:
../src/node_gui_object.h:30:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:34:53: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:44:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:54:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:100:53: error: ‘nullptr’ was not declared in this scope
In file included from ../src/node_gui_widget.h:4:0,
from ../src/node_gui_container.h:4,
from ../src/node_gui_tree_view.h:4,
from ../src/node_gui_tree_view.cc:1:
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::New(const v8::Arguments&)’:
../src/node_gui_object.h:30:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:34:53: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:44:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::Constructor(const v8::Arguments&)’:
../src/node_gui_object.h:54:9: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = const char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_stock]’:
../src/node_gui_status_icon.cc:13:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = const char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_icon_name]’:
../src/node_gui_status_icon.cc:14:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_size]’:
../src/node_gui_status_icon.cc:15:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_tooltip_text]’:
../src/node_gui_status_icon.cc:18:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_tooltip_markup]’:
../src/node_gui_status_icon.cc:20:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_has_tooltip]’:
../src/node_gui_status_icon.cc:22:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = const char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_title]’:
../src/node_gui_status_icon.cc:24:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_visible]’:
../src/node_gui_status_icon.cc:27:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_blinking]’:
../src/node_gui_status_icon.cc:29:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_is_embedded]’:
../src/node_gui_status_icon.cc:30:2: instantiated from here
../src/node_gui_object.h:223:104: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression
../src/node_gui_object.h:100:53: error: ‘nullptr’ was not declared in this scope
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_blinking]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_visible]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = const char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_title]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_has_tooltip]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_tooltip_markup]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_tooltip_text]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = int, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_size]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = const char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_icon_name]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
../src/node_gui_object.h: In static member function ‘static v8::Handle<v8::Value> clip::Object::GetterMethod(const v8::Arguments&) [with ReturnType = const char*, GtkType = _GtkStatusIcon, ReturnType (* function)(GtkType*) = gtk_status_icon_get_stock]’:
../src/node_gui_object.h:224:5: warning: control reaches end of non-void function
Waf: Leaving directory `/home/floby/dev/node/gui/build'
Build failed:
-> task failed (err #1):
{task: cxx node_gui_text_iter.cc -> node_gui_text_iter_1.o}
-> task failed (err #1):
{task: cxx node_gui_bin.cc -> node_gui_bin_1.o}
-> task failed (err #1):
{task: cxx node_gui_tree_view.cc -> node_gui_tree_view_1.o}
-> task failed (err #1):
{task: cxx node_gui_status_icon.cc -> node_gui_status_icon_1.o}
npm info [email protected] Failed to exec install script
npm ERR! [email protected] install: `node-waf build install`
npm ERR! `sh "-c" "node-waf build install"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the gui package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf build install
npm ERR! You can get their info via:
npm ERR! npm owner ls gui
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.38-11-generic-pae
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /home/floby/dev/node/gui
npm ERR! node -v v0.4.13-pre
npm ERR! npm -v 1.0.99
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/floby/dev/node/gui/npm-debug.log
npm not ok
info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install' ]
info using [email protected]
info using [email protected]
verbose config file /home/floby/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose has wscript [ undefined,
verbose has wscript { dev: true,
verbose has wscript file: '/home/floby/dev/node/gui/package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
silly testEngine { name: 'gui',
silly testEngine description: 'GTK+ porting for node.js',
silly testEngine keywords: [ 'GTK+', 'gui' ],
silly testEngine version: '0.0.1',
silly testEngine author: { name: 'Zhao Cheng', email: '[email protected]' },
silly testEngine repository:
silly testEngine { type: 'git',
silly testEngine url: 'git://github.com/zcbenz/node-gui.git' },
silly testEngine bugs: { url: 'https://github.com/zcbenz/node-gui/issues' },
silly testEngine scripts:
silly testEngine { preinstall: 'node-waf configure',
silly testEngine install: 'node-waf build install' },
silly testEngine os: [ 'linux', 'darwin', 'freebsd', 'windows' ],
silly testEngine homepage: 'https://github.com/zcbenz/node-gui',
silly testEngine config: { native: true },
silly testEngine engines: { node: '>=0.5.8' },
silly testEngine licenses:
silly testEngine [ { type: 'The MIT License',
silly testEngine url: 'http://www.opensource.org/licenses/mit-license.php' } ],
silly testEngine _id: '[email protected]',
silly testEngine dependencies: {},
silly testEngine devDependencies: {},
silly testEngine _engineSupported: false,
silly testEngine _npmVersion: '1.0.99',
silly testEngine _nodeVersion: 'v0.4.13-pre',
silly testEngine _defaultsLoaded: true }
verbose caching /home/floby/dev/node/gui/package.json
verbose loadDefaults [email protected]
verbose where, deps [ '/home/floby/dev/node/gui', [] ]
verbose from cache /home/floby/dev/node/gui/package.json
info preinstall [email protected]
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "node-waf configure"
silly spawning [ 'sh',
silly spawning [ '-c', 'node-waf configure' ],
silly spawning '/home/floby/dev/node/gui' ]
verbose from cache /home/floby/dev/node/gui/package.json
verbose into /home/floby/dev/node/gui []
silly resolved []
info build /home/floby/dev/node/gui
verbose from cache /home/floby/dev/node/gui/package.json
verbose linkStuff [ false, false, false, '/home/floby/dev/node' ]
info linkStuff [email protected]
verbose linkBins [email protected]
verbose linkMans [email protected]
verbose rebuildBundles [email protected]
info install [email protected]
verbose unsafe-perm in lifecycle true
silly exec sh "-c" "node-waf build install"
silly spawning [ 'sh',
silly spawning [ '-c', 'node-waf build install' ],
silly spawning '/home/floby/dev/node/gui' ]
info [email protected] Failed to exec install script
ERR! [email protected] install: `node-waf build install`
ERR! `sh "-c" "node-waf build install"` failed with 1
ERR!
ERR! Failed at the [email protected] install script.
ERR! This is most likely a problem with the gui package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-waf build install
ERR! You can get their info via:
ERR! npm owner ls gui
ERR! There is likely additional logging output above.
ERR!
ERR! System Linux 2.6.38-11-generic-pae
ERR! command "node" "/usr/local/bin/npm" "install"
ERR! cwd /home/floby/dev/node/gui
ERR! node -v v0.4.13-pre
ERR! npm -v 1.0.99
ERR! code ELIFECYCLE
verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment