The glib patch I mentioned only defines G_GNUC_INTERNAL to __hidden for Sun Studio. See /usr/lib/glib-2.0/include/glibconfig.h which is included by /usr/include/glib-2.0/glib/gtypes.h.
yippi, who wrote the glib patch, might know if there is a way to avoid having to patch other modules (to move G_GNUC_INTERNAL to the start of a line), but I'm sure he would have told me if there was. This message posted from opensolaris.org
