=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/net/napshare", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for napshare-1.3nb2 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/local/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/work/net/napshare/work/napshare-1.3' Making all in src gmake[2]: Entering directory '/tmp/work/net/napshare/work/napshare-1.3/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c interface.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c config.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c misc.c In file included from misc.c:4: misc.c: In function 'message_dump': gnutella.h:27:32: warning: 'memcpy' forming offset [2, 3] is out of the bounds [0, 2] of object 'port' with type 'gint16' {aka 'short int'} [-Warray-bounds=] 27 | #define READ_GUINT32_LE(a,v) { memcpy(&v, a, 4); v = GUINT32_FROM_LE(v); } | ^~~~~~~~~~~~~~~~ misc.c:200:17: note: in expansion of macro 'READ_GUINT32_LE' 200 | READ_GUINT32_LE(n->buffer + 24, port); | ^~~~~~~~~~~~~~~ misc.c:171:16: note: 'port' declared here 171 | gint16 port, speed; | ^~~~ config.c: In function 'config_read': config.c:567:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 567 | else cfg_use_local_file = 1; // show we are using a local file | ^~~~ config.c:569:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 569 | if (!config) return; | ^~ interface.c: In function 'create_popup_dl_active': interface.c:2880:18: warning: variable 'popup_dl_active_accels' set but not used [-Wunused-but-set-variable] 2880 | GtkAccelGroup *popup_dl_active_accels; | ^~~~~~~~~~~~~~~~~~~~~~ interface.c: In function 'create_popup_dl_queued': interface.c:2939:18: warning: variable 'popup_dl_queued_accels' set but not used [-Wunused-but-set-variable] 2939 | GtkAccelGroup *popup_dl_queued_accels; | ^~~~~~~~~~~~~~~~~~~~~~ interface.c: In function 'create_popup_hosts': interface.c:2978:18: warning: variable 'popup_hosts_accels' set but not used [-Wunused-but-set-variable] 2978 | GtkAccelGroup *popup_hosts_accels; | ^~~~~~~~~~~~~~~~~~ interface.c: In function 'create_popup_search': interface.c:3028:18: warning: variable 'popup_search_accels' set but not used [-Wunused-but-set-variable] 3028 | GtkAccelGroup *popup_search_accels; | ^~~~~~~~~~~~~~~~~~~ interface.c: In function 'create_popup_monitor': interface.c:3146:18: warning: variable 'popup_monitor_accels' set but not used [-Wunused-but-set-variable] 3146 | GtkAccelGroup *popup_monitor_accels; | ^~~~~~~~~~~~~~~~~~~~ interface.c: In function 'create_popup_nodes': interface.c:3169:18: warning: variable 'popup_nodes_accels' set but not used [-Wunused-but-set-variable] 3169 | GtkAccelGroup *popup_nodes_accels; | ^~~~~~~~~~~~~~~~~~ interface.c: In function 'create_popup_uploads': interface.c:3192:18: warning: variable 'popup_uploads_accels' set but not used [-Wunused-but-set-variable] 3192 | GtkAccelGroup *popup_uploads_accels; | ^~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c md5.c config.c:562:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 562 | strncpy(cfg_tmp, config_dir, sizeof(cfg_tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c sockets.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c nodes.c sockets.c: In function 'socket_read': sockets.c:90:47: warning: variable 'n' set but not used [-Wunused-but-set-variable] 90 | struct gnutella_node *n; | ^ sockets.c: In function 'proxy_connect': sockets.c:610:29: warning: variable 'connaddr' set but not used [-Wunused-but-set-variable] 610 | struct sockaddr_in *connaddr; | ^~~~~~~~ nodes.c: In function 'node_read': nodes.c:705:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 705 | if (n->size > search_queries_kick_size) kick = TRUE; break; | ^~ nodes.c:705:86: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 705 | if (n->size > search_queries_kick_size) kick = TRUE; break; | ^~~~~ nodes.c:708:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 708 | if (n->size > search_answers_kick_size) kick = TRUE; break; | ^~ nodes.c:708:86: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 708 | if (n->size > search_answers_kick_size) kick = TRUE; break; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c hosts.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c routing.c routing.c: In function 'route_message': routing.c:251:50: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 251 | if (sender->pos) databuf = sender->buffer; | ^ routing.c:327:58: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 327 | if (sender->pos) databuf = sender->buffer; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c search.c search.c: In function 'on_clist_search_results_button_press_event': search.c:228:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 228 | gtk_widget_set_sensitive(popup_search_toggle_tabs, (gboolean) searches); | ^ search.c:229:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 229 | gtk_widget_set_sensitive(popup_search_close, (gboolean) searches); | ^ search.c:230:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | gtk_widget_set_sensitive(popup_search_restart, (gboolean) searches); | ^ search.c:231:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 231 | gtk_widget_set_sensitive(popup_search_duplicate, (gboolean) searches); | ^ search.c: In function 'on_search_switch': search.c:374:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 374 | gtk_widget_set_sensitive(button_search_download, (gboolean) GTK_CLIST(sch->clist)->selection); | ^ search.c: In function 'search_close_current': search.c:529:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 529 | gtk_widget_set_sensitive(combo_searches, (gboolean) searches); | ^ search.c:530:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 530 | gtk_widget_set_sensitive(button_search_close, (gboolean) searches); | ^ search.c:531:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 531 | gtk_widget_set_sensitive(button_search_stop, (gboolean) searches); | ^ search.c: In function '__search_send_packet': search.c:595:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 595 | strcpy(m->search.query, sch->query); | ~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/string.h:35, from gnutella.h:15, from search.c:6: /usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'guchar *' {aka 'unsigned char *'} 75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^ search.c: In function 'search_already_sent_to_node': search.c:671:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 671 | return (gboolean)g_hash_table_lookup(sch->sent_nodes, &sd); | ^ search.c: In function 'get_results_set': search.c:867:12: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign] 867 | s = r->records; /* Start of the records */ | ^ search.c: In function 'search_result_is_dup': search.c:950:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 950 | return (gboolean)g_hash_table_lookup(sch->dups, rc); | ^ search.c: In function 'search_dld_selection_of_clist': search.c:1255:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1255 | rc = (struct record *) gtk_clist_get_row_data(c, (gint) l->data); | ^ search.c:1264:116: warning: pointer targets in passing argument 7 of 'download_new' differ in signedness [-Wpointer-sign] 1264 | download_new(firstname, rc->name, rc->size, rc->index, rs->ip, rs->port, rs->guid); | ~~^~~~~~ | | | guchar * {aka unsigned char *} gnutella.h:703:73: note: expected 'gchar *' {aka 'char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 703 | void download_new(gchar *, gchar *, guint32, guint32, guint32, guint16, gchar *); | ^~~~~~~ search.c:1266:108: warning: pointer targets in passing argument 7 of 'download_new' differ in signedness [-Wpointer-sign] 1266 | else download_new( rc->name, rc->name, rc->size, rc->index, rs->ip, rs->port, rs->guid); | ~~^~~~~~ | | | guchar * {aka unsigned char *} gnutella.h:703:73: note: expected 'gchar *' {aka 'char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 703 | void download_new(gchar *, gchar *, guint32, guint32, guint32, guint16, gchar *); | ^~~~~~~ search.c:1268:108: warning: pointer targets in passing argument 7 of 'download_new' differ in signedness [-Wpointer-sign] 1268 | else download_new( rc->name, rc->name, rc->size, rc->index, rs->ip, rs->port, rs->guid); | ~~^~~~~~ | | | guchar * {aka unsigned char *} gnutella.h:703:73: note: expected 'gchar *' {aka 'char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 703 | void download_new(gchar *, gchar *, guint32, guint32, guint32, guint16, gchar *); | ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c filter.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c downloads.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c share.c share.c: In function 'parse_extensions': share.c:41:18: warning: variable 'e' set but not used [-Wunused-but-set-variable] 41 | guint i, e; | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c uploads.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c main.c main.c: In function 'main_timer': main.c:352:34: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 352 | if (!(d)->status == GTA_DL_QUEUED) { | ^~ main.c:352:21: note: add parentheses around left hand side expression to silence this warning 352 | if (!(d)->status == GTA_DL_QUEUED) { | ^~~~~~~~~~~~ | ( ) gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c gui.c gui.c: In function 'gui_update_node': gui.c:341:55: warning: the comparison will always evaluate as 'true' for the address of 'remove_msg' will never be NULL [-Waddress] 341 | a = (gchar *) ((n->remove_msg)? n->remove_msg : "Removing"); | ^ In file included from gui.c:4: gnutella.h:233:15: note: 'remove_msg' declared here 233 | gchar remove_msg[260]; /* limit message to 255 by using strncpy, we give a few extra bytes here */ | ^~~~~~~~~~ gui.c: In function 'gui_update_download_abort_resume': gui.c:367:92: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 367 | d = (struct download *) gtk_clist_get_row_data(GTK_CLIST(clist_downloads), (gint) l->data); | ^ gui.c: In function 'gui_update_upload_kill': gui.c:410:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 410 | d = (struct upload *) gtk_clist_get_row_data(GTK_CLIST(clist_uploads), (gint) l->data); | ^ gui.c: In function 'gui_update_download': gui.c:516:55: warning: the comparison will always evaluate as 'true' for the address of 'remove_msg' will never be NULL [-Waddress] 516 | a = (gchar *) ((d->remove_msg)? d->remove_msg : "Unknown Error"); | ^ gnutella.h:303:15: note: 'remove_msg' declared here 303 | gchar remove_msg[260]; /* limit message to 255 by using strncpy, we give a few extra bytes here */ | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c support.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c callbacks.c callbacks.c: In function 'on_button_nodes_remove_clicked': callbacks.c:106:101: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 106 | n = (struct gnutella_node *) gtk_clist_get_row_data(GTK_CLIST(clist_nodes), (gint) l->data); | ^ callbacks.c: In function 'on_clist_nodes_unselect_row': callbacks.c:123:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 123 | gtk_widget_set_sensitive(button_nodes_remove, (gboolean) GTK_CLIST(clist_nodes)->selection); | ^ callbacks.c: In function 'on_button_host_catcher_connect_clicked': callbacks.c:180:108: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 180 | h = (struct gnutella_host *) gtk_clist_get_row_data(GTK_CLIST(clist_host_catcher), (gint) l->data); | ^ callbacks.c: In function 'on_button_host_catcher_remove_clicked': callbacks.c:205:108: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 205 | h = (struct gnutella_host *) gtk_clist_get_row_data(GTK_CLIST(clist_host_catcher), (gint) l->data); | ^ callbacks.c: In function 'on_clist_host_catcher_unselect_row': callbacks.c:236:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 236 | gboolean s = (gboolean) GTK_CLIST(clist_host_catcher)->selection; | ^ callbacks.c: In function 'on_clist_host_catcher_button_press_event': callbacks.c:248:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 248 | gtk_widget_set_sensitive(popup_hosts_export, (gboolean) sl_catched_hosts); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c dialog-filters.c callbacks.c: In function 'on_button_kill_upload_clicked': callbacks.c:361:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 361 | d = (struct upload *) gtk_clist_get_row_data(GTK_CLIST(clist_uploads), (gint) l->data); | ^ In file included from /tmp/work/net/napshare/work/.buildlink/include/gtk-1.2/gdk/gdktypes.h:33, from /tmp/work/net/napshare/work/.buildlink/include/gtk-1.2/gdk/gdk.h:31, from /tmp/work/net/napshare/work/.buildlink/include/gtk-1.2/gtk/gtk.h:31, from gnutella.h:7, from callbacks.c:5: callbacks.c:365:81: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 365 | g_warning("on_button_kill_uploadd_clicked(): row %d has NULL data\n", (gint) l->data); | ^ /tmp/work/net/napshare/work/.buildlink/include/glib/glib-1.2/glib.h:1252:32: note: in definition of macro 'g_warning' 1252 | __VA_ARGS__) | ^~~~~~~~~~~ callbacks.c: In function 'on_button_abort_download_clicked': callbacks.c:511:92: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 511 | d = (struct download *) gtk_clist_get_row_data(GTK_CLIST(clist_downloads), (gint) l->data); | ^ callbacks.c:515:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 515 | g_warning("on_button_abort_download_clicked(): row %d has NULL data\n", (gint) l->data); | ^ /tmp/work/net/napshare/work/.buildlink/include/glib/glib-1.2/glib.h:1252:32: note: in definition of macro 'g_warning' 1252 | __VA_ARGS__) | ^~~~~~~~~~~ callbacks.c: In function 'on_button_resume_download_clicked': callbacks.c:530:92: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 530 | d = (struct download *) gtk_clist_get_row_data(GTK_CLIST(clist_downloads), (gint) l->data); | ^ callbacks.c:534:97: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 534 | g_warning("on_button_abort_download_clicked(): row %d has NULL data\n", (gint) l->data); | ^ /tmp/work/net/napshare/work/.buildlink/include/glib/glib-1.2/glib.h:1252:32: note: in definition of macro 'g_warning' 1252 | __VA_ARGS__) | ^~~~~~~~~~~ callbacks.c: In function 'on_clist_download_queue_unselect_row': callbacks.c:609:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 609 | gtk_widget_set_sensitive(button_remove_download, (gboolean) GTK_CLIST(clist_download_queue)->selection); | ^ callbacks.c: In function 'on_button_remove_download_clicked': callbacks.c:621:105: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 621 | d = (struct download *) gtk_clist_get_row_data(GTK_CLIST(clist_download_queue), (gint) l->data); | ^ callbacks.c: In function 'on_button_search_passive_clicked': callbacks.c:733:18: warning: variable 'sch' set but not used [-Wunused-but-set-variable] 733 | struct search *sch; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/gtk-1.2 -I/opt/local/include/glib/glib-1.2 -I/opt/local/lib/glib/include -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -c auto.c auto.c: In function 'auto_brain': auto.c:556:131: warning: pointer targets in passing argument 7 of 'download_new' differ in signedness [-Wpointer-sign] 556 | download_new(rc->name, rc->name, rc->size, rc->index, rs->ip, rs->port, rs->guid); // queue it | ~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from auto.c:4: gnutella.h:703:73: note: expected 'gchar *' {aka 'char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 703 | void download_new(gchar *, gchar *, guint32, guint32, guint32, guint16, gchar *); | ^~~~~~~ auto.c: In function 'auto_set_param': auto.c:851:25: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 851 | strncpy(buf_list_search, value, sizeof(buf_list_search)); // limit the size | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auto.c:843:41: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 843 | case kw_list_strings: { strncpy(buf_list_strings, value, sizeof(buf_list_strings)); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ auto.c:842:41: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 842 | case kw_list_filters: { strncpy(buf_list_filters, value, sizeof(buf_list_filters)); return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -Wall -L/opt/local/lib -Wl,-R/opt/local/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o napshare interface.o misc.o config.o md5.o sockets.o nodes.o hosts.o routing.o search.o filter.o downloads.o share.o uploads.o main.o gui.o support.o callbacks.o dialog-filters.o auto.o -L/opt/local/lib -Wl,-R/opt/local/lib -Wl,-R/opt/local/lib -L/opt/local/lib -lgtk -lgdk -lgmodule -lglib -lXi -lXext -lX11 -lsocket -lnsl -lm gmake[2]: Leaving directory '/tmp/work/net/napshare/work/napshare-1.3/src' gmake[2]: Entering directory '/tmp/work/net/napshare/work/napshare-1.3' gmake[2]: Leaving directory '/tmp/work/net/napshare/work/napshare-1.3' gmake[1]: Leaving directory '/tmp/work/net/napshare/work/napshare-1.3'