=> Bootstrap dependency digest>=20010302: found digest-20180917 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 --- --- editorfipcb.o --- --- editorfipop.o --- --- editorop.o --- --- editorundo.o --- --- fb.o --- --- fprompt.o --- --- fsd.o --- --- guiutils.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\" --- 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\" --- 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\" --- 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 --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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\" --- 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; ^ 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, ^ --- 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'; ^~~~ --- editordnd.o --- 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 ^ --- editor.o --- 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' --- fb.o --- 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: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: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: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 ^ --- 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: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); ^ 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: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)])) ^~~~ --- 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\" --- 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; ^ ~ --- editordnd.o --- 4 warnings generated. --- guiutils.o --- 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; ^ ~ --- 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: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)])) ^~~~ --- 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\" --- 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, ^ --- 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: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); ^ --- editorop.o --- 3 warnings generated. --- guiutils.o --- 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); ^ --- 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\" --- prefop.o --- --- pulist.o --- --- 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\" --- 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\" --- 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\" --- 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' --- 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\" --- 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\" --- editor.o --- 2 warnings generated. --- 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\" --- main.o --- 1 warning generated. --- 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 --- 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 --- 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 --- 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; ^ --- 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 --- 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)) ^~~~ --- 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)])) ^~~~ --- guiutils.o --- 8 warnings generated. --- string.o --- --- 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; ^ --- string.o --- clang++ -c string.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 --- manedit.1.out --- sed 's|%%PREFIX%%|/usr/pkg|g ; s|%%LOCALBASE%%|/usr/pkg|g ; s|%%X11BASE%%|/usr/pkg|g' manedit.1 > manedit.1.out --- viewerdnd.o --- 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, ^ 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 --- In file included from :381: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :377:9: note: previous definition is here #define __cplusplus 201402L ^ In file included from disk.cpp:1: In file included from /usr/include/c++/stdio.h:102: /usr/include/c++/__config:375:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:376:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- fio.o --- In file included from :381: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :377:9: note: previous definition is here #define __cplusplus 201402L ^ --- prochandle.o --- In file included from :381: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :377:9: note: previous definition is here #define __cplusplus 201402L ^ --- viewercb.o --- 1 warning generated. --- disk.o --- disk.cpp:1015:9: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return("/"); ^ 2 warnings and 2 errors generated. --- viewerdnd.o --- 4 warnings generated. --- fb.o --- 71 warnings generated. --- disk.o --- *** [disk.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- strexp.o --- In file included from :381: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :377:9: note: previous definition is here #define __cplusplus 201402L ^ --- fio.o --- In file included from fio.cpp:1: In file included from /usr/include/c++/stdio.h:102: /usr/include/c++/__config:375:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:376:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- prochandle.o --- In file included from prochandle.cpp:1: In file included from /usr/include/c++/stdio.h:102: /usr/include/c++/__config:375:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:376:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ --- strexp.o --- In file included from strexp.cpp:1: In file included from /usr/include/c++/string.h:55: /usr/include/c++/__config:375:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:376:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ 1 warning and 2 errors generated. --- fio.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 --- fio.o --- *** [fio.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- prochandle.o --- 1 warning and 2 errors generated. *** [prochandle.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- string.o --- In file included from :381: :4:9: warning: '__cplusplus' macro redefined [-Wmacro-redefined] #define __cplusplus 1 ^ :377:9: note: previous definition is here #define __cplusplus 201402L ^ In file included from string.cpp:1: In file included from /usr/include/c++/stdio.h:102: /usr/include/c++/__config:375:20: error: cannot combine with previous 'char16_t' declaration specifier typedef __char16_t char16_t; ^ /usr/include/c++/__config:376:20: error: cannot combine with previous 'char32_t' declaration specifier typedef __char32_t char32_t; ^ string.cpp:1508:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return(""); ^ string.cpp:1522:8: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return(""); ^ string.cpp:1545:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return(""); ^ string.cpp:1547:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return(""); ^ string.cpp:1553:12: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] return(""); ^ 6 warnings and 2 errors generated. *** [string.o] Error code 1 make: stopped in /data/scratch/editors/manedit/work/manedit-0.8.1/manedit --- pref.o --- 3 warnings generated. --- viewer.o --- 3 warnings generated. 5 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