=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for mined-2000.15nb1 ./makemined gmake[1]: Entering directory '/usr/pkgsrc/work/editors/mined/work/mined-2000.15/src' gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -DRUNDIR=\"/usr/pkg/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c mined1.c mined1.c:328:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ./mined.h:751:28: note: previous declaration is here extern int UTF8_len _((char)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:491:32: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] prev_unichar = unicodevalue (charpos); ^~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:603:52: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ ./mined.h:768:71: note: passing argument to parameter 'cjkbytes' here extern FLAG valid_cjk _((unsigned long cjkchar, /* opt */ character * cjkbytes)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:672:21: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] int len = CJK_len (* poipoi); ^~~~~~~~ mined1.c:773:14: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] utf8_info (poi, & len, & unichar); ^~~ mined1.c:788:13: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] utf8_info (poi, & len, & unichar); ^~~ mined1.c:848:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] return charvalue (poi); ^~~ mined1.c:894:17: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] len = CJK_len (* poipoi); ^~~~~~~~ mined1.c:896:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (* colpoi) += cjkscrwidth (charvalue (* poipoi), * poipoi, linebegin); ^~~~~~~~ mined1.c:1223:34: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long c = unicodevalue (filename_poi); ^~~~~~~~~~~~ mined1.c:1244:36: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] filename_dispoi += utfencode (c, filename_dispoi); ^~~~~~~~~~~~~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:1248:37: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] filename_dispoi += utfencode (c, filename_dispoi); ^~~~~~~~~~~~~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:1254:66: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); ^~~~~~~~~~~~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:1573:23: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) utfencode (c, cbuf); ^~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:2379:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char firstdigit; ^ ./mined.h:983:40: note: previous declaration is here extern void UML _((char)), REPT _((char)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:2816:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long unichar = charvalue (textp); ^~~~~ mined1.c:2840:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] up += utfencode (unichar & 0xFFFF, up); ^~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:2850:31: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) utfencode (unichar, up); ^~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4026:37: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] if (get_screen_width (sjis_3bytes, NIL_PTR, 0) == 3) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4284:49: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_combining, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4286:36: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] if (get_screen_width (cjk_check, NIL_PTR, 0) == 1) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4310:38: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] if (get_screen_width (comb_check, NIL_PTR, 0) == 1) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4333:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, lam, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4334:41: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, alef, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4340:37: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] if (get_screen_width (join_check, NIL_PTR, 0) == 2) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4377:46: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_lineend, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4378:46: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_lineend, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4379:46: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_lineend, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4380:46: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_lineend, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4381:42: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_tab, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4382:42: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_tab, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4383:43: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_tab3, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4385:42: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] cjkwidth = get_screen_width (cjk_check, NIL_PTR, 0); ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4408:45: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_char, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4409:45: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_char, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4412:46: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] check += cjkencode_char (True, cjk_char, check); ^~~~~ ./mined.h:766:67: note: passing argument to parameter here extern int cjkencode_char _((FLAG term, unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ mined1.c:4418:45: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] cjkwidth += get_screen_width (cjk_check, NIL_PTR, 0); ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4657:56: warning: incompatible pointer types passing 'char *' to parameter of type 'screen_width *' [-Wincompatible-pointer-types] if (get_screen_width ("", NIL_PTR, 0) < 18) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ mined1.c:4721:43: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { ^~~~~~~~~~~~~~ mined1.c:4724:44: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { ^~~~~~~~~~~~~~~ mined1.c:4727:44: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { ^~~~~~~~~~~~~~~ mined1.c:4730:46: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { ^~~~~~~~~~~~~~~~~ mined1.c:6184:153: warning: data argument not used by format string [-Wformat-extra-args] printf ("- non-BMP width data mode: plane_2_double %d plane_1_comb %d plane_14_comb %d\n", nonbmp_width_data, plane_2_double_width, plane_1_combining, plane_14_combining); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./termprop.h:75:28: note: expanded from macro 'plane_14_combining' #define plane_14_combining ((nonbmp_width_data & 0x1) == 0) ^ 43 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c edit.c edit.c:178:8: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (t < 0 || t >= arrlen (decomposition_type)) { ~ ^ ~ edit.c:210:32: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] build_string (su, " U+%04X", decomp [i]); ~~~~ ^~~~~~~~~~ %04lX edit.c:550:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char prev; ^ ./mined.h:563:33: note: previous declaration is here extern char syntax_state _((char, char *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:681:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'lineend_type' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] lineend_type return_type; ^ ./mined.h:574:63: note: previous declaration is here extern LINE * line_insert _((LINE *, char *, int, lineend_type)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:860:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long unichar = unicodevalue (start_textp); ^~~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:864:27: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (cp); ^~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:870:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (cp); ^~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:1567:32: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned int cv = charvalue (cur_text); ^~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:1746:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (! idfchar (text)) { ^~~~ edit.c:1751:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (idfchar (idf_poi) && idf_poi != start) { ^~~~~~~ edit.c:1754:17: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (! idfchar (idf_poi)) { ^~~~~~~ edit.c:1757:18: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (idfchar (idf_poi)) { ^~~~~~~ edit.c:1834:15: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (idfchar (textp)) { ^~~~~ edit.c:1836:42: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (textp != begin_line && idfchar (textp)) { ^~~~~ edit.c:1842:37: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] && alpha (* textp) && ! idfchar (textp)) ^~~~~ edit.c:1855:32: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : (idfsearch ? ! idfchar (textp) ^~~~~ edit.c:1856:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] : (! alpha (* textp) || idfchar (textp))))) ^~~~~ edit.c:1908:15: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (idfchar (textp)) { ^~~~~ edit.c:1909:38: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (* textp != '\n' && idfchar (textp)) { ^~~~~ edit.c:1913:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] while (alpha (* textp) && ! idfchar (textp)) { ^~~~~ edit.c:2053:41: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long unichar = unicodevalue (cur_text); ^~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2058:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2061:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2118:48: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] FLAG was_on_comb = iscombining (unicodevalue (cur_text)); ^~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2206:41: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long unichar = unicodevalue (cur_text); ^~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2437:22: warning: passing 'character [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] width = col_count (buffer); ^~~~~~ ./mined.h:737:31: note: passing argument to parameter here extern int col_count _((char *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2494:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long rc = charvalue (cur_text); ^~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2497:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] rc = charvalue (cur_text); ^~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2504:51: warning: passing 'character [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] offset = cur_text - cur_line->text + length_of (buffer); ^~~~~~ ./mined.h:734:31: note: passing argument to parameter here extern int length_of _((char *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2505:40: warning: passing 'character [7]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (insert_text (cur_line, cur_text, buffer) == ERRORS) { ^~~~~~ edit.c:2584:22: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'character' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] register character newchar; ^ ./mined.h:966:28: note: previous declaration is here extern void S0 _((character)), Scharacter _((unsigned long)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2804:22: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'character' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] register character newchar; ^ edit.c:16:28: note: previous declaration is here static void S _((character newchar)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:2890:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] && (streq (script (charvalue (cur_text)), "Hebrew") ^~~~~~~~ ./mined.h:1010:33: note: expanded from macro 'streq' #define streq(s1, s2) (strcmp (s1, s2) == 0) ^ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3375:47: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] insertvalue (lookup_encodedchar (charvalue (cur_text)), radix); ^~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3377:32: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) cjkencode (charvalue (cur_text), buffer); ^~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3377:43: warning: passing 'char [7]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) cjkencode (charvalue (cur_text), buffer); ^~~~~~ ./mined.h:765:51: note: passing argument to parameter here extern int cjkencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3426:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] utf8_info (& buffer [i], & utfcount, & code); ^~~~~~~~~~~~ ./mined.h:753:32: note: passing argument to parameter here extern void utf8_info _((char *, int *, unsigned long *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3563:23: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] hanchar = charvalue (cpoi); ^~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3583:27: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (valid_cjk (hanchar, NIL_PTR)) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ ./mined.h:768:71: note: passing argument to parameter 'cjkbytes' here extern FLAG valid_cjk _((unsigned long cjkchar, /* opt */ character * cjkbytes)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:3814:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (valid_cjk (hanchar, NIL_PTR)) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ ./mined.h:768:71: note: passing argument to parameter 'cjkbytes' here extern FLAG valid_cjk _((unsigned long cjkchar, /* opt */ character * cjkbytes)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4093:17: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] len = CJK_len (cur_text); ^~~~~~~~ ./mined.h:752:34: note: passing argument to parameter here extern int CJK_len _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4094:23: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cjkchar = charvalue (cur_text); ^~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4108:51: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (iscombining (lookup_encodedchar (charvalue (textpoi)))) { ^~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4118:27: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (valid_cjk (cjkchar, NIL_PTR)) { ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ ./mined.h:768:71: note: passing argument to parameter 'cjkbytes' here extern FLAG valid_cjk _((unsigned long cjkchar, /* opt */ character * cjkbytes)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4164:112: warning: format specifies type 'unsigned long' but the argument has type 'character' (aka 'unsigned char') [-Wformat] build_string (text_buffer, "Character: %s%s%s%sU+%02lX%s%s", scriptmsg, scriptsep, categorymsg, scriptsep, c, charsep, chardescr); ~~~~~ ^ %02hhX edit.c:4200:112: warning: format specifies type 'unsigned long' but the argument has type 'character' (aka 'unsigned char') [-Wformat] build_string (text_buffer, "Character: %s%s%s%sU+%02lX%s%s", scriptmsg, scriptsep, categorymsg, scriptsep, c, charsep, chardescr); ~~~~~ ^ %02hhX edit.c:4397:37: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((cjk_text && valid_cjk (ch, NIL_PTR)) ^~~~~~~ ./mined.h:329:18: note: expanded from macro 'NIL_PTR' #define NIL_PTR ((char *) 0) ^~~~~~~~~~~~ ./mined.h:768:71: note: passing argument to parameter 'cjkbytes' here extern FLAG valid_cjk _((unsigned long cjkchar, /* opt */ character * cjkbytes)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4620:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char lang; ^ ./mined.h:983:24: note: previous declaration is here extern void UML _((char)), REPT _((char)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4629:22: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] c1 = unicodevalue (cpoi); ^~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4726:24: warning: passing 'char [7]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] codelen = CJK_len (allbytes); ^~~~~~~~ ./mined.h:752:34: note: passing argument to parameter here extern int CJK_len _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:4749:22: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] c2 = unicodevalue (cpoi); ^~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5229:26: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (cur_text); ^~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5276:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5279:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5299:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5302:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5320:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5323:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5342:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5345:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5360:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5363:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar2 = unicodevalue (after_char); ^~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5488:37: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] } while (hop_flag > 0 && idfchar (cur_text)); ^~~~~~~~ edit.c:5549:35: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long uc = unicodevalue (cp); ^~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5554:15: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (idfchar (cp) && * cp != '_' && * cp != '$') { ^~ edit.c:5610:21: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] uc = unicodevalue (cur_text); ^~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ edit.c:5691:35: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long cv = unicodevalue (pp1); ^~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ 67 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c pastebuf.c pastebuf.c:303:39: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long unichar = charvalue (textp); ^~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ pastebuf.c:317:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] up += utfencode (unichar & 0xFFFF, up); ^~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ pastebuf.c:321:31: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) utfencode (unichar, up); ^~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ pastebuf.c:454:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unsigned long uc = utf8value (poi); ^~~ ./mined.h:744:46: note: passing argument to parameter here extern unsigned long utf8value _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ pastebuf.c:477:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] int cjklen = cjkencode (nc, npoi); ^~~~ ./mined.h:765:51: note: passing argument to parameter here extern int cjkencode _((unsigned long, character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ 5 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c textfile.c textfile.c:1300:58: warning: incompatible pointer types passing 'char **' to parameter of type 'character **' (aka 'unsigned char **') [-Wincompatible-pointer-types] read_chars = UTF16_transform (filebuf, filebuflen, & next_byte, fini_byte); ^~~~~~~~~~~ textfile.c:1300:71: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] read_chars = UTF16_transform (filebuf, filebuflen, & next_byte, fini_byte); ^~~~~~~~~ textfile.c:1382:56: warning: incompatible pointer types passing 'char **' to parameter of type 'character **' (aka 'unsigned char **') [-Wincompatible-pointer-types] read_chars = UTF16_transform (filebuf, filebuflen, & next_byte, fini_byte); ^~~~~~~~~~~ textfile.c:1382:69: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] read_chars = UTF16_transform (filebuf, filebuflen, & next_byte, fini_byte); ^~~~~~~~~ textfile.c:1286:27: warning: comparison of constant -1 with expression of type 'FLAG' is always false [-Wtautological-constant-out-of-range-compare] if (alloc_UTF16buf () == ERRORS) { ~~~~~~~~~~~~~~~~~ ^ ~~~~~~ textfile.c:1373:27: warning: comparison of constant -1 with expression of type 'FLAG' is always false [-Wtautological-constant-out-of-range-compare] if (alloc_UTF16buf () == ERRORS) { ~~~~~~~~~~~~~~~~~ ^ ~~~~~~ textfile.c:2211:8: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ./textfile.h:34:37: note: previous declaration is here extern int writechar _((int fd, char)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ textfile.c:2278:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'lineend_type' (aka 'unsigned char') declared in a previous prototype [-Wknr-promoted-parameter] lineend_type return_type; ^ ./textfile.h:35:50: note: previous declaration is here extern int write_lineend _((int fd, lineend_type return_type, FLAG handle_utf16)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ textfile.c:3068:37: warning: comparison of constant -1 with expression of type 'FLAG' is always false [-Wtautological-constant-out-of-range-compare] if (save_text_load_file (new_file) == ERRORS) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ 9 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c textbuf.c textbuf.c:85:26: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (textp); ^~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ textbuf.c:161:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (textp); ^~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ textbuf.c:164:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (textp); ^~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ textbuf.c:298:56: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] || (new_x == XBREAK - 1 && iswide (unicodevalue (new_address))) ^~~~~~~~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ textbuf.c:547:16: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] line_number, get_cur_pos () + 1, lines, charcount, ^~~~~~~~~~~~~~~~~~ 5 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c justify.c justify.c:305:26: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] unichar = unicodevalue (poi); ^~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ 1 warning generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c search.c search.c:248:15: warning: passing 'char [280]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (compile (exp_buf, & program, True) == ERRORS) { ^~~~~~~ search.c:49:35: note: passing argument to parameter 'pat_start' here static int compile _((character * pat_start, REGEX * program, FLAG case_ignore)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:273:16: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (compile (expr, & program, case_ignore) == ERRORS) { ^~~~ search.c:49:35: note: passing argument to parameter 'pat_start' here static int compile _((character * pat_start, REGEX * program, FLAG case_ignore)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:923:37: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if ((match_line = match (program, cur_text, method)) == NIL_LINE) { ^~~~~~~~ search.c:58:53: note: passing argument to parameter 'string' here static LINE * match _((REGEX * program, character * string, FLAG method)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1239:30: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] low_char = precedingchar (pattern, pat_start); ^~~~~~~ ./mined.h:748:45: note: passing argument to parameter here extern unsigned long precedingchar _((char *, char *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1239:39: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] low_char = precedingchar (pattern, pat_start); ^~~~~~~~~ ./mined.h:748:53: note: passing argument to parameter here extern unsigned long precedingchar _((char *, char *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1323:16: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] utf8_info (pattern, & charlen, & low_char); ^~~~~~~ ./mined.h:753:32: note: passing argument to parameter here extern void utf8_info _((char *, int *, unsigned long *)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1491:32: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ret = check_string (program, string, from_line, NIL_INT); ^~~~~~ search.c:60:57: note: passing argument to parameter 'str' here static int check_string _((REGEX * program, character * str, LINE * from, int * expression)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1508:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (check_string (program, textp, from_line, NIL_INT)) { ^~~~~ search.c:60:57: note: passing argument to parameter 'str' here static int check_string _((REGEX * program, character * str, LINE * from, int * expression)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1522:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (check_string (program, textp, from_line, NIL_INT)) { ^~~~~ search.c:60:57: note: passing argument to parameter 'str' here static int check_string _((REGEX * program, character * str, LINE * from, int * expression)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1629:7: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] from_line->next->text, ^~~~~~~~~~~~~~~~~~~~~ search.c:1723:24: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = star (program, mark, string, from_line, expression); ^~~~ search.c:62:44: note: passing argument to parameter 'end_position' here static int star _((REGEX * program, char * end_position, char * str, LINE * from, int * expression)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1723:30: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = star (program, mark, string, from_line, expression); ^~~~~~ search.c:62:65: note: passing argument to parameter 'str' here static int star _((REGEX * program, char * end_position, char * str, LINE * from, int * expression)); ^ ./_proto.h:23:14: note: expanded from macro '_' #define _(x) x ^ search.c:1774:29: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (check_string (program, string, from_line, expression)) { ^~~~~~ search.c:1781:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (check_string (program, string, from_line, expression)) { ^~~~~~ 14 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -march=i586 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c minedaux.c In file included from minedaux.c:8: In file included from /usr/include/signal.h:45: In file included from /usr/include/sys/signal.h:122: In file included from /usr/include/sys/ucontext.h:36: /usr/include/machine/mcontext.h:91:1: error: use of undeclared identifier 'unused' __CTASSERT(sizeof (__fpregset_t) == 512 + 33 * 4); ^ /usr/include/sys/cdefs.h:150:24: note: expanded from macro '__CTASSERT' #define __CTASSERT(x) __CTASSERT0(x, __ctassert, __COUNTER__) ^ /usr/include/sys/cdefs.h:156:30: note: expanded from macro '__CTASSERT0' #define __CTASSERT0(x, y, z) __CTASSERT1(x, y, z) ^ /usr/include/sys/cdefs.h:157:77: note: expanded from macro '__CTASSERT1' #define __CTASSERT1(x, y, z) typedef char y ## z[/*CONSTCOND*/(x) ? 1 : -1] __unused ^ /usr/include/sys/cdefs.h:262:33: note: expanded from macro '__unused' #define __unused __attribute__((__unused__)) ^ ./mined.h:180:35: note: expanded from macro '__unused__' #define __unused__ __attribute__((unused)) ^ 1 error generated. mkinclud.mak:423: recipe for target 'minedaux.o' failed gmake[1]: *** [minedaux.o] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/editors/mined/work/mined-2000.15/src' makefile:9: recipe for target 'mined' failed gmake: *** [mined] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/editors/mined *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/editors/mined