GType typedef API/ABI break.
- From: Murray Cumming <murrayc murrayc com>
- To: gtk-list <gtk-list gnome org>
- Subject: GType typedef API/ABI break.
- Date: Thu, 21 Jun 2007 18:58:27 +0200
I think the recent change to the GType definition is causing linker
errors by changing the GType definition from gulong to gsize. We are
left with the #else definition that was previously commented as "/* hm,
shouldn't happen? */"
This is the change:
http://svn.gnome.org/viewcvs/glib/trunk/gobject/gtype.h?r1=5497&r2=5560
With this ChangeLog entry:
http://svn.gnome.org/viewcvs/glib?view=revision&revision=5560
This is causing linker errors in almost everything that uses glib and C
++, such as gtkmm and Inkscape, because the parameter type in, e.g.
void get_defs(GType)
is part of the function signature.
For instance, glibmm's library contains a
void get_defs(unsigned long)
But now, when building gtkmm, the linker is looking for
void get_defs(unsigned int)
and failing.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]