With latest OpenBSD snapshot on amd64 and latest gtk and related packages including <gtk/gtk.h> gives the following warnings :
In file included from /usr/local/include/glib-2.0/glib/gthread.h:34, from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/local/include/glib-2.0/glib.h:32, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gutils.h:213: warning: 'GVoidFunc' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:32, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gasyncqueue.h:116: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gasyncqueue.h:119: warning: 'GTimeVal' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:43, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gdate.h:201: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gdate.h:204: warning: 'GTime' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:44, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gdatetime.h:118: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gdatetime.h:120: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gdatetime.h:246: warning: 'GTimeVal' is deprecated In file included from /usr/local/include/glib-2.0/glib/giochannel.h:33, from /usr/local/include/glib-2.0/glib.h:54, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gmain.h:550: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gmain.h:575: warning: 'GTimeVal' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:85, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gtestutils.h:373: warning: 'GTestTrapFlags' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:88, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gtimer.h:67: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gtimer.h:71: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/gtimer.h:73: warning: 'GTimeVal' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:90, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/gtrashstack.h:41: warning: 'GTrashStack' is deprecated /usr/local/include/glib-2.0/glib/gtrashstack.h:45: warning: 'GTrashStack' is deprecated /usr/local/include/glib-2.0/glib/gtrashstack.h:48: warning: 'GTrashStack' is deprecated /usr/local/include/glib-2.0/glib/gtrashstack.h:50: warning: 'GTrashStack' is deprecated /usr/local/include/glib-2.0/glib/gtrashstack.h:52: warning: 'GTrashStack' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:106, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/deprecated/gcache.h:47: warning: 'GCacheNewFunc' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:48: warning: 'GCacheDestroyFunc' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:49: warning: 'GCacheDupFunc' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:50: warning: 'GCacheDestroyFunc' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:55: warning: 'GCache' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:57: warning: 'GCache' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:60: warning: 'GCache' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:63: warning: 'GCache' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gcache.h:67: warning: 'GCache' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:110, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:52: warning: 'GThreadPriority' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:70: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:81: warning: 'GThreadPriority' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:88: warning: 'GThreadPriority' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:94: warning: 'GThreadFunctions' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:111: warning: 'GThreadPriority' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:116: warning: 'GThreadPriority' is deprecated In file included from /usr/local/include/glib-2.0/glib.h:110, from /usr/local/include/gtk-3.0/gdk/gdkconfig.h:13, from /usr/local/include/gtk-3.0/gdk/gdk.h:30, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/glib/deprecated/gthread.h:146: warning: 'GStaticMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:148: warning: 'GStaticMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:150: warning: 'GStaticMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:156: warning: 'GStaticMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:172: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:175: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:178: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:181: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:184: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:188: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:191: warning: 'GStaticRecMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:197: warning: 'GStaticMutex' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:209: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:212: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:215: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:218: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:221: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:224: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:227: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:230: warning: 'GStaticRWLock' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:244: warning: 'GStaticPrivate' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:247: warning: 'GStaticPrivate' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:250: warning: 'GStaticPrivate' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:255: warning: 'GStaticPrivate' is deprecated /usr/local/include/glib-2.0/glib/deprecated/gthread.h:283: warning: 'GTimeVal' is deprecated In file included from /usr/local/include/glib-2.0/gobject/gobject.h:24, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gobject/gtype.h:693: warning: 'GTypeDebugFlags' is deprecated In file included from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gobject/gobject.h:433: warning: 'GParameter' is deprecated In file included from /usr/local/include/glib-2.0/gio/gasyncinitable.h:29, from /usr/local/include/glib-2.0/gio/gio.h:35, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gio/ginitable.h:89: warning: 'GParameter' is deprecated In file included from /usr/local/include/glib-2.0/gio/gio.h:35, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gio/gasyncinitable.h:104: warning: 'GParameter' is deprecated In file included from /usr/local/include/glib-2.0/gio/gdtlsclientconnection.h:27, from /usr/local/include/glib-2.0/gio/gio.h:63, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gio/gdtlsconnection.h:135: warning: 'GTlsRehandshakeMode' is deprecated In file included from /usr/local/include/glib-2.0/gio/gio.h:71, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gio/gfileinfo.h:1052: warning: 'GTimeVal' is deprecated /usr/local/include/glib-2.0/gio/gfileinfo.h:1103: warning: 'GTimeVal' is deprecated In file included from /usr/local/include/glib-2.0/gio/gtlsclientconnection.h:26, from /usr/local/include/glib-2.0/gio/gio.h:142, from /usr/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/local/include/gtk-3.0/gdk/gdk.h:32, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/glib-2.0/gio/gtlsconnection.h:115: warning: 'GTlsRehandshakeMode' is deprecated In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:36, from /usr/local/include/gtk-3.0/gdk/gdkpixbuf.h:33, from /usr/local/include/gtk-3.0/gdk/gdkcairo.h:29, from /usr/local/include/gtk-3.0/gdk/gdk.h:33, from /usr/local/include/gtk-3.0/gtk/gtk.h:30, from rtbuf_widget.c:17: /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h:112: warning: 'GTimeVal' is deprecated /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-animation.h:126: warning: 'GTimeVal' is deprecated -- Thomas de Grivel kmx.io