+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lopster-1.2.2nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lopster-1.2.2nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for lopster-1.2.2nb4 cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /usr/bin/bash ./config.status creating config.h config.h is unchanged /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2' Making all in src gmake[2]: Entering directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c mtypes.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c global.c global.c: In function 'read_rc_1': global.c:1474:9: warning: variable 'hot' set but not used [-Wunused-but-set-variable] 1474 | hot_t* hot; | ^~~ global.c: In function 'read_rc_0': global.c:2104:9: warning: variable 'hot' set but not used [-Wunused-but-set-variable] 2104 | hot_t* hot; | ^~~ global.c: In function 'create_mode_popup': global.c:5453:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 5453 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ global.c: In function 'create_user_popup': global.c:5948:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 5948 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from support.h:9, from global.c:27: global.c: In function 'main_tab_detach': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEvent *, void *)' {aka 'int (*)(struct _GtkWidget *, union _GdkEvent *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ global.c:6665:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 6665 | GTK_SIGNAL_FUNC(on_extra_win_delete), (gpointer) no); | ^~~~~~~~~~~~~~~ global.c:6665:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 6665 | GTK_SIGNAL_FUNC(on_extra_win_delete), (gpointer) no); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c browse.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from browse.c:24: browse.c: In function 'share_send_nick': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:253:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 253 | GTK_SIGNAL_FUNC(share_push_output), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'share_fw_get_info': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:317:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 317 | GTK_SIGNAL_FUNC(share_send_nick), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'share_send_send': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:341:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 341 | GTK_SIGNAL_FUNC(share_send_nick), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'await_conn_ack3': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:575:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 575 | GTK_SIGNAL_FUNC(share_send_send), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'get_browse_nick': browse.c:808:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 808 | pos = strchr(buffer, '\n'); | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /usr/include/strings.h:36, from browse.c:19: /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ browse.c:814:25: warning: pointer targets in passing argument 2 of 'recv_safe' differ in signedness [-Wpointer-sign] 814 | if (recv_safe(source, buffer, cnt+1, cnt+1) != cnt+1) { | ^~~~~~ | | | unsigned char * In file included from browse.c:33: connection.h:39:29: note: expected 'char *' but argument is of type 'unsigned char *' 39 | int recv_safe(int fd, char* buf, int min, int max); | ~~~~~~^~~ browse.c:820:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 820 | pos = buffer; | ^ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from browse.c:24: /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:851:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 851 | GTK_SIGNAL_FUNC(get_browse_files), socket2); | ^~~~~~~~~~~~~~~ browse.c: In function 'browse_connect_and_start': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:868:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 868 | GTK_SIGNAL_FUNC(await_conn_ack2), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'await_conn_ack2': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:896:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 896 | GTK_SIGNAL_FUNC(send_browse_get), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'send_browse_get': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:922:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 922 | GTK_SIGNAL_FUNC(get_browse_nick), socket); | ^~~~~~~~~~~~~~~ browse.c: In function 'create_browse_popup': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1052:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1052 | GTK_SIGNAL_FUNC(on_remove_browse_activate), | ^~~~~~~~~~~~~~~ browse.c: In function 'on_browse_quicker_clicked': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(GtkWidget *, void *)' {aka 'int (*)(struct _GtkWidget *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1510:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1510 | GTK_SIGNAL_FUNC(on_file_tree_search_change_frombutton), | ^~~~~~~~~~~~~~~ browse.c: In function 'on_browse_quicker_add': browse.c:1526:14: warning: variable 'popup' set but not used [-Wunused-but-set-variable] 1526 | GtkWidget *popup; | ^~~~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from browse.c:24: browse.c: In function 'browse_create_page': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1602:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1602 | GTK_SIGNAL_FUNC (on_browse_tree_button_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(GtkWidget *, void *)' {aka 'int (*)(struct _GtkWidget *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1625:4: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1625 | GTK_SIGNAL_FUNC (on_file_tree_search_changed), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1711:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1711 | GTK_SIGNAL_FUNC (on_browse_list_button_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1831:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1831 | GTK_SIGNAL_FUNC (on_browse_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1837:10: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1837 | GTK_SIGNAL_FUNC(on_tree_motion_notify_event), NULL); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventCrossing *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventCrossing *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1840:10: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1840 | GTK_SIGNAL_FUNC(on_tree_leave_notify_event), NULL); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ browse.c:1872:9: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1872 | GTK_SIGNAL_FUNC(on_remove_browse_activate), | ^~~~~~~~~~~~~~~ browse.c:1561:16: warning: variable 'tooltips' set but not used [-Wunused-but-set-variable] 1561 | GtkTooltips *tooltips; | ^~~~~~~~ browse.c: In function 'browse_load_saved_list': browse.c:2038:10: warning: variable 'list2' set but not used [-Wunused-but-set-variable] 2038 | GList *list2; | ^~~~~ browse.c:2054:32: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 2054 | sprintf(filename, "%s%c%s", dirname, DIR_SEP, entry->d_name); | ^ browse.c:2054:7: note: 'sprintf' output between 2 and 2049 bytes into a destination of size 2048 2054 | sprintf(filename, "%s%c%s", dirname, DIR_SEP, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c sarray.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c buffer.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c transfer.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from transfer.c:29: transfer.c: In function 'upload_get_advanced': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1065:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1065 | GTK_SIGNAL_FUNC(upload_push_output), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'upload_fw_get_info': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1237:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1237 | GTK_SIGNAL_FUNC(upload_push_output), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1241:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1241 | GTK_SIGNAL_FUNC(upload_get_advanced), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'sockets_enable': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1273:9: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1273 | GTK_SIGNAL_FUNC(upload_push_output), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1282:9: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1282 | GTK_SIGNAL_FUNC(share_push_output), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1291:9: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1291 | GTK_SIGNAL_FUNC(download_get_input), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:1301:4: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1301 | GTK_SIGNAL_FUNC(server_send), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'download_grab_resume': transfer.c:1991:19: warning: variable 'segment' set but not used [-Wunused-but-set-variable] 1991 | file_segment_t* segment; | ^~~~~~~ transfer.c: In function 'download_file': transfer.c:2320:17: warning: variable 'node2' set but not used [-Wunused-but-set-variable] 2320 | GtkCTreeNode* node2; | ^~~~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from transfer.c:29: transfer.c: In function 'download_fw_get_info': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3236:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3236 | GTK_SIGNAL_FUNC(download_get_input), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'download_get_info': transfer.c:3365:25: warning: pointer targets in passing argument 2 of 'recv_safe' differ in signedness [-Wpointer-sign] 3365 | if (recv_safe(source, buffer, cnt, cnt) != cnt) { | ^~~~~~ | | | unsigned char * In file included from transfer.c:39: connection.h:39:29: note: expected 'char *' but argument is of type 'unsigned char *' 39 | int recv_safe(int fd, char* buf, int min, int max); | ~~~~~~^~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from transfer.c:29: /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3384:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3384 | GTK_SIGNAL_FUNC(download_get_input), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'upload_get_info': transfer.c:3431:14: warning: pointer targets in passing argument 1 of 'arg' differ in signedness [-Wpointer-sign] 3431 | prog = arg(buffer, 0); | ^~~~~~ | | | unsigned char * In file included from transfer.c:60: utils.h:63:25: note: expected 'char *' but argument is of type 'unsigned char *' 63 | char* arg (char *data, int flags); | ~~~~~~^~~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from transfer.c:29: /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3461:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3461 | GTK_SIGNAL_FUNC(upload_push_output), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3465:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3465 | GTK_SIGNAL_FUNC(upload_get_advanced), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'download_send_info': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3562:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3562 | GTK_SIGNAL_FUNC(download_get_info), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'upload_send_info': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3666:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3666 | GTK_SIGNAL_FUNC(upload_get_info), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'await_conn_ack': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3713:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3713 | GTK_SIGNAL_FUNC(download_send_info), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3717:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3717 | GTK_SIGNAL_FUNC(upload_send_info), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'transfer_connect_and_start': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ transfer.c:3736:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3736 | GTK_SIGNAL_FUNC(await_conn_ack), socket); | ^~~~~~~~~~~~~~~ transfer.c: In function 'on_toggle_dl_remove': transfer.c:3900:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3900 | int no = (int) user_data; | ^ transfer.c: In function 'create_dl_remove_popup': transfer.c:3907:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 3907 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ transfer.c: In function 'on_toggle_autoretry': transfer.c:3929:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3929 | int no = (int) user_data; | ^ transfer.c: In function 'create_retry_popup': transfer.c:3970:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 3970 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ transfer.c: In function 'on_toggle_ul_remove': transfer.c:4040:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4040 | int no = (int) user_data; | ^ transfer.c: In function 'create_ul_remove_popup': transfer.c:4048:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 4048 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ transfer.c: In function 'create_advanced_popup': transfer.c:4112:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 4112 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ transfer.c: In function 'create_advanced_popup2': transfer.c:4156:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 4156 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ transfer.c: In function 'create_upload_popup': transfer.c:4209:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 4209 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ transfer.c: In function 'dcc_create': transfer.c:4777:15: warning: variable 'download' set but not used [-Wunused-but-set-variable] 4777 | download_t *download; | ^~~~~~~~ transfer.c: In function 'dcc_check_message': transfer.c:4834:9: warning: variable 'checksum' set but not used [-Wunused-but-set-variable] 4834 | char *checksum; | ^~~~~~~~ transfer.c: In function 'on_button_band_ok_clicked': transfer.c:5233:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5233 | upload = !((int)gtk_object_get_data(GTK_OBJECT(button), "type")); | ^ transfer.c: In function 'create_bandwidth_win': transfer.c:5390:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5390 | gtk_object_set_data(GTK_OBJECT(button275), "type", (gpointer)(download)); | ^ transfer.c: In function 'create_bandman_win': transfer.c:5526:8: warning: variable 'limit' set but not used [-Wunused-but-set-variable] 5526 | long limit; | ^~~~~ transfer.c: In function 'update_best': transfer.c:5867:8: warning: variable 'size2' set but not used [-Wunused-but-set-variable] 5867 | long size2; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c bannet.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c files.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c utils.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c log.c log.c: In function 'on_log_delete': log.c:615:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 615 | row = (int) dlist->data; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c support.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c file_tree.c file_tree.c: In function 'file_tree_insert_file': file_tree.c:392:9: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 392 | char* pos; | ^~~ file_tree.c: In function 'file_tree_show_childs': file_tree.c:821:13: warning: variable 'ctree' set but not used [-Wunused-but-set-variable] 821 | GtkCTree* ctree; | ^~~~~ file_tree.c: In function 'on_file_tree_files1_clicked': file_tree.c:1349:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1349 | (void *) i2); | ^ file_tree.c: In function 'on_file_tree_files2_clicked': file_tree.c:1429:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1429 | (void *) i1); | ^ file_tree.c: In function 'file_tree_init': file_tree.c:222:15: warning: array subscript 7 is above array bounds of 'int[7]' [-Warray-bounds] 222 | tree->signal[7] = -1; | ~~~~~~~~~~~~^~~ In file included from global.h:15, from file_tree.c:6: lopster.h:480:7: note: while referencing 'signal' 480 | int signal[7]; | ^~~~~~ file_tree.c: In function 'on_file_tree_files1_clicked': file_tree.c:1324:35: warning: '%s' directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=] 1324 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~ ...... 1328 | str2, | ~~~~ file_tree.c:1324:5: note: 'sprintf' output 19 or more bytes (assuming 1042) into a destination of size 1024 1324 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1325 | TNames(i2), tree->fci[i1][i2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1326 | (double)(tree->fci[i1][i2])/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1327 | (double)(tree->fci[i1][3])*100., | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1328 | str2, | ~~~~~ 1329 | tree->fsi[i1][i2]/tree->fsi[i1][3]*100.); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_tree.c:1324:35: warning: '%s' directive writing up to 1023 bytes into a region of size between 686 and 1005 [-Wformat-overflow=] 1324 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~ ...... 1328 | str2, | ~~~~ file_tree.c:1324:5: note: 'sprintf' output between 27 and 1678 bytes into a destination of size 1024 1324 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1325 | TNames(i2), tree->fci[i1][i2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1326 | (double)(tree->fci[i1][i2])/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1327 | (double)(tree->fci[i1][3])*100., | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1328 | str2, | ~~~~~ 1329 | tree->fsi[i1][i2]/tree->fsi[i1][3]*100.); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_tree.c: In function 'on_file_tree_files2_clicked': file_tree.c:1402:35: warning: '%s' directive writing up to 1023 bytes into a region of size 1013 [-Wformat-overflow=] 1402 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~ ...... 1406 | str2, | ~~~~ file_tree.c:1402:5: note: 'sprintf' output 19 or more bytes (assuming 1042) into a destination of size 1024 1402 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1403 | MNames(i1), tree->fci[i1][i2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1404 | (double)(tree->fci[i1][i2])/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1405 | (double)(tree->fci[MEDIA_SIZE][i2])*100., | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1406 | str2, | ~~~~~ 1407 | tree->fsi[i1][i2]/tree->fsi[MEDIA_SIZE][i2]*100.); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_tree.c:1402:35: warning: '%s' directive writing up to 1023 bytes into a region of size between 689 and 1008 [-Wformat-overflow=] 1402 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~ ...... 1406 | str2, | ~~~~ file_tree.c:1402:5: note: 'sprintf' output between 24 and 1675 bytes into a destination of size 1024 1402 | sprintf(str, "%s: %d (%.1f%%) %s (%.1f%%)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1403 | MNames(i1), tree->fci[i1][i2], | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1404 | (double)(tree->fci[i1][i2])/ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1405 | (double)(tree->fci[MEDIA_SIZE][i2])*100., | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1406 | str2, | ~~~~~ 1407 | tree->fsi[i1][i2]/tree->fsi[MEDIA_SIZE][i2]*100.); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c interface.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from interface.c:15: interface.c: In function 'create_window': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventKey *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventKey *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:4836:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 4836 | GTK_SIGNAL_FUNC (on_window_key_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEvent *, void *)' {aka 'int (*)(struct _GtkWidget *, union _GdkEvent *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:4839:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 4839 | GTK_SIGNAL_FUNC (on_window_delete_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:4929:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 4929 | GTK_SIGNAL_FUNC (on_ctree10_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventKey *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventKey *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:4944:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 4944 | GTK_SIGNAL_FUNC (on_chat_entry_key_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:4998:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 4998 | GTK_SIGNAL_FUNC (on_clist34_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventKey *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventKey *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5001:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5001 | GTK_SIGNAL_FUNC (on_clist34_key_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5016:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5016 | GTK_SIGNAL_FUNC (on_ctree8_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5031:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5031 | GTK_SIGNAL_FUNC (on_clist36_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5052:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5052 | GTK_SIGNAL_FUNC (on_clist16_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5058:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5058 | GTK_SIGNAL_FUNC (on_clist43_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5070:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5070 | GTK_SIGNAL_FUNC (on_drawingarea12_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5073:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5073 | GTK_SIGNAL_FUNC (on_drawingarea12_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventCrossing *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventCrossing *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5076:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5076 | GTK_SIGNAL_FUNC (on_drawingarea12_leave_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventCrossing *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventCrossing *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5079:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5079 | GTK_SIGNAL_FUNC (on_drawingarea12_enter_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5082:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5082 | GTK_SIGNAL_FUNC (on_drawingarea12_motion_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5088:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5088 | GTK_SIGNAL_FUNC (on_drawingarea15_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5091:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5091 | GTK_SIGNAL_FUNC (on_drawingarea15_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5094:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5094 | GTK_SIGNAL_FUNC (on_drawingarea15_motion_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5109:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5109 | GTK_SIGNAL_FUNC (on_ctree4_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5115:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5115 | GTK_SIGNAL_FUNC (on_ctree4_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5124:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5124 | GTK_SIGNAL_FUNC (on_ctree4_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5133:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5133 | GTK_SIGNAL_FUNC (on_ctree4_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5154:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5154 | GTK_SIGNAL_FUNC (on_drawingarea1_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5157:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5157 | GTK_SIGNAL_FUNC (on_drawingarea1_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5160:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5160 | GTK_SIGNAL_FUNC (on_drawingarea1_motion_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5172:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5172 | GTK_SIGNAL_FUNC (on_drawingarea11_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5175:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5175 | GTK_SIGNAL_FUNC (on_drawingarea11_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventCrossing *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventCrossing *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5178:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5178 | GTK_SIGNAL_FUNC (on_drawingarea11_enter_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5181:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5181 | GTK_SIGNAL_FUNC (on_drawingarea11_motion_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventCrossing *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventCrossing *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5184:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5184 | GTK_SIGNAL_FUNC (on_drawingarea11_leave_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5199:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5199 | GTK_SIGNAL_FUNC (on_transfer_up_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5220:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5220 | GTK_SIGNAL_FUNC (on_drawingarea2_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5223:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5223 | GTK_SIGNAL_FUNC (on_drawingarea2_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5226:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5226 | GTK_SIGNAL_FUNC (on_drawingarea2_motion_notify_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5232:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5232 | GTK_SIGNAL_FUNC (on_drawingarea3_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5235:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5235 | GTK_SIGNAL_FUNC (on_drawingarea3_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5238:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5238 | GTK_SIGNAL_FUNC (on_drawingarea4_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5241:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5241 | GTK_SIGNAL_FUNC (on_drawingarea4_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:5247:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 5247 | GTK_SIGNAL_FUNC (on_ctree3_button_press_event), | ^~~~~~~~~~~~~~~ interface.c: In function 'create_about_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:10390:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 10390 | GTK_SIGNAL_FUNC (on_drawingarea10_expose_event), | ^~~~~~~~~~~~~~~ interface.c: In function 'create_user_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:10866:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 10866 | GTK_SIGNAL_FUNC (on_clist12_button_press_event), | ^~~~~~~~~~~~~~~ interface.c: In function 'create_log_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:11190:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 11190 | GTK_SIGNAL_FUNC (on_clist39_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:11196:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 11196 | GTK_SIGNAL_FUNC (on_clist40_button_press_event), | ^~~~~~~~~~~~~~~ interface.c: In function 'create_socket_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEvent *, void *)' {aka 'int (*)(struct _GtkWidget *, union _GdkEvent *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:11503:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 11503 | GTK_SIGNAL_FUNC (on_socket_win_delete_event), | ^~~~~~~~~~~~~~~ interface.c: In function 'create_resume_options_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:12258:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 12258 | GTK_SIGNAL_FUNC (on_drawingarea13_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:12261:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 12261 | GTK_SIGNAL_FUNC (on_drawingarea13_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventExpose *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventExpose *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:12267:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 12267 | GTK_SIGNAL_FUNC (on_drawingarea14_expose_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:12270:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 12270 | GTK_SIGNAL_FUNC (on_drawingarea14_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:12273:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 12273 | GTK_SIGNAL_FUNC (on_drawingarea14_motion_notify_event), | ^~~~~~~~~~~~~~~ interface.c: In function 'create_subscription_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ interface.c:13624:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 13624 | GTK_SIGNAL_FUNC (on_ctree7_button_press_event), | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c dirselect.c dirselect.c: In function 'expand_cb': dirselect.c:126:24: warning: variable 'sub_node' set but not used [-Wunused-but-set-variable] 126 | GtkCTreeNode *node, *sub_node; | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c scheme.c scheme.c: In function 'scheme_update_list': scheme.c:427:31: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 427 | sprintf(filename, "%s/%s", dirname, entry->d_name); | ^ scheme.c:427:7: note: 'sprintf' output between 2 and 2049 bytes into a destination of size 2048 427 | sprintf(filename, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c resume.c resume.c: In function 'resume_save': resume.c:284:8: warning: variable 'start' set but not used [-Wunused-but-set-variable] 284 | long start; | ^~~~~ resume.c: In function 'dead_destroy': resume.c:1429:34: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 1429 | g_list_foreach(dead->segments, (GFunc)g_free, NULL); | ^ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from resume.c:24: resume.c: In function 'create_scan_progress_win': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)()' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ resume.c:1678:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1678 | GTK_SIGNAL_FUNC(on_scan_delete), NULL); | ^~~~~~~~~~~~~~~ resume.c: In function 'segment_size_show': resume.c:1866:20: warning: ' is minimum size of segments' directive writing 28 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1866 | sprintf(str2, "%s is minimum size of segments", str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ resume.c:1866:3: note: 'sprintf' output between 29 and 1052 bytes into a destination of size 1024 1866 | sprintf(str2, "%s is minimum size of segments", str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c server.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from server.c:24: server.c: In function 'network_go': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ server.c:639:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 639 | GTK_SIGNAL_FUNC(server_send), net->socket); | ^~~~~~~~~~~~~~~ server.c: In function 'get_best_server_read': server.c:883:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 883 | pos = strchr(buffer, ':'); | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /usr/include/strings.h:36, from server.c:11: /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ server.c:890:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 890 | if (strcmp(buffer, "127.0.0.1")) { | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from /usr/include/strings.h:36, from server.c:11: /usr/include/iso/string_iso.h:74:19: note: expected 'const char *' but argument is of type 'unsigned char *' 74 | extern int strcmp(const char *, const char *); | ^~~~~~~~~~~~ server.c:891:42: warning: pointer targets in passing argument 2 of 'network_search_server' differ in signedness [-Wpointer-sign] 891 | server2 = network_search_server(net, buffer); | ^~~~~~ | | | unsigned char * In file included from server.c:46: server.h:41:51: note: expected 'char *' but argument is of type 'unsigned char *' 41 | server_t* network_search_server(net_t* net, char* address); | ~~~~~~^~~~~~~ server.c:894:35: warning: pointer targets in passing argument 2 of 'server_set_address' differ in signedness [-Wpointer-sign] 894 | server_set_address(server2, buffer); | ^~~~~~ | | | unsigned char * In file included from server.c:46: server.h:20:50: note: expected 'char *' but argument is of type 'unsigned char *' 20 | void server_set_address(server_t * server, char *address); | ~~~~~~^~~~~~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from server.c:24: server.c: In function 'server_connect_redirect': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ server.c:941:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 941 | GTK_SIGNAL_FUNC(get_best_server_read), socket); | ^~~~~~~~~~~~~~~ server.c: In function 'latest_version_get': server.c:3842:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3842 | socket->data = (void *) just_check; | ^ server.c: In function 'on_how_many': server.c:4094:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4094 | ng->how_many = (int)user_data; | ^ server.c: In function 'create_netgroup_popup': server.c:4300:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4300 | GTK_SIGNAL_FUNC(on_how_many), (void*)(i1*inc)); | ^ server.c: In function 'server_load': server.c:1428:7: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 1428 | strncpy(net->user.username, nick, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server.c:1429:7: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 1429 | strncpy(net->user.password, passwd, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c preferences.c preferences.c: In function 'g_type_destroy': preferences.c:352:29: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 352 | g_list_foreach(type->app, (GFunc)g_free, NULL); | ^ preferences.c:356:30: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] 356 | g_list_foreach(suf->app, (GFunc)g_free, NULL); | ^ preferences.c: In function 'setup_preferences': preferences.c:817:9: warning: variable 'row' set but not used [-Wunused-but-set-variable] 817 | int row; | ^~~ preferences.c:944:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 944 | (void *) global.options.piping); | ^ preferences.c:948:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 948 | (void *) global.options.no_piping); | ^ preferences.c: In function 'apply_media_types': preferences.c:1121:14: warning: variable 'win' set but not used [-Wunused-but-set-variable] 1121 | GtkWidget* win; | ^~~ preferences.c: In function 'apply_preferences': preferences.c:1464:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1464 | (int) gtk_object_get_data(GTK_OBJECT(temp), "value"); | ^ preferences.c:1467:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1467 | (int) gtk_object_get_data(GTK_OBJECT(temp), "value"); | ^ preferences.c: In function 'on_toggle_pipe': preferences.c:1740:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1740 | int no = (int) user_data; | ^ preferences.c:1743:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1743 | value = (int) gtk_object_get_data(GTK_OBJECT(temp), "value"); | ^ preferences.c:1745:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1745 | gtk_object_set_data(GTK_OBJECT(temp), "value", (gpointer) value); | ^ preferences.c: In function 'create_pipe_popup': preferences.c:1750:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 1750 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ preferences.c: In function 'on_toggle_pipe2': preferences.c:1837:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1837 | int no = (int) user_data; | ^ preferences.c:1840:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1840 | value = (int) gtk_object_get_data(GTK_OBJECT(temp), "value"); | ^ preferences.c:1842:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1842 | gtk_object_set_data(GTK_OBJECT(temp), "value", (gpointer) value); | ^ preferences.c: In function 'create_pipe2_popup': preferences.c:1849:18: warning: variable 'mode_popup_accels' set but not used [-Wunused-but-set-variable] 1849 | GtkAccelGroup *mode_popup_accels; | ^~~~~~~~~~~~~~~~~ preferences.c: In function 'on_dir_select343': preferences.c:1909:7: warning: variable 'row' set but not used [-Wunused-but-set-variable] 1909 | int row; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c dialog.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c splash.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c exec.c exec.c: In function 'exec_fire_up': exec.c:409:5: warning: missing sentinel in function call [-Wformat=] 409 | execl("/bin/sh", "sh", "-c", exec->command, 0); | ^~~~~ exec.c: In function 'get_exec_input': exec.c:609:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 609 | if (errno == EAGAIN) | ^ exec.c:614:3: note: here 614 | case 0: | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c md5.c md5.c: In function 'MD5Final': md5.c:154:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 154 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ md5.c: In function 'MD5File': md5.c:301:5: warning: 'sprintf' argument 3 overlaps destination object 'temp' [-Wrestrict] 301 | sprintf(temp, "%s%li", temp, st.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ md5.c:273:8: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 273 | char temp[100]; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c wizard.c wizard.c: In function 'on_folder_add': wizard.c:421:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 421 | ww.browse_mime = (int) user_data; | ^ wizard.c: In function 'create_wizard_popup': wizard.c:429:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 429 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ wizard.c: In function 'wizard_clear_selected': wizard.c:495:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 495 | row = (int) row_list->data; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c statistic.c statistic.c: In function 'access_show': statistic.c:1174:17: warning: variable 'node3' set but not used [-Wunused-but-set-variable] 1174 | GtkCTreeNode* node3; | ^~~~~ statistic.c: In function 'create_access_popup': statistic.c:1316:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 1316 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ statistic.c: In function 'on_graph_mode': statistic.c:1391:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1391 | int val = (int)user_data; | ^ statistic.c: In function 'on_graph_interval': statistic.c:1405:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1405 | int val = (int)user_data; | ^ statistic.c: In function 'on_graph_smooth': statistic.c:1422:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1422 | int val = (int)user_data; | ^ statistic.c: In function 'on_graph_show': statistic.c:1436:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1436 | int val = (int)user_data; | ^ statistic.c: In function 'create_band_popup': statistic.c:1494:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1494 | GTK_SIGNAL_FUNC(on_graph_mode), (void*)(i1)); | ^ statistic.c:1528:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1528 | (void*)(i1-1)); | ^ statistic.c:1555:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1555 | (void*)(i1)); | ^ statistic.c:1593:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1593 | GTK_SIGNAL_FUNC(on_graph_show), (void*)(i1)); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c whois.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c about.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c napster.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from utils.h:9, from napster.c:19: napster.c: In function 'server_login_nap': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ napster.c:741:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 741 | GTK_SIGNAL_FUNC(server_get_input), socket); | ^~~~~~~~~~~~~~~ napster.c: In function 'login_nap': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ napster.c:806:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 806 | GTK_SIGNAL_FUNC(server_login_nap), socket); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c share2.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from share2.c:20: share2.c: In function 'lib_create_page': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(GtkWidget *, void *)' {aka 'int (*)(struct _GtkWidget *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ share2.c:829:4: note: in expansion of macro 'GTK_SIGNAL_FUNC' 829 | GTK_SIGNAL_FUNC (on_file_tree_search_changed), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventMotion *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventMotion *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ share2.c:834:10: note: in expansion of macro 'GTK_SIGNAL_FUNC' 834 | GTK_SIGNAL_FUNC(on_tree_motion_notify_event), NULL); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventCrossing *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventCrossing *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ share2.c:837:10: note: in expansion of macro 'GTK_SIGNAL_FUNC' 837 | GTK_SIGNAL_FUNC(on_tree_leave_notify_event), NULL); | ^~~~~~~~~~~~~~~ share2.c: In function 'get_selected_nodes': share2.c:1338:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1338 | row = (int)dlist->data; | ^ share2.c: In function 'on_offline_add': share2.c:1753:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1753 | stype = (int) user_data; | ^ share2.c: In function 'create_files_popup': share2.c:1929:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 1929 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ At top level: share2.c:49:19: warning: 'ltable' defined but not used [-Wunused-const-variable=] 49 | static const char ltable[3][3] = { | ^~~~~~ share2.c: In function 'dir_for_all_idle': share2.c:533:8: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] 533 | mtype_contains_suffix(pos->type, filename))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ share2.c: In function 'dir_for_all_idle2': share2.c:591:5: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized] 591 | sprintf(file->longname+len, "[OFFLINE] %s", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ share2.c: In function 'create_files_popup': share2.c:1963:31: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1963 | sprintf(filename, "%s/%s", dirname, entry->d_name); | ^ share2.c:1963:7: note: 'sprintf' output between 2 and 2049 bytes into a destination of size 2048 1963 | sprintf(filename, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c callbacks.c callbacks.c: In function 'set_prefix': callbacks.c:428:9: warning: variable 'text' set but not used [-Wunused-but-set-variable] 428 | char *text; | ^~~~ callbacks.c: In function 'on_delete_upload_activate': callbacks.c:559:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 559 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_allow_upload_activate': callbacks.c:577:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 577 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_download2_activate': callbacks.c:1028:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1028 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_ban_win_destroy': callbacks.c:1100:14: warning: variable 'temp' set but not used [-Wunused-but-set-variable] 1100 | GtkWidget *temp; | ^~~~ callbacks.c: In function 'on_ok_button2_clicked': callbacks.c:1375:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1375 | switch ((int) pointer) { | ^ callbacks.c: In function 'on_NULL_button2_clicked': callbacks.c:1537:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1537 | switch ((int) pointer) { | ^ callbacks.c: In function 'on_ctree2_tree_select_row': callbacks.c:2279:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2279 | row = (int) gtk_ctree_node_get_row_data(ctree, node) - 1; | ^ callbacks.c: In function 'on_notebook2_switch_page': callbacks.c:2305:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2305 | node = gtk_ctree_find_by_row_data(ctree, NULL, (void *) (page_num)); | ^ callbacks.c: In function 'on_mode_activate': callbacks.c:2571:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2571 | int mode = (int) user_data; | ^ callbacks.c: In function 'on_button186_clicked': callbacks.c:2622:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2622 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_extra_win_delete': callbacks.c:2885:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2885 | no = (int) user_data; | ^ callbacks.c: In function 'on_string_list_button_press_event': callbacks.c:4087:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4087 | int slist = (int) user_data; | ^ callbacks.c: In function 'on_string_list_entry_activate': callbacks.c:4116:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4116 | int slist = (int) user_data; | ^ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from callbacks.c:15: callbacks.c: In function 'on_user_list_activate': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ callbacks.c:4170:10: note: in expansion of macro 'GTK_SIGNAL_FUNC' 4170 | GTK_SIGNAL_FUNC(on_string_list_button_press_event), | ^~~~~~~~~~~~~~~ callbacks.c:4171:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4171 | (gpointer) i1); | ^ callbacks.c:4175:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4175 | (gpointer) i1); | ^ callbacks.c: In function 'on_ctree7_drag_data_received': callbacks.c:4880:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4880 | row = (int) dlist->data; | ^ callbacks.c: In function 'on_add_subscription_activate': callbacks.c:4942:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4942 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_button344_clicked': callbacks.c:5128:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5128 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_clist37_select_row': callbacks.c:5336:13: warning: variable 'resume' set but not used [-Wunused-but-set-variable] 5336 | resume_t *resume; | ^~~~~~ callbacks.c: In function 'on_clist40_button_press_event': callbacks.c:5619:15: warning: variable 'node' set but not used [-Wunused-but-set-variable] 5619 | lib_node_t *node; | ^~~~ callbacks.c: In function 'on_button358_clicked': callbacks.c:5938:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 5938 | row = (int) row_list->data; | ^ callbacks.c: In function 'on_button360_clicked': callbacks.c:6089:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 6089 | value = (int) gtk_object_get_data(GTK_OBJECT(button), "value"); | ^ callbacks.c: In function 'on_button361_clicked': callbacks.c:6142:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 6142 | value = (int) gtk_object_get_data(GTK_OBJECT(button), "value"); | ^ callbacks.c: In function 'on_clist39_button_press_event': callbacks.c:6190:15: warning: variable 'node' set but not used [-Wunused-but-set-variable] 6190 | lib_node_t *node; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c filetips.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from filetips.c:15: filetips.c: In function 'filetips_show_window': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)()' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ filetips.c:137:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 137 | GTK_SIGNAL_FUNC(filetips_paint_window), NULL); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)()' {aka 'int (*)()'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ filetips.c:140:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 140 | GTK_SIGNAL_FUNC(filetips_paint_window), NULL); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c handler.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c connection.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from support.h:9, from connection.c:25: connection.c: In function 'command_send': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:604:4: note: in expansion of macro 'GTK_SIGNAL_FUNC' 604 | GTK_SIGNAL_FUNC(server_send), net->socket); | ^~~~~~~~~~~~~~~ connection.c: In function 'command_send_unimportant': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:664:4: note: in expansion of macro 'GTK_SIGNAL_FUNC' 664 | GTK_SIGNAL_FUNC(server_send), net->socket); | ^~~~~~~~~~~~~~~ connection.c: In function 'get_con_type': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:737:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 737 | GTK_SIGNAL_FUNC(share_fw_get_info), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:748:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 748 | GTK_SIGNAL_FUNC(get_browse_nick), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:760:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 760 | GTK_SIGNAL_FUNC(upload_fw_get_info), socket); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:772:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 772 | GTK_SIGNAL_FUNC(download_fw_get_info), socket); | ^~~~~~~~~~~~~~~ connection.c: In function 'handle_incoming': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:840:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 840 | GTK_SIGNAL_FUNC(get_con_type), socket); | ^~~~~~~~~~~~~~~ connection.c: In function 'create_upload_port': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ connection.c:923:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 923 | GTK_SIGNAL_FUNC(handle_incoming), | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c getopt.c getopt.c: In function '_getopt_initialize': getopt.c:336:5: warning: unused parameter 'argc' [-Wunused-parameter] 336 | int argc; | ^~~~ getopt.c:337:14: warning: unused parameter 'argv' [-Wunused-parameter] 337 | char *const *argv; | ^~~~ getopt.c: In function '_getopt_internal': getopt.c:501:28: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 501 | if (optind != argc && !strcmp(argv[optind], "--")) { | ^~~~~~ getopt.c:576:12: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 576 | if (!strncmp(p->name, nextchar, nameend - nextchar)) { | ^~~~~~~ getopt.c:576:47: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 576 | if (!strncmp(p->name, nextchar, nameend - nextchar)) { | ~~~~~~~~^~~~~~~~~~ : note: built-in 'strncmp' declared here getopt.c:578:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 578 | == (unsigned int) strlen(p->name)) { | ^~~~~~ getopt.c:578:24: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:102:1: note: include '' or provide a declaration of 'strlen' 101 | #include "getopt.h" +++ |+#include 102 | getopt.c:597:19: warning: incompatible implicit declaration of built-in function 'strlen' 597 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:597:19: note: include '' or provide a declaration of 'strlen' getopt.c:612:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 612 | if (opterr) | ^ getopt.c:624:16: warning: incompatible implicit declaration of built-in function 'strlen' 624 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:624:16: note: include '' or provide a declaration of 'strlen' getopt.c:637:16: warning: incompatible implicit declaration of built-in function 'strlen' 637 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:637:16: note: include '' or provide a declaration of 'strlen' getopt.c:642:19: warning: incompatible implicit declaration of built-in function 'strlen' 642 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:642:19: note: include '' or provide a declaration of 'strlen' getopt.c:739:42: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 739 | if (!strncmp(p->name, nextchar, nameend - nextchar)) { | ~~~~~~~~^~~~~~~~~~ : note: built-in 'strncmp' declared here getopt.c:740:47: warning: incompatible implicit declaration of built-in function 'strlen' 740 | if ((unsigned int) (nameend - nextchar) == strlen(p->name)) { | ^~~~~~ getopt.c:740:47: note: include '' or provide a declaration of 'strlen' getopt.c:758:14: warning: incompatible implicit declaration of built-in function 'strlen' 758 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:758:14: note: include '' or provide a declaration of 'strlen' getopt.c:774:18: warning: incompatible implicit declaration of built-in function 'strlen' 774 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:774:18: note: include '' or provide a declaration of 'strlen' getopt.c:785:18: warning: incompatible implicit declaration of built-in function 'strlen' 785 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:785:18: note: include '' or provide a declaration of 'strlen' getopt.c:789:14: warning: incompatible implicit declaration of built-in function 'strlen' 789 | nextchar += strlen(nextchar); | ^~~~~~ getopt.c:789:14: note: include '' or provide a declaration of 'strlen' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c string_list.c string_list.c: In function 'on_item_remove_activate': string_list.c:290:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 290 | int slist = (int) user_data; | ^ string_list.c:297:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 297 | row = (int) row_list->data; | ^ string_list.c: In function 'create_string_list_popup': string_list.c:333:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 333 | (void *) slist); | ^ string_list.c:310:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 310 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c commands.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c subscription.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c chat.c chat.c: In function 'create_online_popup': chat.c:597:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 597 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ chat.c: In function 'on_hide_show_clicked': chat.c:699:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 699 | pos = (int) gtk_object_get_data(GTK_OBJECT(button), "pan_pos"); | ^ chat.c:703:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 703 | (gpointer) (paned->child1_size)); | ^ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from chat.c:20: chat.c: In function 'create_private_page': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:775:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 775 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ chat.c: In function 'search_user_in_list': chat.c:1288:7: warning: the address of 'list' will always evaluate as 'true' [-Waddress] 1288 | if (!list) return NULL; | ^ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from chat.c:20: chat.c: In function 'chat_page_attach_to_new': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventKey *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventKey *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:1667:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1667 | GTK_SIGNAL_FUNC(on_chat_entry_key_press_event), NULL); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventFocus *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventFocus *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:1683:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1683 | GTK_SIGNAL_FUNC(on_window_focus_in_event), page); | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventFocus *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventFocus *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:1685:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1685 | GTK_SIGNAL_FUNC(on_window_focus_out_event), page); | ^~~~~~~~~~~~~~~ chat.c: In function 'create_other_page': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:1901:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1901 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ chat.c: In function 'create_network_page': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:1991:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1991 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:2012:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 2012 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ chat.c: In function 'channel_mode_activate': chat.c:2183:10: warning: variable 'net' set but not used [-Wunused-but-set-variable] 2183 | net_t* net; | ^~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from chat.c:20: chat.c: In function 'create_channel_page': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:2393:8: note: in expansion of macro 'GTK_SIGNAL_FUNC' 2393 | GTK_SIGNAL_FUNC(on_channel_button_press_event), NULL); | ^~~~~~~~~~~~~~~ chat.c: In function 'create_url_popup': chat.c:2504:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 2504 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ chat.c: In function 'create_channel_popup': chat.c:2534:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 2534 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ chat.c: In function 'on_chmode_clicked': chat.c:3409:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3409 | int mode = (int)user_data; | ^ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from chat.c:20: chat.c: In function 'create_channel': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:3521:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3521 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:3598:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3598 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventButton *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventButton *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ chat.c:3625:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 3625 | GTK_SIGNAL_FUNC(on_text_button_press_event), | ^~~~~~~~~~~~~~~ chat.c:3655:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3655 | (gpointer)(1<data; | ^ search.c: In function 'on_search_pattern_search': search.c:2598:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2598 | row = (int) row_list->data; | ^ search.c: In function 'on_search_pattern_level': search.c:2627:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2627 | row = (int) row_list->data; | ^ search.c:2629:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2629 | pattern->level = (int)user_data; | ^ search.c: In function 'create_search_pattern_popup': search.c:2642:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 2642 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ search.c: In function 'create_search_legend_menu': search.c:2821:18: warning: variable 'menu1_accels' set but not used [-Wunused-but-set-variable] 2821 | GtkAccelGroup *menu1_accels; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c userinfo.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c mp3_ext.c mp3_ext.c: In function 'file_parse_mp3_header': mp3_ext.c:202:9: warning: variable 'vbr_scale' set but not used [-Wunused-but-set-variable] 202 | int vbr_scale = -1; | ^~~~~~~~~ mp3_ext.c:56:7: warning: variable 'protection' set but not used [-Wunused-but-set-variable] 56 | int protection; | ^~~~~~~~~~ mp3_ext.c:54:7: warning: variable 'padding' set but not used [-Wunused-but-set-variable] 54 | int padding; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c flac_ext.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c hotlist.c hotlist.c: In function 'create_hotlist_popup': hotlist.c:69:18: warning: variable 'popup_accels' set but not used [-Wunused-but-set-variable] 69 | GtkAccelGroup *popup_accels; | ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c ogg_ext.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c clist_rename.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from clist_rename.c:16: clist_rename.c: In function 'clist_rename': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gboolean (*)(GtkWidget *, GdkEventKey *, void *)' {aka 'int (*)(struct _GtkWidget *, struct _GdkEventKey *, void *)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ clist_rename.c:111:23: note: in expansion of macro 'GTK_SIGNAL_FUNC' 111 | GTK_SIGNAL_FUNC (on_escape_press_event), | ^~~~~~~~~~~~~~~ clist_rename.c:77:10: warning: variable 'h' set but not used [-Wunused-but-set-variable] 77 | int w, h; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c ping.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from ping.c:15: ping.c: In function 'ping_fire_up': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ ping.c:274:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 274 | GTK_SIGNAL_FUNC(get_ping_input), ping); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c irc.c In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from irc.c:14: irc.c: In function 'server_login_irc': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ irc.c:1195:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1195 | GTK_SIGNAL_FUNC(server_get_input), socket); | ^~~~~~~~~~~~~~~ irc.c: In function 'login_irc': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'int (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ irc.c:1237:5: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1237 | GTK_SIGNAL_FUNC(server_login_irc), socket); | ^~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c irc_handler.c irc_handler.c: In function 'irc_motd': irc_handler.c:243:13: warning: variable 'server' set but not used [-Wunused-but-set-variable] 243 | server_t *server; | ^~~~~~ irc_handler.c: In function 'irc_whoreply': irc_handler.c:680:9: warning: variable 'channel' set but not used [-Wunused-but-set-variable] 680 | char* channel; | ^~~~~~~ irc_handler.c: In function 'irc_banlist': irc_handler.c:737:9: warning: variable 'channel' set but not used [-Wunused-but-set-variable] 737 | char* channel; | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -D_REENTRANT -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -c napster_handler.c napster_handler.c: In function 'nap_login_ack': napster_handler.c:149:9: warning: variable 'email' set but not used [-Wunused-but-set-variable] 149 | char *email; | ^~~~~ napster_handler.c: In function 'nap_download_ack': napster_handler.c:229:15: warning: variable 'nu' set but not used [-Wunused-but-set-variable] 229 | net_user_t* nu; | ^~ napster_handler.c:227:9: warning: variable 'md5' set but not used [-Wunused-but-set-variable] 227 | char *md5; | ^~~ napster_handler.c: In function 'nap_alternate_ack': napster_handler.c:1564:9: warning: variable 'md5' set but not used [-Wunused-but-set-variable] 1564 | char *md5; | ^~~ napster_handler.c: In function 'nap_motd': napster_handler.c:1804:13: warning: variable 'server' set but not used [-Wunused-but-set-variable] 1804 | server_t *server; | ^~~~~~ napster_handler.c: In function 'nap_data_port_error': napster_handler.c:1836:9: warning: variable 'port' set but not used [-Wunused-but-set-variable] 1836 | char* port; | ^~~~ In file included from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkarg.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkobject.h:31, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtk.h:32, from support.h:9, from napster_handler.c:16: napster_handler.c: In function 'nap_browse_direct': /home/pbulk/build/net/lopster/work/.buildlink/include/gtk-1.2/gtk/gtktypeutils.h:158:30: warning: cast between incompatible function types from 'gint (*)(void *, gint, GdkInputCondition)' {aka 'int (*)(void *, int, GdkInputCondition)'} to 'void (*)()' [-Wcast-function-type] 158 | #define GTK_SIGNAL_FUNC(f) ((GtkSignalFunc) f) | ^ napster_handler.c:1922:7: note: in expansion of macro 'GTK_SIGNAL_FUNC' 1922 | GTK_SIGNAL_FUNC(await_conn_ack3), socket); | ^~~~~~~~~~~~~~~ napster_handler.c: In function 'nap_usage_stats': napster_handler.c:2279:22: warning: '%s' directive writing up to 1023 bytes into a region of size 1022 [-Wformat-overflow=] 2279 | sprintf(str2, "%s (%s)", pos, str); | ^~ ~~~ napster_handler.c:2279:3: note: 'sprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 2279 | sprintf(str2, "%s (%s)", pos, str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -W -Wall -D_GNU_SOURCE -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o lopster mtypes.o global.o browse.o sarray.o buffer.o transfer.o bannet.o files.o utils.o main.o log.o support.o file_tree.o interface.o dirselect.o scheme.o resume.o server.o preferences.o dialog.o splash.o exec.o md5.o wizard.o statistic.o whois.o about.o napster.o share2.o callbacks.o filetips.o handler.o connection.o getopt.o getopt1.o string_list.o commands.o subscription.o chat.o search.o userinfo.o mp3_ext.o flac_ext.o hotlist.o ogg_ext.o clist_rename.o ping.o irc.o irc_handler.o napster_handler.o -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lgtk -lgdk -lgmodule -lglib -lXi -lXext -lX11 -lsocket -lnsl -lm -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lgthread -lglib -lthread -lz gmake[2]: Leaving directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2/src' Making all in m4 gmake[2]: Entering directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2/m4' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2/m4' gmake[2]: Entering directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2' gmake[2]: Leaving directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2' gmake[1]: Leaving directory '/home/pbulk/build/net/lopster/work/lopster-1.2.2'