maemo.org Bugzilla – Bug 4635
gtk+ headers incompatible to glib version wrt G_DISABLE_SINGLE_INCLUDES
Last modified: 2009-07-14 13:40:33 UTC
You need to
before you can comment on or make changes to this bug.
Fremantle beta SDK, which has glib 2.18.1 and gtk+ 2.12.12.
Using -DG_DISABLE_SINGLE_INCLUDES one runs into problems since the headers of
this gtk+ version still include some glib headers directly, while the more
recent glib version used forbids this:
In file included from /usr/include/gtk-2.0/gdk/gdkspawn.h:26,
/usr/include/glib-2.0/glib/gspawn.h:22:2: error: #error "Only <glib.h> can be
Of course I can work around this easily, and arguably other modules shouldn't
hardcode this #define, but it's still yet another thing that needs attention
IMHO either the shipped gtk+ headers should be fixed to work with glib single
includes disabled, or the shipped glib headers be changed not to bork in this
According to the existance of
gtk+ 2.14 will be used for Fremantle where this issue will not happen anymore.
Hence closing as FIXED.
Fix should be included in Fremantle SDK beta 2 hence updating Target Milestone.
If you are the reporter of this bug: Feel free to verify the fix if possible.