=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for manedit-0.8.1nb1 --- aboutdialog.o --- --- cdialog.o --- --- csd.o --- --- editor.o --- --- aboutdialog.o --- gcc -c aboutdialog.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- cdialog.o --- gcc -c cdialog.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- csd.o --- gcc -c csd.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editor.o --- gcc -c editor.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- aboutdialog.o --- aboutdialog.c: In function 'AboutDialogNew': aboutdialog.c:61:29: warning: variable 'cursors_list' set but not used [-Wunused-but-set-variable] medit_cursors_list_struct *cursors_list = NULL; ^~~~~~~~~~~~ --- editor.o --- editor.c: In function 'EditorItemDup': editor.c:217:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(new_item, src_item, sizeof(editor_item_struct)); ^~~~~~ editor.c:217:6: warning: incompatible implicit declaration of built-in function 'memcpy' editor.c:217:6: note: include '' or provide a declaration of 'memcpy' editor.c: In function 'EditorLayoutTrunkDeleteAll': editor.c:372:6: warning: incompatible implicit declaration of built-in function 'memcpy' memcpy(list, editor->layout_trunk, total * sizeof(GtkCTreeNode *)); ^~~~~~ editor.c:372:6: note: include '' or provide a declaration of 'memcpy' --- editorcb.o --- gcc -c editorcb.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- cdialog.o --- cdialog.c: In function 'CDialogInit': cdialog.c:462:12: warning: variable 'style' set but not used [-Wunused-but-set-variable] GtkStyle *style; ^~~~~ --- editorcb.o --- editorcb.c: In function 'EditorKeyEventCB': editorcb.c:202:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ --- editordnd.o --- gcc -c editordnd.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorcb.o --- editorcb.c: In function 'EditorCloseCB': editorcb.c:373:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c: In function 'EditorManualNewCB': editorcb.c:565:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; ^~~~~~~~ editorcb.c: In function 'EditorManualOpenCB': editorcb.c:718:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c:715:12: warning: variable 'ctree' set but not used [-Wunused-but-set-variable] GtkCTree *ctree; ^~~~~ editorcb.c: In function 'EditorManualNewFromTemplateCB': editorcb.c:864:12: warning: variable 'ctree' set but not used [-Wunused-but-set-variable] GtkCTree *ctree; ^~~~~ editorcb.c: In function 'EditorManualSaveAsCB': editorcb.c:1208:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c: In function 'EditorManualCloseCB': editorcb.c:1577:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c: In function 'EditorCutCB': editorcb.c:2746:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c: In function 'EditorCopyCB': editorcb.c:2815:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c: In function 'EditorPasteCB': editorcb.c:2880:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ editorcb.c: In function 'EditorFmtParagraphLeftCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3166:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtParagraphRightCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3188:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtParagraphIndentedCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3210:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtListItemCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3232:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtBoldCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3254:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtUnderlineCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3311:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtLineBreakCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3368:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtAmpersandCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3390:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtLessThanCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3412:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFmtGreaterThanCB': editorcb.c:3084:13: warning: variable 'toplevel' set but not used [-Wunused-but-set-variable] GtkWidget *toplevel; \ ^ editorcb.c:3434:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorStripTagsCB': editorcb.c:3082:11: warning: variable 'font' set but not used [-Wunused-but-set-variable] GdkFont *font; \ ^ editorcb.c:3455:2: note: in expansion of macro 'EDITOR_FMT_CB_PRE' EDITOR_FMT_CB_PRE ^~~~~~~~~~~~~~~~~ editorcb.c: In function 'EditorFindBarReplaceAllCB': editorcb.c:3651:15: warning: variable 'editable' set but not used [-Wunused-but-set-variable] GtkEditable *editable = NULL; ^~~~~~~~ editorcb.c: In function 'EditorFindBarReplaceEntirePageIterationCB': editorcb.c:3966:15: warning: variable 'editable' set but not used [-Wunused-but-set-variable] GtkEditable *editable = NULL; ^~~~~~~~ --- editordnd.o --- In file included from editordnd.c:8:0: editordnd.c: In function 'EditorDNDParseCmd': editor.h:13:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define EDITOR(p) ((editor_struct *)(p)) ^ editordnd.c:140:17: note: in expansion of macro 'EDITOR' *editor_rtn = EDITOR(addr_val); ^~~~~~ editordnd.c:164:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (*branch)[n] = (GtkCTreeNode *)addr_val; ^ editordnd.c: In function 'EditorDNDTrunkListAdd': editordnd.c:594:20: warning: variable 'src_clist' set but not used [-Wunused-but-set-variable] GtkCList *clist, *src_clist; ^~~~~~~~~ editordnd.c: In function 'EditorDNDViewerIndexItemLoad': editordnd.c:702:20: warning: variable 'src_clist' set but not used [-Wunused-but-set-variable] GtkCList *clist, *src_clist; ^~~~~~~~~ editordnd.c: In function 'EditorDNDDataRequestCB': editordnd.c:901:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (guint32)editor, ^ editordnd.c:902:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (guint32)branch ^ editordnd.c:907:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (guint32)editor ^ editordnd.c:915:6: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] buf, strlen(buf) ^~~ In file included from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkdnd.h:33:0, from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:56, from editordnd.c:3: /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:103:6: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'gchar * {aka char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ editordnd.c: In function 'EditorDNDDataRecievedCB': editordnd.c:1275:7: warning: pointer targets in passing argument 1 of 'EditorDNDParseURL' differ in signedness [-Wpointer-sign] selection_data->data, selection_data->length ^~~~~~~~~~~~~~ editordnd.c:184:8: note: expected 'const gchar * {aka const char *}' but argument is of type 'guchar * {aka unsigned char *}' gchar *EditorDNDParseURL( ^~~~~~~~~~~~~~~~~ editordnd.c: In function 'EditorDNDDoDeleteItems': editordnd.c:1302:12: warning: variable 'clist' set but not used [-Wunused-but-set-variable] GtkCList *clist; ^~~~~ --- editorfio.o --- gcc -c editorfio.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorfip.o --- gcc -c editorfip.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorfio.o --- editorfio.c: In function 'EditorFileOpenParseTitleHeading': editorfio.c:133:15: warning: variable 'line_end' set but not used [-Wunused-but-set-variable] const gchar *line_end, *line_next; ^~~~~~~~ editorfio.c: In function 'EditorFileSave': editorfio.c:1033:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ --- editorfip.o --- editorfip.c: In function 'EditorFIPNew': editorfip.c:408:29: warning: variable 'cursors_list' set but not used [-Wunused-but-set-variable] medit_cursors_list_struct *cursors_list; ^~~~~~~~~~~~ editorfip.c:399:12: warning: variable 'clist' set but not used [-Wunused-but-set-variable] GtkCList *clist; ^~~~~ --- editorfipcb.o --- gcc -c editorfipcb.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorfipop.o --- gcc -c editorfipop.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorop.o --- gcc -c editorop.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorundo.o --- gcc -c editorundo.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorop.o --- editorop.c: In function 'EditorDoPreview': editorop.c:985:10: warning: variable 'status' set but not used [-Wunused-but-set-variable] gint i, status, fd, editor_num; ^~~~~~ --- fb.o --- gcc -c fb.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- editorundo.o --- editorundo.c: In function 'EditorUndoDelete': editorundo.c:84:35: warning: variable 'u_remove' set but not used [-Wunused-but-set-variable] editor_undo_remove_chars_struct *u_remove; ^~~~~~~~ --- fprompt.o --- gcc -c fprompt.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- fb.o --- fb.c: In function 'FileBrowserDNDBufFormat': fb.c:669:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (gint)glist->data; ^ fb.c: In function 'FileBrowserDragDataGetCB': fb.c:1444:4: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] buf, buf_len ^~~ In file included from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkdnd.h:33:0, from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:56, from fb.c:23: /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:103:6: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'gchar * {aka char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ fb.c:1461:3: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] s, ^ In file included from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkdnd.h:33:0, from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:56, from fb.c:23: /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:103:6: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'const gchar * {aka const char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ fb.c: In function 'FileBrowserNewDirectoryCB': fb.c:1727:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c: In function 'FileBrowserMatchIconNumFromPath': fb.c:2117:15: warning: variable 'ext' set but not used [-Wunused-but-set-variable] const gchar *ext, *name; ^~~ fb.c: In function 'FileBrowserListDraw': fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:3469:23: note: in expansion of macro 'OBJISSEL' o_is_selected = OBJISSEL(fb, i); ^~~~~~~~ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:3689:19: note: in expansion of macro 'OBJISSEL' o_is_selected = OBJISSEL(fb, i); ^~~~~~~~ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:3777:19: note: in expansion of macro 'OBJISSEL' o_is_selected = OBJISSEL(fb, i); ^~~~~~~~ fb.c: In function 'FileBrowserEntrySetSelectedObjects': fb.c:3980:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] o = FileBrowserGetObject(fb, (gint)glist->data); ^ fb.c: In function 'FileBrowserListHeaderEventCB': fb.c:4381:18: warning: variable 'expose' set but not used [-Wunused-but-set-variable] GdkEventExpose *expose; ^~~~~~ fb.c:4380:21: warning: variable 'configure' set but not used [-Wunused-but-set-variable] GdkEventConfigure *configure; ^~~~~~~~~ fb.c: In function 'FileBrowserListEventCB': fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:4753:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, n)) ^~~~~~~~ fb.c:4755:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)n ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:4757:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, i)) ^~~~~~~~ fb.c:4759:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:4811:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, n)) ^~~~~~~~ fb.c:4813:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)n ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:4815:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, i)) ^~~~~~~~ fb.c:4817:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:4882:10: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:4884:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:4950:10: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:4952:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5003:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5005:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5058:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5060:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5106:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, n)) ^~~~~~~~ fb.c:5108:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)n ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5110:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, i)) ^~~~~~~~ fb.c:5112:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5152:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, n)) ^~~~~~~~ fb.c:5154:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)n ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5156:9: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, i)) ^~~~~~~~ --- fsd.o --- --- fb.o --- fb.c:5158:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ --- fprompt.o --- fprompt.c: In function 'FPromptEntryEventCB': fprompt.c:119:18: warning: variable 'button' set but not used [-Wunused-but-set-variable] GdkEventButton *button; ^~~~~~ --- fb.o --- fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5213:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5215:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ --- fsd.o --- gcc -c fsd.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- fb.o --- fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5272:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5274:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5330:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5332:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5388:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5390:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5440:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5442:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5495:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5497:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5539:7: note: in expansion of macro 'OBJISSEL' if(OBJISSEL(fb, i)) ^~~~~~~~ fb.c:5541:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:5545:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5640:7: note: in expansion of macro 'OBJISSEL' if(OBJISSEL(fb, i)) ^~~~~~~~ fb.c:5643:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:5650:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:5685:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] const gint n = (gint)fb->selection_end->data; ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5691:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5693:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:5704:13: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, j)) ^~~~~~~~ fb.c:5706:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)j ^ fb.c:5719:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:5752:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((gint)fb->selection->data == i) : FALSE ^ fb.c:5766:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:5844:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c:4646:18: warning: variable 'expose' set but not used [-Wunused-but-set-variable] GdkEventExpose *expose; ^~~~~~ fb.c: In function 'FileBrowserSelectAllCB': fb.c:6133:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c: In function 'FileBrowserInvertSelectionCB': fb.c:342:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^ fb.c:6169:10: note: in expansion of macro 'OBJISSEL' if(!OBJISSEL(fb, i)) ^~~~~~~~ fb.c:6170:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] glist = g_list_append(glist, (gpointer)i); ^ fb.c: In function 'FileBrowserRenameFPromptCB': fb.c:6264:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^ fb.c:6326:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] fb->selection, (gpointer)i ^ fb.c: In function 'FileBrowserRenameCB': fb.c:6364:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^ fb.c: In function 'FileBrowserCHModFPromptCB': fb.c:6476:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^ fb.c: In function 'FileBrowserCHModCB': fb.c:6616:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^ fb.c: In function 'FileBrowserDeleteCB': fb.c:6806:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (gint)glist->data; ^ fb.c:6894:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (gint)glist->data; ^ --- guiutils.o --- gcc -c guiutils.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- fsd.o --- fsd.c: In function 'FSDOKCB': fsd.c:104:11: warning: variable 'font_loaded' set but not used [-Wunused-but-set-variable] gboolean font_loaded; ^~~~~~~~~~~ --- guiutils.o --- guiutils.c: In function 'GUIDDESelectionReceivedCB': guiutils.c:1099:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sel_rtn->data = s; ^ guiutils.c:1147:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sel_rtn->data = s; ^ guiutils.c: In function 'GUIDNDDragEndCB': guiutils.c:1397:11: warning: variable 'same_widget' set but not used [-Wunused-but-set-variable] gboolean same_widget; ^~~~~~~~~~~ guiutils.c: In function 'GUIBannerEventCB': guiutils.c:1473:18: warning: variable 'expose' set but not used [-Wunused-but-set-variable] GdkEventExpose *expose; ^~~~~~ guiutils.c:1472:21: warning: variable 'configure' set but not used [-Wunused-but-set-variable] GdkEventConfigure *configure; ^~~~~~~~~ guiutils.c:1471:19: warning: variable 'justify' set but not used [-Wunused-but-set-variable] GtkJustification justify; ^~~~~~~ guiutils.c:1470:11: warning: variable 'font' set but not used [-Wunused-but-set-variable] GdkFont *font; ^~~~ guiutils.c:1469:15: warning: variable 'label' set but not used [-Wunused-but-set-variable] const gchar *label; ^~~~~ guiutils.c: In function 'GUIBannerDataDestroyCB': guiutils.c:1505:19: warning: variable 'justify' set but not used [-Wunused-but-set-variable] GtkJustification justify; ^~~~~~~ guiutils.c: In function 'GUIComboActivateCB': guiutils.c:1559:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] max_items = (gint)(cb_data[4]); ^ guiutils.c:1537:9: warning: variable 'list_change_cb' set but not used [-Wunused-but-set-variable] void (*list_change_cb)(GtkWidget *, gpointer, GList *); ^~~~~~~~~~~~~~ guiutils.c:1534:9: warning: variable 'glist_in' set but not used [-Wunused-but-set-variable] GList *glist_in; ^~~~~~~~ guiutils.c:1532:22: warning: variable 'wlabel' set but not used [-Wunused-but-set-variable] GtkWidget *parent, *wlabel; ^~~~~~ guiutils.c:1532:13: warning: variable 'parent' set but not used [-Wunused-but-set-variable] GtkWidget *parent, *wlabel; ^~~~~~ guiutils.c:1531:7: warning: variable 'max_items' set but not used [-Wunused-but-set-variable] gint max_items; ^~~~~~~~~ guiutils.c: In function 'GUIComboDataDestroyCB': guiutils.c:1671:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] max_items = (gint)(cb_data[4]); ^ guiutils.c:1648:9: warning: variable 'list_change_cb' set but not used [-Wunused-but-set-variable] void (*list_change_cb)(GtkWidget *, gpointer, GList *); ^~~~~~~~~~~~~~ guiutils.c:1647:9: warning: variable 'func_cb' set but not used [-Wunused-but-set-variable] void (*func_cb)(GtkWidget *, gpointer); ^~~~~~~ guiutils.c:1646:11: warning: variable 'client_data' set but not used [-Wunused-but-set-variable] gpointer client_data; ^~~~~~~~~~~ guiutils.c:1645:7: warning: variable 'max_items' set but not used [-Wunused-but-set-variable] gint max_items; ^~~~~~~~~ guiutils.c:1643:12: warning: variable 'combo' set but not used [-Wunused-but-set-variable] GtkCombo *combo; ^~~~~ guiutils.c:1642:22: warning: variable 'wlabel' set but not used [-Wunused-but-set-variable] GtkWidget *parent, *wlabel; ^~~~~~ guiutils.c:1642:13: warning: variable 'parent' set but not used [-Wunused-but-set-variable] GtkWidget *parent, *wlabel; ^~~~~~ guiutils.c: In function 'GUIPullOutDataDestroyCB': guiutils.c:1743:27: warning: variable 'holder_hbox' set but not used [-Wunused-but-set-variable] GtkWidget *client_hbox, *holder_hbox, *toplevel; ^~~~~~~~~~~ guiutils.c:1743:13: warning: variable 'client_hbox' set but not used [-Wunused-but-set-variable] GtkWidget *client_hbox, *holder_hbox, *toplevel; ^~~~~~~~~~~ guiutils.c: In function 'GUIPullOutPullOutBtnCB': guiutils.c:1867:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] holder_window_width = (gint)cb_data[5]; ^ guiutils.c:1868:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] holder_window_height = (gint)cb_data[6]; ^ guiutils.c: In function 'GUIWindowApplyArgs': guiutils.c:2673:11: warning: variable 'arg_on' set but not used [-Wunused-but-set-variable] gboolean arg_on; ^~~~~~ guiutils.c: In function 'GUICreateBitmapFromDataRGBA': guiutils.c:3384:14: warning: pointer targets in passing argument 2 of 'gdk_bitmap_create_from_data' differ in signedness [-Wpointer-sign] window, xbm_data, ^~~~~~~~ In file included from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:31:0, from guiutils.c:5: /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gdk/gdk.h:464:12: note: expected 'const gchar * {aka const char *}' but argument is of type 'guint8 * {aka unsigned char *}' GdkBitmap* gdk_bitmap_create_from_data (GdkWindow *window, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- main.o --- gcc -c main.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- maneditcb.o --- gcc -c maneditcb.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- guiutils.o --- guiutils.c: In function 'GUIComboCreate': guiutils.c:5708:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cb_data[4] = (gpointer)MAX(max_items, 0); ^ guiutils.c: In function 'GUIComboAddItem': guiutils.c:5815:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] max_items = (gint)(cb_data[4]); ^ guiutils.c:5787:9: warning: variable 'func_cb' set but not used [-Wunused-but-set-variable] void (*func_cb)(GtkWidget *, gpointer); ^~~~~~~ guiutils.c:5783:22: warning: variable 'wlabel' set but not used [-Wunused-but-set-variable] GtkWidget *parent, *wlabel; ^~~~~~ guiutils.c:5783:13: warning: variable 'parent' set but not used [-Wunused-but-set-variable] GtkWidget *parent, *wlabel; ^~~~~~ guiutils.c: In function 'GUIComboSetList': guiutils.c:5976:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gint i, max_items = (gint)cb_data[4]; ^ guiutils.c:6028:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] max_items = (gint)cb_data[4]; ^ guiutils.c: In function 'GUIPullOutCreateH': guiutils.c:6901:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cb_data[5] = (gpointer)MAX(toplevel_width, 0); ^ guiutils.c:6902:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cb_data[6] = (gpointer)MAX(toplevel_height, 0); ^ guiutils.c: In function 'GUIPullOutPullOut': guiutils.c:7036:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((gint)cb_data[7]) ^ guiutils.c: In function 'GUIPullOutPushIn': guiutils.c:7082:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if(!((gint)cb_data[7])) ^ guiutils.c:7052:13: warning: variable 'w' set but not used [-Wunused-but-set-variable] GtkWidget *w; ^ --- main.o --- main.c: In function 'MEditSignalCB': main.c:109:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ main.c:109:3: warning: incompatible implicit declaration of built-in function 'exit' main.c:109:3: note: include '' or provide a declaration of 'exit' --- maneditop.o --- gcc -c maneditop.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" maneditop.c: In function 'MEditCreateHelpMenu': maneditop.c:74:13: warning: variable 'w' set but not used [-Wunused-but-set-variable] GtkWidget *w, *menu; ^ --- mpfio.o --- gcc -c mpfio.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- maneditop.o --- maneditop.c: In function 'MEditDialogFromFile': maneditop.c:478:4: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] if(buf_pos < buf_len) ^ --- mpfio.o --- mpfio.c: In function 'MPLoadExplodeNewLines': mpfio.c:562:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:562:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:562:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:562:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c: In function 'MPLoadExplodeParseMPFmt': mpfio.c:614:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c: In function 'MPSubStringIterate': mpfio.c:779:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] start_offset = (int)(*sub_start) - (int)buf; ^ mpfio.c:779:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] start_offset = (int)(*sub_start) - (int)buf; ^ mpfio.c: In function 'MPLoad': mpfio.c:1021:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1021:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1021:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1021:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:28: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^ mpfio.c:20:41: note: in definition of macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ --- pdialog.o --- gcc -c pdialog.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" pdialog.c: In function 'PDialogPromptNewNexus': pdialog.c:889:12: warning: variable 'style' set but not used [-Wunused-but-set-variable] GtkStyle *style; ^~~~~ pdialog.c:888:13: warning: variable 'window' set but not used [-Wunused-but-set-variable] GdkWindow *window; ^~~~~~ pdialog.c: In function 'PDialogInit': pdialog.c:1166:12: warning: variable 'style' set but not used [-Wunused-but-set-variable] GtkStyle *style; ^~~~~ --- pref.o --- gcc -c pref.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- prefcb.o --- gcc -c prefcb.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- preffio.o --- gcc -c preffio.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- prefcb.o --- prefcb.c: In function 'PrefSelectFontCB': prefcb.c:277:18: warning: variable 'reenterant' set but not used [-Wunused-but-set-variable] static gboolean reenterant = FALSE; ^~~~~~~~~~ --- prefop.o --- gcc -c prefop.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- pulist.o --- gcc -c pulist.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" pulist.c: In function 'PUListKeyPressEventCB': pulist.c:304:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c:249:16: warning: variable 'state' set but not used [-Wunused-but-set-variable] guint keyval, state; ^~~~~ pulist.c: In function 'PUListButtonPressEventCB': pulist.c:533:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c: In function 'PUListBoxEventCB': pulist.c:1087:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c:1122:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c:1157:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c:1197:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c:1237:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c:1271:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^ pulist.c: In function 'PUListBoxDraw': pulist.c:1483:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : 0; ^ --- viewer.o --- gcc -c viewer.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- pulist.o --- pulist.c: In function 'PUListGetSelectedLast': pulist.c:1904:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return((glist != NULL) ? (gint)glist->data : -1); ^ --- viewercb.o --- gcc -c viewercb.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" viewercb.c: In function 'ViewerViewKeyEventCB': viewercb.c:279:17: warning: variable 'hadj' set but not used [-Wunused-but-set-variable] GtkAdjustment *hadj, *vadj; ^~~~ viewercb.c: In function 'ViewerOpenCB': viewercb.c:551:21: warning: variable 'core' set but not used [-Wunused-but-set-variable] medit_core_struct *core; ^~~~ viewercb.c:550:11: warning: variable 'text' set but not used [-Wunused-but-set-variable] GtkText *text; ^~~~ viewercb.c: In function 'ViewerFindInPagesDoGrep': viewercb.c:1394:8: warning: variable 'last_line_start_pos' set but not used [-Wunused-but-set-variable] glong last_line_start_pos = 0l; ^~~~~~~~~~~~~~~~~~~ --- viewerdnd.o --- gcc -c viewerdnd.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" viewerdnd.c: In function 'ViewerIndexCTreeDNDParseCmd': viewerdnd.c:102:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (*viewer_rtn) = (viewer_struct *)addr_val; ^ viewerdnd.c:133:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (*branch)[n] = (GtkCTreeNode *)addr_val; ^ viewerdnd.c: In function 'ViewerIndexCTreeDNDDataRequestCB': viewerdnd.c:174:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (guint32)v, ^ viewerdnd.c:175:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (guint32)branch ^ viewerdnd.c:180:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (guint32)v ^ viewerdnd.c:188:6: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] buf, strlen(buf) ^~~ In file included from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkdnd.h:33:0, from /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:56, from viewerdnd.c:3: /tmp/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:103:6: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'gchar * {aka char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ viewerdnd.c: In function 'ViewerViewTextDNDDataRecievedCB': viewerdnd.c:461:7: warning: pointer targets in passing argument 1 of 'EditorDNDParseURL' differ in signedness [-Wpointer-sign] selection_data->data, selection_data->length ^~~~~~~~~~~~~~ In file included from viewerdnd.c:9:0: editordnd.h:17:15: note: expected 'const gchar * {aka const char *}' but argument is of type 'guchar * {aka unsigned char *}' extern gchar *EditorDNDParseURL( ^~~~~~~~~~~~~~~~~ --- viewerfio.o --- gcc -c viewerfio.c -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" --- disk.o --- c++ -c disk.cpp -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include disk.cpp: In function 'char* PrefixPaths(const char*, const char*)': disk.cpp:1015:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return("/"); ^ --- fio.o --- c++ -c fio.cpp -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include --- disk.o --- disk.cpp: In function 'char* PathSubHome(const char*)': disk.cpp:484:11: warning: specified bound 1024 equals the size of the destination [-Wstringop-overflow=] strncat(rtn_path, home, m); ~~~~~~~^~~~~~~~~~~~~~~~~~~ --- prochandle.o --- c++ -c prochandle.cpp -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include --- strexp.o --- c++ -c strexp.cpp -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include --- string.o --- c++ -c string.cpp -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/X11R7\" -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include --- manedit.1.out --- sed 's|%%PREFIX%%|/usr/pkg|g ; s|%%LOCALBASE%%|/usr/pkg|g ; s|%%X11BASE%%|/usr/X11R7|g' manedit.1 > manedit.1.out --- string.o --- string.cpp: In function 'void straddflag(char*, const char*, char, int)': string.cpp:783:13: warning: variable 'flag_len' set but not used [-Wunused-but-set-variable] int s_len, flag_len; ^~~~~~~~ string.cpp: In function 'char* StringGetNetArgument(const char*)': string.cpp:1508:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1522:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp: In function 'char* StringCurrentTimeFormat(const char*)': string.cpp:1545:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1547:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ string.cpp:1553:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return(""); ^ --- manedit --- c++ aboutdialog.o cdialog.o csd.o editor.o editorcb.o editordnd.o editorfio.o editorfip.o editorfipcb.o editorfipop.o editorop.o editorundo.o fb.o fprompt.o fsd.o guiutils.o main.o maneditcb.o maneditop.o mpfio.o pdialog.o pref.o prefcb.o preffio.o prefop.o pulist.o viewer.o viewercb.o viewerdnd.o viewerfio.o disk.o fio.o prochandle.o strexp.o string.o -o manedit `gtk-config --libs`