After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733600 - anjuta-tags - build breakage with recent glib
anjuta-tags - build breakage with recent glib
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: unknown
git master
Other Linux
: Normal normal
: ---
Assigned To: Anjuta maintainers
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-23 12:43 UTC by Owen Taylor
Modified: 2014-12-07 22:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Owen Taylor 2014-07-23 12:43:57 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
Comment 1 Colin Walters 2014-07-23 14:29:26 UTC
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.
Comment 2 Sébastien Granjoux 2014-12-07 22:04:39 UTC
Thank for checking that. Indeed, most of the code comes from ctags. I have created a CTAGS_GNUC_UNUSED to fix the issue.