build failure introduced by r14955 with autotools-based build

Bug #1589300 reported by su_v
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

Latest trunk r14955 fails to compile with autotools-based build:

  CXX extension/param/parameter.o
In file included from /Volumes/magenta/mp-trunk/x11/include/glibmm-2.4/glibmm.h:89,
                 from /Volumes/magenta/mp-trunk/x11/include/gtkmm-2.4/gtkmm/table.h:7,
                 from ./ui/widget/color-notebook.h:25,
                 from extension/param/parameter.cpp:25:
/Volumes/magenta/mp-trunk/x11/include/glibmm-2.4/glibmm/threads.h:209: error: field ‘gobject_’ has incomplete type
/Volumes/magenta/mp-trunk/x11/include/glibmm-2.4/glibmm/threads.h: In member function ‘GThread* Glib::Threads::Thread::gobj()’:
/Volumes/magenta/mp-trunk/x11/include/glibmm-2.4/glibmm/threads.h:205: error: ‘gobject_’ was not declared in this scope
/Volumes/magenta/mp-trunk/x11/include/glibmm-2.4/glibmm/threads.h: In member function ‘const GThread* Glib::Threads::Thread::gobj() const’:
/Volumes/magenta/mp-trunk/x11/include/glibmm-2.4/glibmm/threads.h:206: error: ‘gobject_’ was not declared in this scope
make[3]: *** [extension/param/parameter.o] Error 1

A cmake-based build on the other hand succeeds (same build environment otherwise, all tests done on OS X 10.7.5), as does one with btool on Windows (as confirmed on irc by the author of r14955).

Changing the order of the includes (see attached diff) allows to compile r14955 successfully with autotools-based build. Please review the proposed diff and apply if ok.

Tags: build
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
jazzynico (jazzynico)
Changed in inkscape:
assignee: nobody → su_v (suv-lp)
importance: Undecided → High
milestone: none → 0.92
status: New → In Progress
Revision history for this message
Patrick Storz (ede123) wrote :
Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp)
Changed in inkscape:
assignee: su_v (suv-lp) → nobody
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.