GNOME Bugzilla – Bug 733600
anjuta-tags - build breakage with recent glib
Last modified: 2014-12-07 22:04:39 UTC
See https://bugzilla.gnome.org/show_bug.cgi?id=730932#c18 Redefining __unused__ (a GCC keyword) is problematical. The simplest fix would just be to replace all uses of __unused__ in anjuta-tags with ANJUTA_UNUSED or something. Or include glib.h in an appropriate place and use G_GNUC_UNUSED
Note this isn't actually Anjuta's code - it looks like an imported fork of ctags, and is now a mix of GLib-using code and *really* crufty ctags bits. I'd vote for just including glib.h in general.h and using G_GNUC_UNUSED.
Thank for checking that. Indeed, most of the code comes from ctags. I have created a CTAGS_GNUC_UNUSED to fix the issue.