=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for manedit-0.8.1nb1 --- aboutdialog.o --- --- cdialog.o --- --- csd.o --- --- editor.o --- --- editorcb.o --- --- editordnd.o --- --- editorfio.o --- --- editorfip.o --- --- aboutdialog.o --- clang -c aboutdialog.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- csd.o --- clang -c csd.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editordnd.o --- clang -c editordnd.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- cdialog.o --- clang -c cdialog.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editorfio.o --- clang -c editorfio.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editor.o --- clang -c editor.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editorfip.o --- clang -c editorfip.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editorcb.o --- clang -c editorcb.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editordnd.o --- editordnd.c:140:17: warning: cast to 'editor_struct *' (aka 'struct _editor_struct *') from smaller integer type 'guint32' (aka 'unsigned int') [-Wint-to-pointer-cast] *editor_rtn = EDITOR(addr_val); ^~~~~~~~~~~~~~~~ ./editor.h:13:22: note: expanded from macro 'EDITOR' #define EDITOR(p) ((editor_struct *)(p)) ^~~~~~~~~~~~~~~~~~~~ editordnd.c:164:19: warning: cast to 'GtkCTreeNode *' (aka 'struct _GtkCTreeNode *') from smaller integer type 'guint32' (aka 'unsigned int') [-Wint-to-pointer-cast] (*branch)[n] = (GtkCTreeNode *)addr_val; ^~~~~~~~~~~~~~~~~~~~~~~~ --- editor.o --- editor.c:182:29: warning: expression which evaluates to zero treated as a null pointer constant of type 'gchar *' (aka 'char *') [-Wnon-literal-null-conversion] item->line[total_lines] = '\0'; ^~~~ editor.c:217:6: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy(new_item, src_item, sizeof(editor_item_struct)); ^ editor.c:217:6: note: include the header or explicitly provide a declaration for 'memcpy' --- editordnd.o --- editordnd.c:901:3: warning: cast to smaller integer type 'guint32' (aka 'unsigned int') from 'editor_struct *' (aka 'struct _editor_struct *') [-Wpointer-to-int-cast] (guint32)editor, ^~~~~~~~~~~~~~~ editordnd.c:902:3: warning: cast to smaller integer type 'guint32' (aka 'unsigned int') from 'GtkCTreeNode *' (aka 'struct _GtkCTreeNode *') [-Wpointer-to-int-cast] (guint32)branch ^~~~~~~~~~~~~~~ editordnd.c:907:3: warning: cast to smaller integer type 'guint32' (aka 'unsigned int') from 'editor_struct *' (aka 'struct _editor_struct *') [-Wpointer-to-int-cast] (guint32)editor ^~~~~~~~~~~~~~~ editordnd.c:915:6: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] buf, strlen(buf) ^~~ /data/scratch/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:106:27: note: passing argument to parameter 'data' here const guchar *data, ^ editordnd.c:1275:7: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign] selection_data->data, selection_data->length ^~~~~~~~~~~~~~~~~~~~ editordnd.c:185:15: note: passing argument to parameter 's' here const gchar *s, const gint len ^ --- editorfipcb.o --- clang -c editorfipcb.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editorfipop.o --- clang -c editorfipop.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editordnd.o --- 7 warnings generated. --- editorop.o --- --- editorundo.o --- --- editorop.o --- clang -c editorop.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editorundo.o --- clang -c editorundo.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- fb.o --- clang -c fb.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- fprompt.o --- clang -c fprompt.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- fb.o --- fb.c:669:10: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (gint)glist->data; ^~~~~~~~~~~~~~~~~ fb.c:1444:4: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] buf, buf_len ^~~ /data/scratch/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:106:27: note: passing argument to parameter 'data' here const guchar *data, ^ fb.c:1461:3: warning: passing 'const gchar *' (aka 'const char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] s, ^ /data/scratch/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:106:27: note: passing argument to parameter 'data' here const guchar *data, ^ fb.c:1727:19: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:3469:23: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] o_is_selected = OBJISSEL(fb, i); ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:3689:19: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] o_is_selected = OBJISSEL(fb, i); ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:3777:19: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] o_is_selected = OBJISSEL(fb, i); ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:3980:35: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] o = FileBrowserGetObject(fb, (gint)glist->data); ^~~~~~~~~~~~~~~~~ --- editorop.o --- editorop.c:1224:11: warning: array subscript is of type 'char' [-Wchar-subscripts] (*bp) = toupper(*bp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ editorop.c:1232:11: warning: array subscript is of type 'char' [-Wchar-subscripts] (*bp) = toupper(*bp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ editorop.c:1254:15: warning: array subscript is of type 'char' [-Wchar-subscripts] (*bp) = toupper(*bp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ --- fb.o --- fb.c:4753:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, n)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:4755:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)n ^~~~~~~~~~~ fb.c:4757:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:4759:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:4811:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, n)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:4813:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)n ^~~~~~~~~~~ fb.c:4815:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:4817:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:4882:10: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:4884:22: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:4950:10: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:4952:22: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5003:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5005:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5058:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5060:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5106:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, n)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5108:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)n ^~~~~~~~~~~ fb.c:5110:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5112:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5152:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, n)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5154:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)n ^~~~~~~~~~~ fb.c:5156:9: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5158:21: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5213:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5215:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5272:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5274:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5330:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5332:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5388:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5390:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5440:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5442:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5495:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5497:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5539:7: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5541:20: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5545:20: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5640:7: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5643:20: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5650:20: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5685:23: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] const gint n = (gint)fb->selection_end->data; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fb.c:5691:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5693:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5704:13: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, j)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:5706:25: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)j ^~~~~~~~~~~ fb.c:5719:20: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5752:9: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] ((gint)fb->selection->data == i) : FALSE ^~~~~~~~~~~~~~~~~~~~~~~~~ fb.c:5766:23: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:5844:23: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:6133:18: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:6169:10: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] if(!OBJISSEL(fb, i)) ^~~~~~~~~~~~~~~ fb.c:342:31: note: expanded from macro 'OBJISSEL' ((g_list_find(fb->selection, (gpointer)(n)) != NULL) ? TRUE : FALSE) : FALSE) ^~~~~~~~~~~~~ fb.c:6170:32: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] glist = g_list_append(glist, (gpointer)i); ^~~~~~~~~~~ --- fsd.o --- clang -c fsd.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- fb.o --- fb.c:6264:24: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ fb.c:6326:23: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'gint' (aka 'int') [-Wint-to-void-pointer-cast] fb->selection, (gpointer)i ^~~~~~~~~~~ fb.c:6364:24: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ fb.c:6476:24: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ fb.c:6492:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'r') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6499:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'w') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6506:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'x') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6508:11: warning: array subscript is of type 'char' [-Wchar-subscripts] else if(tolower(*s) == 's') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6516:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'r') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6523:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'w') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6530:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'x') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6532:11: warning: array subscript is of type 'char' [-Wchar-subscripts] else if(tolower(*s) == 'g') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6540:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'r') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6547:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'w') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6554:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if(tolower(*s) == 'x') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6556:11: warning: array subscript is of type 'char' [-Wchar-subscripts] else if(tolower(*s) == 't') ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ fb.c:6616:24: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ fb.c:6806:10: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (gint)glist->data; ^~~~~~~~~~~~~~~~~ fb.c:6894:10: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] i = (gint)glist->data; ^~~~~~~~~~~~~~~~~ --- guiutils.o --- clang -c guiutils.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- main.o --- clang -c main.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- maneditcb.o --- clang -c maneditcb.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- editor.o --- 2 warnings generated. --- maneditop.o --- --- editorop.o --- 3 warnings generated. --- maneditop.o --- clang -c maneditop.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- guiutils.o --- guiutils.c:1099:20: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] sel_rtn->data = s; ^ ~ guiutils.c:1147:20: warning: assigning to 'guchar *' (aka 'unsigned char *') from 'gchar *' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] sel_rtn->data = s; ^ ~ guiutils.c:1479:12: warning: cast to smaller integer type 'GtkJustification' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] justify = (GtkJustification)cb_data[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ guiutils.c:1512:12: warning: cast to smaller integer type 'GtkJustification' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] justify = (GtkJustification)cb_data[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ guiutils.c:1559:14: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] max_items = (gint)(cb_data[4]); ^~~~~~~~~~~~~~~~~~ guiutils.c:1671:14: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] max_items = (gint)(cb_data[4]); ^~~~~~~~~~~~~~~~~~ guiutils.c:1867:28: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] holder_window_width = (gint)cb_data[5]; ^~~~~~~~~~~~~~~~ guiutils.c:1868:29: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] holder_window_height = (gint)cb_data[6]; ^~~~~~~~~~~~~~~~ guiutils.c:2083:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while((toupper(*s) != 'X') && (*s != '\0')) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ guiutils.c:2085:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while((toupper(*s) == 'X') || ISBLANK(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ --- main.o --- main.c:109:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ main.c:109:3: note: include the header or explicitly provide a declaration for 'exit' --- mpfio.o --- clang -c mpfio.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- pdialog.o --- clang -c pdialog.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- guiutils.o --- guiutils.c:3384:14: warning: passing 'guint8 *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign] window, xbm_data, ^~~~~~~~ /data/scratch/editors/manedit/work/.buildlink/include/gtk-1.2/gdk/gdk.h:465:20: note: passing argument to parameter 'data' here const gchar *data, ^ guiutils.c:5490:12: warning: cast to smaller integer type 'GtkJustification' from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] justify = (GtkJustification)cb_data[1]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ guiutils.c:5708:19: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] cb_data[4] = (gpointer)MAX(max_items, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ guiutils.c:5815:14: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] max_items = (gint)(cb_data[4]); ^~~~~~~~~~~~~~~~~~ guiutils.c:5976:26: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] gint i, max_items = (gint)cb_data[4]; ^~~~~~~~~~~~~~~~ guiutils.c:6028:18: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] max_items = (gint)cb_data[4]; ^~~~~~~~~~~~~~~~ guiutils.c:6901:19: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] cb_data[5] = (gpointer)MAX(toplevel_width, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guiutils.c:6902:19: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] cb_data[6] = (gpointer)MAX(toplevel_height, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ guiutils.c:7036:9: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if((gint)cb_data[7]) ^~~~~~~~~~~~~~~~ guiutils.c:7082:11: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if(!((gint)cb_data[7])) ^~~~~~~~~~~~~~~~ --- pref.o --- clang -c pref.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- prefcb.o --- clang -c prefcb.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- preffio.o --- clang -c preffio.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- main.o --- 1 warning generated. --- mpfio.o --- mpfio.c:562:3: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^~~~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:562:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:562:3: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^~~~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:562:24: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] (int)buf_limit_ptr - (int)buf_cur_ptr, 0 ^~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:20: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:35: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:20: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:614:35: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)buf_end - (int)buf, 0); ^~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:779:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] start_offset = (int)(*sub_start) - (int)buf; ^~~~~~~~~~~~~~~~~ mpfio.c:779:37: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] start_offset = (int)(*sub_start) - (int)buf; ^~~~~~~~ mpfio.c:1021:24: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1021:45: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1021:24: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1021:45: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:35: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:56: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:35: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1104:56: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:35: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:56: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~ mpfio.c:20:28: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:35: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ mpfio.c:1133:56: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] cur_seg_len = MAX((int)limit_buf_ptr - (int)cur_buf_ptr, 0); ^~~~~~~~~~~~~~~~ mpfio.c:20:41: note: expanded from macro 'MAX' #define MAX(a,b) (((a) > (b)) ? (a) : (b)) ^ --- prefop.o --- clang -c prefop.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- pref.o --- pref.c:440:10: warning: array subscript is of type 'char' [-Wchar-subscripts] return(toupper(*s) == 'Y'); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ pref.c:456:10: warning: array subscript is of type 'char' [-Wchar-subscripts] return(toupper(*s) == 'Y'); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ pref.c:1193:5: warning: variable 'gdk_color' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(colormap != NULL) ^~~~~~~~~~~~~~~~ pref.c:1199:6: note: uninitialized use occurs here gdk_color ^~~~~~~~~ pref.c:1193:2: note: remove the 'if' if its condition is always true if(colormap != NULL) ^~~~~~~~~~~~~~~~~~~~ pref.c:1140:2: note: variable 'gdk_color' is declared here GdkColor gdk_color; ^ --- pulist.o --- clang -c pulist.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- mpfio.o --- 22 warnings generated. --- viewer.o --- clang -c viewer.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- viewercb.o --- clang -c viewercb.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- pulist.o --- pulist.c:304:36: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:533:33: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1087:33: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1122:33: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1157:43: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1197:43: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1237:43: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1271:43: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] const gint sel_row = (glist != NULL) ? (gint)glist->data : -1; ^~~~~~~~~~~~~~~~~ pulist.c:1483:35: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] gint row = (glist != NULL) ? (gint)glist->data : 0; ^~~~~~~~~~~~~~~~~ pulist.c:1904:27: warning: cast to smaller integer type 'gint' (aka 'int') from 'gpointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] return((glist != NULL) ? (gint)glist->data : -1); ^~~~~~~~~~~~~~~~~ --- viewer.o --- viewer.c:844:11: warning: array subscript is of type 'char' [-Wchar-subscripts] (*bp) = toupper(*bp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ viewer.c:852:11: warning: array subscript is of type 'char' [-Wchar-subscripts] (*bp) = toupper(*bp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ viewer.c:874:15: warning: array subscript is of type 'char' [-Wchar-subscripts] (*bp) = toupper(*bp); ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ --- viewerdnd.o --- clang -c viewerdnd.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- viewercb.o --- viewercb.c:1151:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if(isdigit(*section)) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 1 warning generated. --- viewerdnd.o --- viewerdnd.c:102:22: warning: cast to 'viewer_struct *' (aka 'struct _viewer_struct *') from smaller integer type 'guint32' (aka 'unsigned int') [-Wint-to-pointer-cast] (*viewer_rtn) = (viewer_struct *)addr_val; ^~~~~~~~~~~~~~~~~~~~~~~~~ viewerdnd.c:133:19: warning: cast to 'GtkCTreeNode *' (aka 'struct _GtkCTreeNode *') from smaller integer type 'guint32' (aka 'unsigned int') [-Wint-to-pointer-cast] (*branch)[n] = (GtkCTreeNode *)addr_val; ^~~~~~~~~~~~~~~~~~~~~~~~ viewerdnd.c:174:3: warning: cast to smaller integer type 'guint32' (aka 'unsigned int') from 'viewer_struct *' (aka 'struct _viewer_struct *') [-Wpointer-to-int-cast] (guint32)v, ^~~~~~~~~~ viewerdnd.c:175:3: warning: cast to smaller integer type 'guint32' (aka 'unsigned int') from 'GtkCTreeNode *' (aka 'struct _GtkCTreeNode *') [-Wpointer-to-int-cast] (guint32)branch ^~~~~~~~~~~~~~~ viewerdnd.c:180:3: warning: cast to smaller integer type 'guint32' (aka 'unsigned int') from 'viewer_struct *' (aka 'struct _viewer_struct *') [-Wpointer-to-int-cast] (guint32)v ^~~~~~~~~~ viewerdnd.c:188:6: warning: passing 'gchar *' (aka 'char *') to parameter of type 'const guchar *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] buf, strlen(buf) ^~~ /data/scratch/editors/manedit/work/.buildlink/include/gtk-1.2/gtk/gtkselection.h:106:27: note: passing argument to parameter 'data' here const guchar *data, ^ --- viewerfio.o --- clang -c viewerfio.c -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" --- viewerdnd.o --- viewerdnd.c:461:7: warning: passing 'guchar *' (aka 'unsigned char *') to parameter of type 'const gchar *' (aka 'const char *') converts between pointers to integer types with different sign [-Wpointer-sign] selection_data->data, selection_data->length ^~~~~~~~~~~~~~~~~~~~ ./editordnd.h:18:22: note: passing argument to parameter 's' here const gchar *s, const gint len ^ --- disk.o --- clang++ -c disk.cpp -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" -D__cplusplus -Dc_plusplus --- pref.o --- 3 warnings generated. --- fio.o --- clang++ -c fio.cpp -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" -D__cplusplus -Dc_plusplus --- viewerdnd.o --- 7 warnings generated. --- prochandle.o --- --- disk.o --- In file included from :375: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :371:9: note: previous definition is here #define __cplusplus 201402L ^ --- prochandle.o --- clang++ -c prochandle.cpp -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" -D__cplusplus -Dc_plusplus --- pulist.o --- 10 warnings generated. --- disk.o --- In file included from disk.cpp:1: In file included from /usr/include/c++/stdio.h:101: /usr/include/c++/__config:411:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:412:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- strexp.o --- clang++ -c strexp.cpp -O2 -I/usr/pkg/include -I/usr/include `gtk-config --cflags` -O2 -Wall -DPREFIX=\"/usr/pkg\" -DLOCALBASE=\"/usr/pkg\" -DX11BASE=\"/usr/pkg\" -D__cplusplus -Dc_plusplus --- fio.o --- In file included from :375: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :371:9: note: previous definition is here #define __cplusplus 201402L ^ In file included from fio.cpp:1: In file included from /usr/include/c++/stdio.h:101: /usr/include/c++/__config:411:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:412:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- prochandle.o --- In file included from :375: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :371:9: note: previous definition is here #define __cplusplus 201402L ^ In file included from prochandle.cpp:1: In file included from /usr/include/c++/stdio.h:101: /usr/include/c++/__config:411:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:412:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- disk.o --- disk.cpp:1015:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return("/"); ^ --- viewer.o --- 3 warnings generated. --- disk.o --- 2 warnings and 2 errors generated. *** [disk.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- strexp.o --- In file included from :375: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :371:9: note: previous definition is here #define __cplusplus 201402L ^ In file included from strexp.cpp:1: In file included from /usr/include/c++/string.h:54: /usr/include/c++/__config:411:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:412:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- fio.o --- 1 warning and 2 errors generated. *** [fio.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- strexp.o --- 1 warning and 2 errors generated. --- prochandle.o --- 1 warning and 2 errors generated. --- strexp.o --- *** [strexp.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- prochandle.o --- *** [prochandle.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- guiutils.o --- 20 warnings generated. --- fb.o --- 81 warnings generated. 4 errors make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/editors/manedit *** Error code 1 Stop. make: stopped in /data/pkgsrc/editors/manedit