=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/edt-o3one", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for edt-o3one-20161222nb1 --- chrutils.o --- --- ch_screen_vt100.o --- --- chrutils.o --- cc -g -O2 -c chrutils.c --- ch_screen_vt100.o --- cc -g -O2 -c ch_screen_vt100.c --- cmd_change.o --- cc -g -O2 -c cmd_change.c cmd_change.c:347:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 347 | 1, "w", KW_FLAG_ISENTITY, skip_word, | ^~~~~~~~~ cmd_change.c:347:53: note: (near initialization for 'kwtabl[0].entry') cmd_change.c:102:12: note: 'skip_word' declared here 102 | static int skip_word (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:348:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 348 | 1, "v", KW_FLAG_ISENTITY, skip_vert, | ^~~~~~~~~ cmd_change.c:348:53: note: (near initialization for 'kwtabl[1].entry') cmd_change.c:105:12: note: 'skip_vert' declared here 105 | static int skip_vert (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:349:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 349 | 3, "und", KW_FLAG_NEEDSENT, ch_cmd_und, | ^~~~~~~~~~ cmd_change.c:349:53: note: (near initialization for 'kwtabl[2].entry') cmd_change.c:97:12: note: 'ch_cmd_und' declared here 97 | static int ch_cmd_und (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:350:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 350 | 3, "ref", 0, ch_cmd_ref, | ^~~~~~~~~~ cmd_change.c:350:53: note: (near initialization for 'kwtabl[3].entry') cmd_change.c:93:12: note: 'ch_cmd_ref' declared here 93 | static int ch_cmd_ref (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:351:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 351 | 1, "r", KW_FLAG_ISENTITY, skip_buff, | ^~~~~~~~~ cmd_change.c:351:53: note: (near initialization for 'kwtabl[4].entry') cmd_change.c:112:12: note: 'skip_buff' declared here 112 | static int skip_buff (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:352:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 352 | 2, "sr", KW_FLAG_ISENTITY, skip_sel, | ^~~~~~~~ cmd_change.c:352:53: note: (near initialization for 'kwtabl[5].entry') cmd_change.c:111:12: note: 'skip_sel' declared here 111 | static int skip_sel (int erpt, Position *pos, const char **s_r); | ^~~~~~~~ cmd_change.c:353:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 353 | 3, "shl", 0, ch_cmd_shl, | ^~~~~~~~~~ cmd_change.c:353:53: note: (near initialization for 'kwtabl[6].entry') cmd_change.c:95:12: note: 'ch_cmd_shl' declared here 95 | static int ch_cmd_shl (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:354:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 354 | 3, "shr", 0, ch_cmd_shr, | ^~~~~~~~~~ cmd_change.c:354:53: note: (near initialization for 'kwtabl[7].entry') cmd_change.c:96:12: note: 'ch_cmd_shr' declared here 96 | static int ch_cmd_shr (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:355:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 355 | 3, "sel", 0, ch_cmd_sel, | ^~~~~~~~~~ cmd_change.c:355:53: note: (near initialization for 'kwtabl[8].entry') cmd_change.c:94:12: note: 'ch_cmd_sel' declared here 94 | static int ch_cmd_sel (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:356:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 356 | 5, "paste", 0, ch_cmd_paste, | ^~~~~~~~~~~~ cmd_change.c:356:53: note: (near initialization for 'kwtabl[9].entry') cmd_change.c:92:12: note: 'ch_cmd_paste' declared here 92 | static int ch_cmd_paste (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~~ cmd_change.c:357:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 357 | 4, "page", KW_FLAG_ISENTITY, skip_page, | ^~~~~~~~~ cmd_change.c:357:53: note: (near initialization for 'kwtabl[10].entry') cmd_change.c:106:12: note: 'skip_page' declared here 106 | static int skip_page (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:358:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 358 | 1, "l", KW_FLAG_ISENTITY, skip_begl, | ^~~~~~~~~ cmd_change.c:358:53: note: (near initialization for 'kwtabl[11].entry') cmd_change.c:103:12: note: 'skip_begl' declared here 103 | static int skip_begl (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:359:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 359 | 1, "i", 0, ch_cmd_i, | ^~~~~~~~ cmd_change.c:359:53: note: (near initialization for 'kwtabl[12].entry') cmd_change.c:90:12: note: 'ch_cmd_i' declared here 90 | static int ch_cmd_i (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~ cmd_change.c:360:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 360 | 4, "help", 0, ch_cmd_help, | ^~~~~~~~~~~ cmd_change.c:360:53: note: (near initialization for 'kwtabl[13].entry') cmd_change.c:89:12: note: 'ch_cmd_help' declared here 89 | static int ch_cmd_help (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~ cmd_change.c:361:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 361 | 2, "fs", KW_FLAG_ISENTITY, skip_found, | ^~~~~~~~~~ cmd_change.c:361:53: note: (near initialization for 'kwtabl[14].entry') cmd_change.c:110:12: note: 'skip_found' declared here 110 | static int skip_found (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~~ cmd_change.c:362:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 362 | 3, "ext", 0, ch_cmd_ext, | ^~~~~~~~~~ cmd_change.c:362:53: note: (near initialization for 'kwtabl[15].entry') cmd_change.c:87:12: note: 'ch_cmd_ext' declared here 87 | static int ch_cmd_ext (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:363:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 363 | 2, "ex", 0, ch_cmd_ex, | ^~~~~~~~~ cmd_change.c:363:53: note: (near initialization for 'kwtabl[16].entry') cmd_change.c:88:12: note: 'ch_cmd_ex' declared here 88 | static int ch_cmd_ex (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~ cmd_change.c:364:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 364 | 2, "el", KW_FLAG_ISENTITY, skip_endl, | ^~~~~~~~~ cmd_change.c:364:53: note: (near initialization for 'kwtabl[17].entry') cmd_change.c:104:12: note: 'skip_endl' declared here 104 | static int skip_endl (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:365:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 365 | 5, "desel", 0, ch_cmd_desel, | ^~~~~~~~~~~~ cmd_change.c:365:53: note: (near initialization for 'kwtabl[18].entry') cmd_change.c:86:12: note: 'ch_cmd_desel' declared here 86 | static int ch_cmd_desel (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~~ cmd_change.c:366:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 366 | 4, "defk", 0, ch_cmd_defk, | ^~~~~~~~~~~ cmd_change.c:366:53: note: (near initialization for 'kwtabl[19].entry') cmd_change.c:85:12: note: 'ch_cmd_defk' declared here 85 | static int ch_cmd_defk (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~ cmd_change.c:367:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 367 | 1, "d", KW_FLAG_NEEDSENT, ch_cmd_d, | ^~~~~~~~ cmd_change.c:367:53: note: (near initialization for 'kwtabl[20].entry') cmd_change.c:84:12: note: 'ch_cmd_d' declared here 84 | static int ch_cmd_d (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~ cmd_change.c:368:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 368 | 3, "cut", KW_FLAG_NEEDSENT, ch_cmd_cut, | ^~~~~~~~~~ cmd_change.c:368:53: note: (near initialization for 'kwtabl[21].entry') cmd_change.c:83:12: note: 'ch_cmd_cut' declared here 83 | static int ch_cmd_cut (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:369:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 369 | 4, "clss", 0, ch_cmd_clss, | ^~~~~~~~~~~ cmd_change.c:369:53: note: (near initialization for 'kwtabl[22].entry') cmd_change.c:82:12: note: 'ch_cmd_clss' declared here 82 | static int ch_cmd_clss (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~ cmd_change.c:370:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 370 | 6, "chgcsr", 0, ch_cmd_chgcsr, | ^~~~~~~~~~~~~ cmd_change.c:370:53: note: (near initialization for 'kwtabl[23].entry') cmd_change.c:79:12: note: 'ch_cmd_chgcsr' declared here 79 | static int ch_cmd_chgcsr (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~~~ cmd_change.c:371:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 371 | 4, "chgc", KW_FLAG_NEEDSENT, ch_cmd_chgc, | ^~~~~~~~~~~ cmd_change.c:371:53: note: (near initialization for 'kwtabl[24].entry') cmd_change.c:80:12: note: 'ch_cmd_chgc' declared here 80 | static int ch_cmd_chgc (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~ cmd_change.c:372:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 372 | 1, "c", KW_FLAG_ISENTITY, skip_char, | ^~~~~~~~~ cmd_change.c:372:53: note: (near initialization for 'kwtabl[25].entry') cmd_change.c:101:12: note: 'skip_char' declared here 101 | static int skip_char (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:373:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 373 | 4, "back", 0, ch_cmd_back, | ^~~~~~~~~~~ cmd_change.c:373:53: note: (near initialization for 'kwtabl[26].entry') cmd_change.c:78:12: note: 'ch_cmd_back' declared here 78 | static int ch_cmd_back (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~ cmd_change.c:374:54: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 374 | 6, "append", KW_FLAG_NEEDSENT, ch_cmd_append, | ^~~~~~~~~~~~~ cmd_change.c:374:54: note: (near initialization for 'kwtabl[27].entry') cmd_change.c:76:12: note: 'ch_cmd_append' declared here 76 | static int ch_cmd_append (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~~~ cmd_change.c:375:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 375 | 3, "asc", 0, ch_cmd_asc, | ^~~~~~~~~~ cmd_change.c:375:53: note: (near initialization for 'kwtabl[28].entry') cmd_change.c:77:12: note: 'ch_cmd_asc' declared here 77 | static int ch_cmd_asc (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:376:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 376 | 3, "adv", 0, ch_cmd_adv, | ^~~~~~~~~~ cmd_change.c:376:53: note: (near initialization for 'kwtabl[29].entry') cmd_change.c:75:12: note: 'ch_cmd_adv' declared here 75 | static int ch_cmd_adv (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c:377:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 377 | 1, "?", KW_FLAG_ISENTITY, skip_find_prompt, | ^~~~~~~~~~~~~~~~ cmd_change.c:377:53: note: (near initialization for 'kwtabl[30].entry') cmd_change.c:107:12: note: 'skip_find_prompt' declared here 107 | static int skip_find_prompt (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~~~~~~~~ cmd_change.c:378:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 378 | 1, "\"", KW_FLAG_ISENTITY, skip_find, | ^~~~~~~~~ cmd_change.c:378:53: note: (near initialization for 'kwtabl[31].entry') cmd_change.c:109:12: note: 'skip_find' declared here 109 | static int skip_find (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:379:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, Position *, const char **)' [-Wincompatible-pointer-types] 379 | 1, "'", KW_FLAG_ISENTITY, skip_find, | ^~~~~~~~~ cmd_change.c:379:53: note: (near initialization for 'kwtabl[32].entry') cmd_change.c:109:12: note: 'skip_find' declared here 109 | static int skip_find (int erpt, Position *pos, const char **s_r); | ^~~~~~~~~ cmd_change.c:380:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 380 | 1, "(", 0, ch_cmd_repeat, | ^~~~~~~~~~~~~ cmd_change.c:380:53: note: (near initialization for 'kwtabl[33].entry') cmd_change.c:98:12: note: 'ch_cmd_repeat' declared here 98 | static int ch_cmd_repeat (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~~~ cmd_change.c:381:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 381 | 1, "=", 0, ch_cmd_buffer, | ^~~~~~~~~~~~~ cmd_change.c:381:53: note: (near initialization for 'kwtabl[34].entry') cmd_change.c:99:12: note: 'ch_cmd_buffer' declared here 99 | static int ch_cmd_buffer (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~~~~ cmd_change.c:382:53: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(int, int, int, const char **)' [-Wincompatible-pointer-types] 382 | 1, ".", 0, ch_cmd_nop, | ^~~~~~~~~~ cmd_change.c:382:53: note: (near initialization for 'kwtabl[35].entry') cmd_change.c:91:12: note: 'ch_cmd_nop' declared here 91 | static int ch_cmd_nop (int crpt, int cidx, int eidx, const char **s_r); | ^~~~~~~~~~ cmd_change.c: In function 'ch_process': cmd_change.c:417:11: error: too many arguments to function '(int (*)(void))kwtabl[i].entry'; expected 0, have 4 417 | if (!(*(kwtabl[i].entry)) (n, i, j, &s)) return (0); /* execute command, stop if error */ | ~^~~~~~~~~~~~~~~~~~~ ~ cmd_change.c: In function 'ch_cmd_append': cmd_change.c:526:9: error: too many arguments to function '(int (*)(void))kwtabl[eidx].entry'; expected 0, have 3 526 | rc = (*(kwtabl[eidx].entry)) (crpt, &epos, s_r); /* move end position to entity */ | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~ cmd_change.c: In function 'ch_cmd_chgc': cmd_change.c:612:9: error: too many arguments to function '(int (*)(void))kwtabl[eidx].entry'; expected 0, have 3 612 | if (!(*(kwtabl[eidx].entry)) (crpt, &epos, s_r)) return (0); /* move end position to entity */ | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~ cmd_change.c: In function 'ch_cmd_cut': cmd_change.c:684:9: error: too many arguments to function '(int (*)(void))kwtabl[eidx].entry'; expected 0, have 3 684 | rc = (*(kwtabl[eidx].entry)) (crpt, &epos, s_r); /* move end position to entity */ | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~ cmd_change.c: In function 'ch_cmd_d': cmd_change.c:711:9: error: too many arguments to function '(int (*)(void))kwtabl[eidx].entry'; expected 0, have 3 711 | if (!(*(kwtabl[eidx].entry)) (crpt, &epos, s_r)) return (0); /* move end position to entity */ | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~ cmd_change.c: In function 'ch_cmd_move': cmd_change.c:1196:9: error: too many arguments to function '(int (*)(void))kwtabl[eidx].entry'; expected 0, have 3 1196 | if (!(*(kwtabl[eidx].entry)) (erpt, &pos, s_r)) return (0); /* get position of specified entity */ | ~^~~~~~~~~~~~~~~~~~~~~~ ~~~~ cmd_change.c:1198:26: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 1198 | if (kwtabl[eidx].entry == skip_page) { /* see if just skipped to page marker */ | ^~ cmd_change.c: In function 'matchstr': cmd_change.c:2244:10: error: too many arguments to function 'xstrncmp'; expected 0, have 3 2244 | if ((*xstrncmp) (linebf, searchstr + i, j) != 0) return (0); /* stop if doesn't match */ | ~^~~~~~~~~~ ~~~~~~ *** [cmd_change.o] Error code 1 bmake: stopped making "edt" in /home/pbulk/work/editors/edt-o3one/work/edtdist_20161222 bmake: 1 error bmake: stopped making "edt" in /home/pbulk/work/editors/edt-o3one/work/edtdist_20161222 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/edt-o3one *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/edt-o3one