GNOME Bugzilla – Bug 383022
Non-portable __FUNCTION__ macro used - breaks Solaris
Last modified: 2007-02-18 18:50:06 UTC
In libslab/document-tile.c and libslab/gnome-utils.c, the __FUNCTION__ macro is used. This breaks the build on Solaris. Please use the portable G_GNUC_FUNCTION macro, defined in /usr/include/glib-2.0/glib/gmacros.h.
Created attachment 77818 [details] [review] Use G_GNUC_FUNCTION macro.
This is a libslab issue, but I can't see any reason not to commit the patch.
Moving to libslab component.
Patch approved by Scott and committed to svn trunk
Debug output is now useless since G_GNUC_FUNCTION expands to "" on gcc >= 3.0.