=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/math/gtklife", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gtklife-5.1nb46 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o gtklife.o gtklife.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o life.o life.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o loadsave.o loadsave.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o ewmh.o ewmh.c In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from ewmh.c:4: /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gobject.h:26, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib-object.h:24, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32: /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from gtklife.c:16: /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gobject.h:26, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib-object.h:24, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32: /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib/galloca.h:34, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib.h:32, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30: /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib/gtypes.h:622:8: note: declared here 622 | struct _GTimeVal | ^~~~~~~~~ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126: /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib/galloca.h:34, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib.h:32, from /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30: /home/pbulk/work/math/gtklife/work/.buildlink/include/glib-2.0/glib/gtypes.h:622:8: note: declared here 622 | struct _GTimeVal | ^~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:152:50: note: in expansion of macro 'H' 152 | { "/File/_New", "N", H, CMD_FILE_NEW, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[2].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:152:50: note: in expansion of macro 'H' 152 | { "/File/_New", "N", H, CMD_FILE_NEW, 0 }, | ^ In file included from gtklife.c:20: gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:153:50: note: in expansion of macro 'H' 153 | { "/File/_Open...", "O", H, CMD_FILE_OPEN, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[3].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:153:50: note: in expansion of macro 'H' 153 | { "/File/_Open...", "O", H, CMD_FILE_OPEN, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:154:50: note: in expansion of macro 'H' 154 | { "/File/_Reopen", "R", H, CMD_FILE_REOPEN, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[4].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:154:50: note: in expansion of macro 'H' 154 | { "/File/_Reopen", "R", H, CMD_FILE_REOPEN, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:155:50: note: in expansion of macro 'H' 155 | { "/File/_Save", "S", H, CMD_FILE_SAVE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[5].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:155:50: note: in expansion of macro 'H' 155 | { "/File/_Save", "S", H, CMD_FILE_SAVE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:156:50: note: in expansion of macro 'H' 156 | { "/File/Save _As...", "A", H, CMD_FILE_SAVE_AS, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[6].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:156:50: note: in expansion of macro 'H' 156 | { "/File/Save _As...", "A", H, CMD_FILE_SAVE_AS, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:158:50: note: in expansion of macro 'H' 158 | { "/File/_Description...", "D", H, CMD_FILE_DESCRIPTION, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[8].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:158:50: note: in expansion of macro 'H' 158 | { "/File/_Description...", "D", H, CMD_FILE_DESCRIPTION, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:160:50: note: in expansion of macro 'H' 160 | { "/File/_Change Pattern Collection...", "C",H, CMD_FILE_CHANGE_COLLECTION,0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[10].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:160:50: note: in expansion of macro 'H' 160 | { "/File/_Change Pattern Collection...", "C",H, CMD_FILE_CHANGE_COLLECTION,0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:162:50: note: in expansion of macro 'H' 162 | { "/File/_Quit", "Q", H, CMD_FILE_QUIT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[12].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:162:50: note: in expansion of macro 'H' 162 | { "/File/_Quit", "Q", H, CMD_FILE_QUIT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:166:50: note: in expansion of macro 'H' 166 | { "/View/Zoom _In", "equal", H, CMD_VIEW_ZOOM_IN, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[15].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:166:50: note: in expansion of macro 'H' 166 | { "/View/Zoom _In", "equal", H, CMD_VIEW_ZOOM_IN, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:167:50: note: in expansion of macro 'H' 167 | { "/View/Zoom _Out", "minus", H, CMD_VIEW_ZOOM_OUT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[16].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:167:50: note: in expansion of macro 'H' 167 | { "/View/Zoom _Out", "minus", H, CMD_VIEW_ZOOM_OUT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:170:50: note: in expansion of macro 'H' 170 | { "/View/Zoom/_1:1", "1", H, CMD_VIEW_ZOOM_1, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[19].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:170:50: note: in expansion of macro 'H' 170 | { "/View/Zoom/_1:1", "1", H, CMD_VIEW_ZOOM_1, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:171:50: note: in expansion of macro 'H' 171 | { "/View/Zoom/_2:1", "2", H, CMD_VIEW_ZOOM_2, "/View/Zoom/1:1" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[20].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:171:50: note: in expansion of macro 'H' 171 | { "/View/Zoom/_2:1", "2", H, CMD_VIEW_ZOOM_2, "/View/Zoom/1:1" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:172:50: note: in expansion of macro 'H' 172 | { "/View/Zoom/_4:1", "4", H, CMD_VIEW_ZOOM_4, "/View/Zoom/1:1" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[21].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:172:50: note: in expansion of macro 'H' 172 | { "/View/Zoom/_4:1", "4", H, CMD_VIEW_ZOOM_4, "/View/Zoom/1:1" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:173:50: note: in expansion of macro 'H' 173 | { "/View/Zoom/_8:1", "8", H, CMD_VIEW_ZOOM_8, "/View/Zoom/1:1" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[22].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:173:50: note: in expansion of macro 'H' 173 | { "/View/Zoom/_8:1", "8", H, CMD_VIEW_ZOOM_8, "/View/Zoom/1:1" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:174:50: note: in expansion of macro 'H' 174 | { "/View/Zoom/1_6:1", "Z", H, CMD_VIEW_ZOOM_16, "/View/Zoom/1:1" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[23].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:174:50: note: in expansion of macro 'H' 174 | { "/View/Zoom/1_6:1", "Z", H, CMD_VIEW_ZOOM_16, "/View/Zoom/1:1" }, | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o util.o util.c gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:177:50: note: in expansion of macro 'H' 177 | { "/View/Scroll/Left", "KP_4", H, CMD_VIEW_SCROLL_LEFT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[26].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:177:50: note: in expansion of macro 'H' 177 | { "/View/Scroll/Left", "KP_4", H, CMD_VIEW_SCROLL_LEFT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:178:50: note: in expansion of macro 'H' 178 | { "/View/Scroll/Right", "KP_6", H, CMD_VIEW_SCROLL_RIGHT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[27].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:178:50: note: in expansion of macro 'H' 178 | { "/View/Scroll/Right", "KP_6", H, CMD_VIEW_SCROLL_RIGHT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:179:50: note: in expansion of macro 'H' 179 | { "/View/Scroll/Up", "KP_8", H, CMD_VIEW_SCROLL_UP, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[28].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:179:50: note: in expansion of macro 'H' 179 | { "/View/Scroll/Up", "KP_8", H, CMD_VIEW_SCROLL_UP, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:180:50: note: in expansion of macro 'H' 180 | { "/View/Scroll/Down", "KP_2", H, CMD_VIEW_SCROLL_DOWN, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[29].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:180:50: note: in expansion of macro 'H' 180 | { "/View/Scroll/Down", "KP_2", H, CMD_VIEW_SCROLL_DOWN, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:181:50: note: in expansion of macro 'H' 181 | { "/View/Scroll/NW", "KP_7", H, CMD_VIEW_SCROLL_NW, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[30].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:181:50: note: in expansion of macro 'H' 181 | { "/View/Scroll/NW", "KP_7", H, CMD_VIEW_SCROLL_NW, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:182:50: note: in expansion of macro 'H' 182 | { "/View/Scroll/NE", "KP_9", H, CMD_VIEW_SCROLL_NE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[31].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:182:50: note: in expansion of macro 'H' 182 | { "/View/Scroll/NE", "KP_9", H, CMD_VIEW_SCROLL_NE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:183:50: note: in expansion of macro 'H' 183 | { "/View/Scroll/SW", "KP_1", H, CMD_VIEW_SCROLL_SW, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[32].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:183:50: note: in expansion of macro 'H' 183 | { "/View/Scroll/SW", "KP_1", H, CMD_VIEW_SCROLL_SW, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:184:50: note: in expansion of macro 'H' 184 | { "/View/Scroll/SE", "KP_3", H, CMD_VIEW_SCROLL_SE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[33].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:184:50: note: in expansion of macro 'H' 184 | { "/View/Scroll/SE", "KP_3", H, CMD_VIEW_SCROLL_SE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:185:50: note: in expansion of macro 'H' 185 | { "/View/Scroll/Page Left", "KP_4", H, CMD_VIEW_SCROLL_PAGE_LEFT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[34].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:185:50: note: in expansion of macro 'H' 185 | { "/View/Scroll/Page Left", "KP_4", H, CMD_VIEW_SCROLL_PAGE_LEFT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:186:50: note: in expansion of macro 'H' 186 | { "/View/Scroll/Page Right","KP_6", H, CMD_VIEW_SCROLL_PAGE_RIGHT,0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[35].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:186:50: note: in expansion of macro 'H' 186 | { "/View/Scroll/Page Right","KP_6", H, CMD_VIEW_SCROLL_PAGE_RIGHT,0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:187:50: note: in expansion of macro 'H' 187 | { "/View/Scroll/Page Up", "KP_8", H, CMD_VIEW_SCROLL_PAGE_UP, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[36].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:187:50: note: in expansion of macro 'H' 187 | { "/View/Scroll/Page Up", "KP_8", H, CMD_VIEW_SCROLL_PAGE_UP, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:188:50: note: in expansion of macro 'H' 188 | { "/View/Scroll/Page Down", "KP_2", H, CMD_VIEW_SCROLL_PAGE_DOWN, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[37].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:188:50: note: in expansion of macro 'H' 188 | { "/View/Scroll/Page Down", "KP_2", H, CMD_VIEW_SCROLL_PAGE_DOWN, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:189:50: note: in expansion of macro 'H' 189 | { "/View/Scroll/Page NW", "KP_7", H, CMD_VIEW_SCROLL_PAGE_NW, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[38].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:189:50: note: in expansion of macro 'H' 189 | { "/View/Scroll/Page NW", "KP_7", H, CMD_VIEW_SCROLL_PAGE_NW, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:190:50: note: in expansion of macro 'H' 190 | { "/View/Scroll/Page NE", "KP_9", H, CMD_VIEW_SCROLL_PAGE_NE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[39].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:190:50: note: in expansion of macro 'H' 190 | { "/View/Scroll/Page NE", "KP_9", H, CMD_VIEW_SCROLL_PAGE_NE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:191:50: note: in expansion of macro 'H' 191 | { "/View/Scroll/Page SW", "KP_1", H, CMD_VIEW_SCROLL_PAGE_SW, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[40].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:191:50: note: in expansion of macro 'H' 191 | { "/View/Scroll/Page SW", "KP_1", H, CMD_VIEW_SCROLL_PAGE_SW, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:192:50: note: in expansion of macro 'H' 192 | { "/View/Scroll/Page SE", "KP_3", H, CMD_VIEW_SCROLL_PAGE_SE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[41].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:192:50: note: in expansion of macro 'H' 192 | { "/View/Scroll/Page SE", "KP_3", H, CMD_VIEW_SCROLL_PAGE_SE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:193:50: note: in expansion of macro 'H' 193 | { "/View/_Recenter", "KP_5", H, CMD_VIEW_RECENTER, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[42].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:193:50: note: in expansion of macro 'H' 193 | { "/View/_Recenter", "KP_5", H, CMD_VIEW_RECENTER, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:194:50: note: in expansion of macro 'H' 194 | { "/View/_Goto...", "G", H, CMD_VIEW_GOTO, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[43].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:194:50: note: in expansion of macro 'H' 194 | { "/View/_Goto...", "G", H, CMD_VIEW_GOTO, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:195:50: note: in expansion of macro 'H' 195 | { "/View/_Find Active Cells", 0, H, CMD_VIEW_FIND_ACTIVE_CELLS,0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[44].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:195:50: note: in expansion of macro 'H' 195 | { "/View/_Find Active Cells", 0, H, CMD_VIEW_FIND_ACTIVE_CELLS,0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:197:50: note: in expansion of macro 'H' 197 | { "/View/Show Toolbar", 0, H, CMD_VIEW_SHOW_TOOLBAR, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[46].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:197:50: note: in expansion of macro 'H' 197 | { "/View/Show Toolbar", 0, H, CMD_VIEW_SHOW_TOOLBAR, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:198:50: note: in expansion of macro 'H' 198 | { "/View/Show Sidebar", 0, H, CMD_VIEW_SHOW_SIDEBAR, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[47].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:198:50: note: in expansion of macro 'H' 198 | { "/View/Show Sidebar", 0, H, CMD_VIEW_SHOW_SIDEBAR, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:199:50: note: in expansion of macro 'H' 199 | { "/View/Show Scrollbars", 0, H, CMD_VIEW_SHOW_SCROLLBARS, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[48].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:199:50: note: in expansion of macro 'H' 199 | { "/View/Show Scrollbars", 0, H, CMD_VIEW_SHOW_SCROLLBARS, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o icons.o icons.c gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:200:50: note: in expansion of macro 'H' 200 | { "/View/Show Status Bar", 0, H, CMD_VIEW_SHOW_STATUSBAR, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[49].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:200:50: note: in expansion of macro 'H' 200 | { "/View/Show Status Bar", 0, H, CMD_VIEW_SHOW_STATUSBAR, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:201:50: note: in expansion of macro 'H' 201 | { "/View/F_ullscreen", "F", H, CMD_VIEW_FULLSCREEN, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[50].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:201:50: note: in expansion of macro 'H' 201 | { "/View/F_ullscreen", "F", H, CMD_VIEW_FULLSCREEN, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:205:50: note: in expansion of macro 'H' 205 | { "/Edit/_Drawing Tool", 0, H, CMD_EDIT_DRAWING_TOOL, "" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[53].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:205:50: note: in expansion of macro 'H' 205 | { "/Edit/_Drawing Tool", 0, H, CMD_EDIT_DRAWING_TOOL, "" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:206:50: note: in expansion of macro 'H' 206 | { "/Edit/_Selection Tool", 0, H, CMD_EDIT_SELECTION_TOOL, "/Edit/Drawing Tool" }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[54].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:206:50: note: in expansion of macro 'H' 206 | { "/Edit/_Selection Tool", 0, H, CMD_EDIT_SELECTION_TOOL, "/Edit/Drawing Tool" }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:208:50: note: in expansion of macro 'H' 208 | { "/Edit/_Cut", "X", H, CMD_EDIT_CUT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[56].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:208:50: note: in expansion of macro 'H' 208 | { "/Edit/_Cut", "X", H, CMD_EDIT_CUT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:209:50: note: in expansion of macro 'H' 209 | { "/Edit/C_opy", "C", H, CMD_EDIT_COPY, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[57].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:209:50: note: in expansion of macro 'H' 209 | { "/Edit/C_opy", "C", H, CMD_EDIT_COPY, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:210:50: note: in expansion of macro 'H' 210 | { "/Edit/C_lear", "D", H, CMD_EDIT_CLEAR, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[58].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:210:50: note: in expansion of macro 'H' 210 | { "/Edit/C_lear", "D", H, CMD_EDIT_CLEAR, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:211:50: note: in expansion of macro 'H' 211 | { "/Edit/_Paste", "V", H, CMD_EDIT_PASTE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[59].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:211:50: note: in expansion of macro 'H' 211 | { "/Edit/_Paste", "V", H, CMD_EDIT_PASTE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:212:50: note: in expansion of macro 'H' 212 | { "/Edit/_Move", "M", H, CMD_EDIT_MOVE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[60].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:212:50: note: in expansion of macro 'H' 212 | { "/Edit/_Move", "M", H, CMD_EDIT_MOVE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:213:50: note: in expansion of macro 'H' 213 | { "/Edit/C_ancel Paste", "G", H, CMD_EDIT_CANCEL_PASTE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[61].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:213:50: note: in expansion of macro 'H' 213 | { "/Edit/C_ancel Paste", "G", H, CMD_EDIT_CANCEL_PASTE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:215:50: note: in expansion of macro 'H' 215 | { "/Edit/Pre_ferences...", "P", H, CMD_EDIT_PREFERENCES, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[63].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:215:50: note: in expansion of macro 'H' 215 | { "/Edit/Pre_ferences...", "P", H, CMD_EDIT_PREFERENCES, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:219:50: note: in expansion of macro 'H' 219 | { "/Run/_Start", "S", H, CMD_RUN_START_STOP, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[66].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:219:50: note: in expansion of macro 'H' 219 | { "/Run/_Start", "S", H, CMD_RUN_START_STOP, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:220:50: note: in expansion of macro 'H' 220 | { "/Run/S_tep", "T", H, CMD_RUN_STEP, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[67].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:220:50: note: in expansion of macro 'H' 220 | { "/Run/S_tep", "T", H, CMD_RUN_STEP, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:221:50: note: in expansion of macro 'H' 221 | { "/Run/_Jump", "J", H, CMD_RUN_JUMP, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[68].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:221:50: note: in expansion of macro 'H' 221 | { "/Run/_Jump", "J", H, CMD_RUN_JUMP, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:223:50: note: in expansion of macro 'H' 223 | { "/Run/_Faster", "period", H, CMD_RUN_FASTER, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[70].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:223:50: note: in expansion of macro 'H' 223 | { "/Run/_Faster", "period", H, CMD_RUN_FASTER, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:224:50: note: in expansion of macro 'H' 224 | { "/Run/Slo_wer", "comma", H, CMD_RUN_SLOWER, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[71].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:224:50: note: in expansion of macro 'H' 224 | { "/Run/Slo_wer", "comma", H, CMD_RUN_SLOWER, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:225:50: note: in expansion of macro 'H' 225 | { "/Run/S_peed...", "S", H, CMD_RUN_SPEED, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[72].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:225:50: note: in expansion of macro 'H' 225 | { "/Run/S_peed...", "S", H, CMD_RUN_SPEED, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:229:50: note: in expansion of macro 'H' 229 | { "/Help/_Help", "F1", H, CMD_HELP_HELP, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[75].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:229:50: note: in expansion of macro 'H' 229 | { "/Help/_Help", "F1", H, CMD_HELP_HELP, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:230:50: note: in expansion of macro 'H' 230 | { "/Help/_Pattern Archive", 0, H, CMD_HELP_PATTERN_ARCHIVE, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[76].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:230:50: note: in expansion of macro 'H' 230 | { "/Help/_Pattern Archive", 0, H, CMD_HELP_PATTERN_ARCHIVE, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:231:50: note: in expansion of macro 'H' 231 | { "/Help/_GLF File Format", 0, H, CMD_HELP_GLF_FILE_FORMAT, 0 }, | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[77].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:231:50: note: in expansion of macro 'H' 231 | { "/Help/_GLF File Format", 0, H, CMD_HELP_GLF_FILE_FORMAT, 0 }, | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:148:11: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(void *, guint, GtkWidget *)' {aka 'void (*)(void *, unsigned int, struct _GtkWidget *)'} [-Wincompatible-pointer-types] 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:232:50: note: in expansion of macro 'H' 232 | { "/Help/_About GtkLife", 0, H, CMD_HELP_ABOUT, 0 } | ^ gtklife.c:148:11: note: (near initialization for 'menu_items[78].callback') 148 | #define H handle_menu_item_activate | ^~~~~~~~~~~~~~~~~~~~~~~~~ gtklife.c:232:50: note: in expansion of macro 'H' 232 | { "/Help/_About GtkLife", 0, H, CMD_HELP_ABOUT, 0 } | ^ gtklife.h:426:11: note: 'handle_menu_item_activate' declared here 426 | void handle_menu_item_activate(gpointer callback_data, guint callback_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtkcalendar.h:40, from /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtk.h:53: gtklife.c: In function 'init_sidebar': gtklife.c:2640:68: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2640 | GTK_SIGNAL_FUNC(handle_sidebar_select), (void*)is_main_sidebar); | ^ /home/pbulk/work/math/gtklife/work/.buildlink/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect' 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ gtklife.c: In function 'handle_sidebar_select': gtklife.c:3162:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3162 | is_main_sidebar = (boolean)user_data; | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/atk-1.0 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -pthread -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/pixman-1 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -DGTK2 -DGTK_ENABLE_BROKEN -DVERSION=\"5.1\" -DDATADIR=\"/opt/pkg/share/gtklife\" -DDOCDIR=\"/opt/pkg/share/doc/gtklife\" -c -o create_lookup.o create_lookup.c gmake: *** [: gtklife.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/gtklife *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/gtklife