=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for mined-2000.15nb1 ./makemined ./makemined help cd man; make make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/var/pkgsrc/work/editors/mined/work/mined-2000.15/man' make[1]: Nothing to be done for 'man'. make[1]: Leaving directory '/var/pkgsrc/work/editors/mined/work/mined-2000.15/man' ./makemined mnemodoc gmake[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. gmake[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. gmake[1]: Entering directory '/var/pkgsrc/work/editors/mined/work/mined-2000.15/src' gmake[1]: Entering directory '/var/pkgsrc/work/editors/mined/work/mined-2000.15/src' gmake[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. gmake[1]: Entering directory '/var/pkgsrc/work/editors/mined/work/mined-2000.15/src' gmake[1]: Nothing to be done for 'help'. gmake[1]: Leaving directory '/var/pkgsrc/work/editors/mined/work/mined-2000.15/src' gmake[1]: Nothing to be done for 'mnemodoc'. gmake[1]: Leaving directory '/var/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 -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)); ^ 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 *)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c edit.c 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 *)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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)); ^ 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)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 66 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 5 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -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: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)); ^ 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)); ^ 6 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -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 *)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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 -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 *)); ^ 1 warning generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -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)); ^ 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)); ^ 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)); ^ 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 *)); ^ 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 *)); ^ 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 *)); ^ 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)); ^ 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)); ^ 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)); ^ 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)); ^ 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)); ^ 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 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c minedaux.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c output.c output.c:632: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 marker; ^ ./mined.h:720:29: note: previous declaration is here extern void putmark _((char mark, char * utfmark)); ^ output.c:686:13: 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] character marker; ^ ./mined.h:721:41: note: previous declaration is here extern FLAG marker_defined _((character marker, char * utfmarker)); ^ output.c:1293:23: warning: too few arguments in call to 'indicate_uni' indicate_uni (base); ~~~~~~~~~~~~ ^ output.c:1398:13: 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] character c; ^ ./mined.h:728:38: note: previous declaration is here extern void putcharacter _((character)); ^ output.c:1659:31: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (iswide (unicodevalue (textp))) { ^~~~~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ output.c:1716:24: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cjkchar = charvalue (textp); ^~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ output.c:1969:27: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] int cjklen = CJK_len (textp); ^~~~~ ./mined.h:752:34: note: passing argument to parameter here extern int CJK_len _((character *)); ^ output.c:2104:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] put_unichar (charvalue (textp)); ^~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ output.c:2107:28: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] put_cjkchar (charvalue (textp)); ^~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ 9 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c prompt.c prompt.c:304:24: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] cjkchar = charvalue (text); ^~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:523:19: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] c = charvalue (refreshptr); ^~~~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:531:19: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] c = charvalue (refreshptr ++); ^~~~~~~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:589:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] c = charvalue (refreshptr); ^~~~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:601:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] c = charvalue (refreshptr); ^~~~~~~~~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:779: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 charval = charvalue (ptr); ^~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:786:26: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] charval = charvalue (ptr); ^~~ ./mined.h:745:46: note: passing argument to parameter here extern unsigned long charvalue _((character *)); ^ prompt.c:1291: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:684:48: note: previous declaration is here extern long get_number _((char * message, char firstdigit, int * result)); ^ 8 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c compose.c compose.c:182:23: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] xp += utfencode (c, xp); ^~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ compose.c:358:24: warning: passing 'character [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = compose_mnemo (cs, False, False); ^~ compose.c:383:24: warning: passing 'character [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret2 = compose_mnemo (cs, False, False); ^~ compose.c:395:24: warning: passing 'character [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret2 = compose_mnemo (cs, False, False); ^~ compose.c:405:25: warning: passing 'character [13]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret2 = compose_mnemo (cs, False, False); ^~ compose.c:488:23: warning: passing 'char [25]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] m += utfencode (let, mbuf); ^~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ compose.c:491:27: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] m += utfencode (a [i], m); ^ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ compose.c:554:27: warning: passing 'char [1024]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) utfencode (base, mnemo); ^~~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ compose.c:673:32: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] mnemopoi += utfencode (base, mnemopoi); ^~~~~~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ compose.c:688:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] mnemopoi += utfencode (base, mnemopoi); ^~~~~~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ compose.c:704:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] mnemopoi += utfencode (base, mnemopoi); ^~~~~~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ 11 warnings generated. gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/arabic.c -o charmaps/arabic.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/ascii.c -o charmaps/ascii.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-big5.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-big5.c -o charmaps/cjk-big5.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-cns.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-cns.c -o charmaps/cjk-cns.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-ejis.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-ejis.c -o charmaps/cjk-ejis.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-gb.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-gb.c -o charmaps/cjk-gb.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-johb.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-johb.c -o charmaps/cjk-johb.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-sjis.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-sjis.c -o charmaps/cjk-sjis.o CC=gcc OPT="-O2 -Wno-invalid-source-encoding -I/usr/include" ./mkchrtab -S charmaps/cjk-uhc.map gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cjk-uhc.c -o charmaps/cjk-uhc.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1125.c -o charmaps/cp1125.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1250.c -o charmaps/cp1250.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1251.c -o charmaps/cp1251.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1252.c -o charmaps/cp1252.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1253.c -o charmaps/cp1253.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1254.c -o charmaps/cp1254.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1255.c -o charmaps/cp1255.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1256.c -o charmaps/cp1256.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp1257.c -o charmaps/cp1257.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp437.c -o charmaps/cp437.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp737.c -o charmaps/cp737.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp775.c -o charmaps/cp775.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp850.c -o charmaps/cp850.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp852.c -o charmaps/cp852.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp853.c -o charmaps/cp853.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp855.c -o charmaps/cp855.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp857.c -o charmaps/cp857.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp858.c -o charmaps/cp858.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp860.c -o charmaps/cp860.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp861.c -o charmaps/cp861.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp862.c -o charmaps/cp862.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp863.c -o charmaps/cp863.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp864.c -o charmaps/cp864.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp865.c -o charmaps/cp865.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp866.c -o charmaps/cp866.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cp869.c -o charmaps/cp869.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/cygwin.c -o charmaps/cygwin.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/georg-ps.c -o charmaps/georg-ps.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/isoarab.c -o charmaps/isoarab.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/isocyril.c -o charmaps/isocyril.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/isogreek.c -o charmaps/isogreek.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/isohebr.c -o charmaps/isohebr.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/koi8-r.c -o charmaps/koi8-r.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/koi8-ru.c -o charmaps/koi8-ru.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/koi8-t.c -o charmaps/koi8-t.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/koi8-u.c -o charmaps/koi8-u.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-10.c -o charmaps/latin-10.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-2.c -o charmaps/latin-2.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-3.c -o charmaps/latin-3.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-4.c -o charmaps/latin-4.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-5.c -o charmaps/latin-5.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-6.c -o charmaps/latin-6.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-7.c -o charmaps/latin-7.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-8.c -o charmaps/latin-8.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/latin-9.c -o charmaps/latin-9.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/m-roman.c -o charmaps/m-roman.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/pt154.c -o charmaps/pt154.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/tcvn.c -o charmaps/tcvn.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/tis620.c -o charmaps/tis620.o gcc -O2 -Wno-invalid-source-encoding -I/usr/include -I. -c charmaps/viscii.c -o charmaps/viscii.o gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c charcode.c charcode.c:62:13: 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] character c; ^ ./mined.h:700:42: note: previous declaration is here extern character controlchar _((character)); ^ charcode.c:244:23: warning: passing 'char [7]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) utfencode (c, buf); ^~~ charcode.c:246:23: 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 (c, buf); ^~~ charcode.c:838: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 tag; ^ ./mined.h:791:55: note: previous declaration is here extern FLAG set_term_encoding _((char * charmap, char tag)); ^ charcode.c:853: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 tag; ^ ./mined.h:790:55: note: previous declaration is here extern FLAG set_text_encoding _((char * charmap, char tag, char * debug_tag)); ^ 5 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c mousemen.c mousemen.c:2031:27: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] put_unichar (utf8value (extratag)); ^~~~~~~~ ./mined.h:744:46: note: passing argument to parameter here extern unsigned long utf8value _((character *)); ^ mousemen.c:2535:41: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Do If is_right_to_left (unicodevalue (cp)) ^~ ./mined.h:746:49: note: passing argument to parameter here extern unsigned long unicodevalue _((character *)); ^ mousemen.c:2899:24: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] letter = utf8value (label); ^~~~~ ./mined.h:744:46: note: passing argument to parameter here extern unsigned long utf8value _((character *)); ^ mousemen.c:2902:25: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] letter = utf8value (label); ^~~~~ ./mined.h:744:46: note: passing argument to parameter here extern unsigned long utf8value _((character *)); ^ mousemen.c:2916:26: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] letter = utf8value (label); ^~~~~ ./mined.h:744:46: note: passing argument to parameter here extern unsigned long utf8value _((character *)); ^ mousemen.c:2921:26: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] letter = utf8value (label); ^~~~~ ./mined.h:744:46: note: passing argument to parameter here extern unsigned long utf8value _((character *)); ^ mousemen.c:3360:31: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] select_index = item_count (menu [itemno - 1].itemname) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:3370:33: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] If select_index < item_count (menu [itemno - 1].itemname) - 1 ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:3391:30: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] select_index = item_count (menu [itemno - 1].itemname) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:3419:35: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Then select_index = item_count (menu [itemno - 1].itemname) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:3435:35: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Then select_index = item_count (menu [itemno - 1].itemname) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:3456:36: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Then select_index = item_count (menu [itemno - 1].itemname) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~ mousemen.c:3472:36: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] Then select_index = item_count (menu [itemno - 1].itemname) - 1; ^~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. test -d keymaps || mkdir keymaps ./mkkmincl keymaps0/GreekMonotonic.h keymaps0/Cyrillic.h keymaps0/Kazakh_prefix.h keymaps0/Hebrew.h keymaps0/ArabicKeyboard.h keymaps0/Amharic.h keymaps0/Ethiopic.h keymaps0/Esperanto.h keymaps0/Pinyin.h keymaps0/Cangjie.h keymaps0/WuBi.h keymaps0/4Corner.h keymaps0/Boshiamy.h keymaps1/Radical_Stroke.h keymaps0/Hiragana.h keymaps0/Katakana.h keymaps0/TUT_roma.h keymaps0/HANGUL.h keymaps0/HANJA.h keymaps0/VNI.h keymaps0/VIQR.h keymaps0/th_kesmanee.h keymaps0/Fullwidth.h > keymaps/_keymaps.h converting keymaps0/GreekMonotonic.h to string format converting keymaps0/Cyrillic.h to string format converting keymaps0/Kazakh_prefix.h to string format converting keymaps0/Hebrew.h to string format converting keymaps0/ArabicKeyboard.h to string format converting keymaps0/Amharic.h to string format converting keymaps0/Ethiopic.h to string format converting keymaps0/Esperanto.h to string format converting keymaps0/Pinyin.h to string format converting keymaps0/Cangjie.h to string format converting keymaps0/WuBi.h to string format converting keymaps0/4Corner.h to string format converting keymaps0/Boshiamy.h to string format copying pre-transformed keymaps1/Radical_Stroke.h converting keymaps0/Hiragana.h to string format converting keymaps0/Katakana.h to string format converting keymaps0/TUT_roma.h to string format converting keymaps0/HANGUL.h to string format converting keymaps0/HANJA.h to string format converting keymaps0/VNI.h to string format converting keymaps0/VIQR.h to string format converting keymaps0/th_kesmanee.h to string format converting keymaps0/Fullwidth.h to string format gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -Ikeymaps -c keymaps.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c keydefs.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c dispatch.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c handescr.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c termprop.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c width.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c encoding.c gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c io.c io.c:2034: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 c; ^ ./io.h:67:35: note: previous declaration is here extern void __putchar _((character)); ^ io.c:2061: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 c; ^ ./io.h:69:38: note: previous declaration is here extern void putblockchar _((character)); ^ io.c:3743:11: warning: implicit conversion from 'unsigned long' to 'int' changes value from 18446744073709551609 to -7 [-Wconstant-conversion] return FUNcmd; ~~~~~~ ^~~~~~ ./mined.h:778:16: note: expanded from macro 'FUNcmd' #define FUNcmd (unsigned long) -7 /* indicates function key */ ^~~~~~~~~~~~~~~~~~ 3 warnings generated. gcc -DTERMIO -Dunix -Dunix -DPREFIX='"/usr/pkg"' -ansi -Waggregate-return -Winline -Wimplicit-int -Wunused -Wswitch -Wchar-subscripts -Wparentheses -Wmissing-braces -O2 -Wno-invalid-source-encoding -I/usr/include -Wmissing-prototypes -Wreturn-type -c keyboard.c keyboard.c:2003:26: warning: passing 'character [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((res = findkey (ctrl_queue)) == -1 /* prefix of table entry */ ^~~~~~~~~~ keyboard.c:2231:18: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] putback_rest (ctrl_queue + 2); ^~~~~~~~~~~~~~ keyboard.c:2323:40: warning: passing 'char [7]' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] (void) utfencode (ansi_param [2], cbuf); ^~~~ ./mined.h:764:51: note: passing argument to parameter here extern int utfencode _((unsigned long, character *)); ^ keyboard.c:2416:24: warning: passing 'character [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((res = mapkb (ctrl_queue, keyboard_map, 1, & found, & mapped)) == -1 ^~~~~~~~~~ keyboard.c:2452:18: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] putback_rest (ctrl_queue + strlen (prev_found)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ keyboard.c:2455:16: warning: passing 'character [34]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] res = mapkb (ctrl_queue, keyboard_map, 2, & found, & mapped); ^~~~~~~~~~ 6 warnings generated. gcc mined1.o edit.o pastebuf.o textfile.o textbuf.o justify.o search.o minedaux.o output.o prompt.o compose.o charmaps/arabic.o charmaps/ascii.o charmaps/cjk-big5.o charmaps/cjk-cns.o charmaps/cjk-ejis.o charmaps/cjk-gb.o charmaps/cjk-johb.o charmaps/cjk-sjis.o charmaps/cjk-uhc.o charmaps/cp1125.o charmaps/cp1250.o charmaps/cp1251.o charmaps/cp1252.o charmaps/cp1253.o charmaps/cp1254.o charmaps/cp1255.o charmaps/cp1256.o charmaps/cp1257.o charmaps/cp437.o charmaps/cp737.o charmaps/cp775.o charmaps/cp850.o charmaps/cp852.o charmaps/cp853.o charmaps/cp855.o charmaps/cp857.o charmaps/cp858.o charmaps/cp860.o charmaps/cp861.o charmaps/cp862.o charmaps/cp863.o charmaps/cp864.o charmaps/cp865.o charmaps/cp866.o charmaps/cp869.o charmaps/cygwin.o charmaps/georg-ps.o charmaps/isoarab.o charmaps/isocyril.o charmaps/isogreek.o charmaps/isohebr.o charmaps/koi8-r.o charmaps/koi8-ru.o charmaps/koi8-t.o charmaps/koi8-u.o charmaps/latin-10.o charmaps/latin-2.o charmaps/latin-3.o charmaps/latin-4.o charmaps/latin-5.o charmaps/latin-6.o charmaps/latin-7.o charmaps/latin-8.o charmaps/latin-9.o charmaps/m-roman.o charmaps/pt154.o charmaps/tcvn.o charmaps/tis620.o charmaps/viscii.o charcode.o mousemen.o keymaps.o keydefs.o dispatch.o handescr.o termprop.o width.o encoding.o io.o keyboard.o -L/usr/lib -lncurses -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o mined io.o: In function `raw_mode': io.c:(.text+0x550): undefined reference to `tputs' io.c:(.text+0x567): undefined reference to `tputs' io.c:(.text+0x57e): undefined reference to `tputs' io.c:(.text+0x595): undefined reference to `tputs' io.c:(.text+0x5ac): undefined reference to `tputs' io.o:io.c:(.text+0x5d8): more undefined references to `tputs' follow io.o: In function `raw_mode': io.c:(.text+0x751): undefined reference to `tgoto' io.c:(.text+0x760): undefined reference to `tputs' io.o: In function `start_screen_mode': io.c:(.text+0x843): undefined reference to `tputs' io.c:(.text+0x867): undefined reference to `tputs' io.c:(.text+0x87e): undefined reference to `tputs' io.c:(.text+0x895): undefined reference to `tputs' io.o:io.c:(.text+0x8e8): more undefined references to `tputs' follow io.o: In function `start_screen_mode': io.c:(.text+0x91f): undefined reference to `tgoto' io.c:(.text+0x934): undefined reference to `tputs' io.o: In function `putoutchar': io.c:(.text+0xe22): undefined reference to `tputs' io.c:(.text+0xe6a): undefined reference to `tputs' io.o: In function `clear_screen': io.c:(.text+0x1098): undefined reference to `tputs' io.o: In function `clear_eol': io.c:(.text+0x10bd): undefined reference to `tputs' io.o: In function `erase_chars': io.c:(.text+0x10e2): undefined reference to `tgoto' io.c:(.text+0x10f2): undefined reference to `tputs' io.o: In function `scroll_forward': io.c:(.text+0x1123): undefined reference to `tgoto' io.c:(.text+0x1132): undefined reference to `tputs' io.c:(.text+0x1148): undefined reference to `tputs' io.o: In function `set_cursor': io.c:(.text+0x116f): undefined reference to `tgoto' io.c:(.text+0x117f): undefined reference to `tputs' io.o: In function `scroll_reverse': io.c:(.text+0x11c1): undefined reference to `tputs' io.o: In function `add_line': io.c:(.text+0x11f9): undefined reference to `tgoto' io.c:(.text+0x1208): undefined reference to `tputs' io.c:(.text+0x1233): undefined reference to `tputs' io.c:(.text+0x1252): undefined reference to `tgoto' io.c:(.text+0x1261): undefined reference to `tputs' io.c:(.text+0x1274): undefined reference to `tputs' io.c:(.text+0x128b): undefined reference to `tputs' io.c:(.text+0x12a6): undefined reference to `tgoto' io.c:(.text+0x12b5): undefined reference to `tputs' io.c:(.text+0x12cc): undefined reference to `tputs' io.o: In function `delete_line': io.c:(.text+0x12f9): undefined reference to `tgoto' io.c:(.text+0x1308): undefined reference to `tputs' io.c:(.text+0x1333): undefined reference to `tputs' io.c:(.text+0x1352): undefined reference to `tgoto' io.c:(.text+0x1361): undefined reference to `tputs' io.c:(.text+0x1384): undefined reference to `tgoto' io.c:(.text+0x1393): undefined reference to `tputs' io.c:(.text+0x13a8): undefined reference to `tputs' io.c:(.text+0x13c3): undefined reference to `tgoto' io.c:(.text+0x13d2): undefined reference to `tputs' io.c:(.text+0x13e9): undefined reference to `tputs' io.o: In function `reverse_on': io.c:(.text+0x1404): undefined reference to `tputs' io.o: In function `reverse_off': io.c:(.text+0x1424): undefined reference to `tputs' io.o: In function `altcset_on': io.c:(.text+0x1456): undefined reference to `tputs' io.o:io.c:(.text+0x1486): more undefined references to `tputs' follow io.o: In function `get_term': io.c:(.text+0x1d28): undefined reference to `tgetent' io.c:(.text+0x1d3b): undefined reference to `tgetnum' io.c:(.text+0x1d57): undefined reference to `tgetnum' io.c:(.text+0x1e6f): undefined reference to `tgetstr' io.c:(.text+0x1e85): undefined reference to `tgetstr' io.c:(.text+0x1e9b): undefined reference to `tgetstr' io.c:(.text+0x1eb1): undefined reference to `tgetstr' io.c:(.text+0x1ec7): undefined reference to `tgetstr' io.o:io.c:(.text+0x1eee): more undefined references to `tgetstr' follow io.o: In function `get_term': io.c:(.text+0x210f): undefined reference to `tgetflag' io.c:(.text+0x2124): undefined reference to `tgetstr' io.c:(.text+0x213a): undefined reference to `tgetstr' io.c:(.text+0x2150): undefined reference to `tgetstr' io.c:(.text+0x2166): undefined reference to `tgetstr' io.c:(.text+0x2177): undefined reference to `tgetnum' io.c:(.text+0x21ac): undefined reference to `tgetstr' io.c:(.text+0x2215): undefined reference to `tgetstr' io.c:(.text+0x2277): undefined reference to `tgetstr' io.c:(.text+0x22d9): undefined reference to `tgetstr' io.c:(.text+0x2341): undefined reference to `tgetstr' io.o:io.c:(.text+0x23a3): more undefined references to `tgetstr' follow io.o: In function `get_term': io.c:(.text+0x48e6): undefined reference to `tputs' io.o: In function `bold_on': io.c:(.text+0x4daf): undefined reference to `tputs' io.o: In function `mark_on': io.c:(.text+0x4ec5): undefined reference to `tputs' io.o: In function `mark_off': io.c:(.text+0x5021): undefined reference to `tputs' io.o: In function `bold_off': io.c:(.text+0x50cf): undefined reference to `tputs' io.o:io.c:(.text+0x5171): more undefined references to `tputs' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) mkinclud.mak:463: recipe for target 'mined' failed gmake[1]: *** [mined] Error 1 rm charmaps/cjk-cns.c charmaps/cjk-johb.c charmaps/cjk-gb.c charmaps/cjk-sjis.c charmaps/cjk-ejis.c charmaps/cjk-uhc.c charmaps/cjk-big5.c gmake[1]: Leaving directory '/var/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