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);
^
In 0.91pre3, the error is still present (though it went from line 7 to line 10):
CXX color-profile.o glibmm- 2.4/glibmm. h:89:0,
from /usr/include/ gdkmm-2. 4/gdkmm/ color.h: 9,
from color-profile. cpp:10: glibmm- 2.4/glibmm/ threads. h:142:11: error: field 'gobject_' has incomplete type glibmm- 2.4/glibmm/ threads. h: In member function 'GThread* Glib::Threads: :Thread: :gobj() ': glibmm- 2.4/glibmm/ threads. h:138:41: error: 'gobject_' was not declared in this scope
^ glibmm- 2.4/glibmm/ threads. h: In member function 'const GThread* Glib::Threads: :Thread: :gobj() const': glibmm- 2.4/glibmm/ threads. h:139:41: error: 'gobject_' was not declared in this scope
^ 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: glibmm- 2.4/glibmm/ threads. h:142:11: error: field 'gobject_' has incomplete type glibmm- 2.4/glibmm/ threads. h: In member function 'GThread* Glib::Threads: :Thread: :gobj() ': glibmm- 2.4/glibmm/ threads. h:138:41: error: 'gobject_' was not declared in this scope
^ glibmm- 2.4/glibmm/ threads. h: In member function 'const GThread* Glib::Threads: :Thread: :gobj() const': glibmm- 2.4/glibmm/ threads. h:139:41: error: 'gobject_' was not declared in this scope
^ cpp:196: 7: warning: '{anonymous} ::rectRegistere d' defined but not used [-Wunused-variable] :instance( ).registerObjec t("svg: color-profile" , createColorProf ile);
In file included from /usr/include/
/usr/include/
GThread gobject_;
^
/usr/include/
/usr/include/
GThread* gobj() { return &gobject_; }
/usr/include/
/usr/include/
const GThread* gobj() const { return &gobject_; }
In file included from /usr/include/
/usr/include/
GThread gobject_;
^
/usr/include/
/usr/include/
GThread* gobj() { return &gobject_; }
/usr/include/
/usr/include/
const GThread* gobj() const { return &gobject_; }
color-profile.cpp: At global scope:
color-profile.
bool rectRegistered = SPFactory:
^
This with glib-2.40.0.