forked from fujiwarat/ibus-anthy
-
Notifications
You must be signed in to change notification settings - Fork 10
ibus-anthy does not build with -Werror #9
Copy link
Copy link
Closed
Description
Issue description:
autogen.sh puts -Werror in CFLAGS and CXXFLAGS by default, but gir/anthygcontext.c uses the function g_type_class_add_private, which is deprecated in GLib 2.58.
Steps to reproduce:
- Run
autogen.sh. - Build ibus-anthy with
gmake. - It fails with the following errors:
anthygcontext.c:55:5: error: 'g_type_class_add_private' is deprecated [-Werror,-Wdeprecated-declarations]
g_type_class_add_private (class, sizeof (AnthyGContextPrivate));
^
/home/lantw44/gnome/devinstall/include/glib-2.0/gobject/gtype.h:1302:1: note: 'g_type_class_add_private' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_58
^
/home/lantw44/gnome/devinstall/include/glib-2.0/glib/gversionmacros.h:534:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_58'
# define GLIB_DEPRECATED_IN_2_58 GLIB_DEPRECATED
^
/home/lantw44/gnome/devinstall/include/glib-2.0/glib/gmacros.h:476:25: note: expanded from macro 'GLIB_DEPRECATED'
#define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN
^
/home/lantw44/gnome/devinstall/include/glib-2.0/glib/gmacros.h:438:37: note: expanded from macro 'G_DEPRECATED'
#define G_DEPRECATED __attribute__((__deprecated__))
^
1 error generated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels