GNOME Bugzilla – Bug 388184
Mis-determination of gcc "inline" semantics
Last modified: 2007-09-26 19:20:17 UTC
in glib-2.12.4, gutils.h around line 99 uses defined(__GNUC__) as the primary determination for how to define G_INLINE_FUNC. Now gcc has changed the semantics of "inline", such that this is no longer a valid assumption. http://gcc.gnu.org/ml/gcc/2006-11/msg00006.html One result is that compiling against glib can fail with multiply-defined symbol errors because the "inline"d symbols are exposed. Need to use a feature test for the actual behavior of "inline" to decide how to define, rather than assuming a certain behavior of a given compiler or other platform test.
See also http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/2007-March/032644.html
Dupe of #315437 I think. *** This bug has been marked as a duplicate of 315437 ***