Skip to content

GTypeDebugFlags is deprecated #4

@morgant

Description

@morgant

There are a lot of warnings like the following:

In file included from xwf-src/xwf_misc.c:22:                                  [27/1841]In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:33:
In file included from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32:In file included from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36:In file included from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35:
In file included from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35:In file included from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36:
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37:/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is dep
recated [-Wdeprecated-declarations]                                                    void            gtk_type_init   (GTypeDebugFlags    debug_flags);
                                 ^                        /usr/local/include/glib-2.0/gobject/gtype.h:685:19: note: 'GTypeDebugFlags' has been ex
plicitly marked deprecated here} GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36;           
                  ^                                       /usr/local/include/glib-2.0/glib/gversionmacros.h:510:49: note: expanded from macro 'GL
IB_DEPRECATED_TYPE_IN_2_36'                                                            # define GLIB_DEPRECATED_TYPE_IN_2_36           GLIB_DEPRECATED_TYPE
                                                ^                                      /usr/local/include/glib-2.0/glib/gmacros.h:1017:30: note: expanded from macro 'GLIB_DEP
RECATED_TYPE'                                             #define GLIB_DEPRECATED_TYPE G_DEPRECATED                                              
                             ^                                                         /usr/local/include/glib-2.0/glib/gmacros.h:944:37: note: expanded from macro 'G_DEPRECA
TED'                                                      #define G_DEPRECATED __attribute__((__deprecated__))

Unfortunately, I believe these are mostly in GTK+ 2.x itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions