Comment 15 for bug 1122774

Revision history for this message
John (john-jcoppens) wrote :

In 0.91pre3, the error is still present (though it went from line 7 to line 10):

  CXX color-profile.o
In file included from /usr/include/glibmm-2.4/glibmm.h:89:0,
                 from /usr/include/gdkmm-2.4/gdkmm/color.h:9,
                 from color-profile.cpp:10:
/usr/include/glibmm-2.4/glibmm/threads.h:142:11: error: field 'gobject_' has incomplete type
   GThread gobject_;
           ^
/usr/include/glibmm-2.4/glibmm/threads.h: In member function 'GThread* Glib::Threads::Thread::gobj()':
/usr/include/glibmm-2.4/glibmm/threads.h:138:41: error: 'gobject_' was not declared in this scope
   GThread* gobj() { return &gobject_; }
                                         ^
/usr/include/glibmm-2.4/glibmm/threads.h: In member function 'const GThread* Glib::Threads::Thread::gobj() const':
/usr/include/glibmm-2.4/glibmm/threads.h:139:41: error: 'gobject_' was not declared in this scope
   const GThread* gobj() const { return &gobject_; }
                                         ^
In file included from /usr/include/glibmm-2.4/glibmm.h:89:0,
                 from /usr/include/gtkmm-2.4/gtkmm/box.h:7,
                 from ui/widget/panel.h:24,
                 from main.cpp:33:
/usr/include/glibmm-2.4/glibmm/threads.h:142:11: error: field 'gobject_' has incomplete type
   GThread gobject_;
           ^
/usr/include/glibmm-2.4/glibmm/threads.h: In member function 'GThread* Glib::Threads::Thread::gobj()':
/usr/include/glibmm-2.4/glibmm/threads.h:138:41: error: 'gobject_' was not declared in this scope
   GThread* gobj() { return &gobject_; }
                                         ^
/usr/include/glibmm-2.4/glibmm/threads.h: In member function 'const GThread* Glib::Threads::Thread::gobj() const':
/usr/include/glibmm-2.4/glibmm/threads.h:139:41: error: 'gobject_' was not declared in this scope
   const GThread* gobj() const { return &gobject_; }
                                         ^
color-profile.cpp: At global scope:
color-profile.cpp:196:7: warning: '{anonymous}::rectRegistered' defined but not used [-Wunused-variable]
  bool rectRegistered = SPFactory::instance().registerObject("svg:color-profile", createColorProfile);
       ^

This with glib-2.40.0.