=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jupp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for jupp-3.1.41 --- all --- /opt/pkg/bin/bmake all-am --- b.o --- --- blocks.o --- --- builtin.o --- --- builtins.o --- --- bw.o --- --- b.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c b.c --- blocks.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c blocks.c --- builtin.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c builtin.c --- builtins.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c builtins.c --- bw.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c bw.c --- charmap.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c charmap.c --- cmd.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -DJOERC="\"/opt/pkg/share/examples/joe/\"" -I/opt/pkg/include/ncurses -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -c cmd.c cmd.c: In function 'ukeymap': cmd.c:88:13: error: passing argument 4 of 'wmkpw' from incompatible pointer type [-Wincompatible-pointer-types] 88 | do_keymap, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} In file included from cmd.c:28: pw.h:19:70: note: expected 'int (*)(void)' but argument is of type 'int (*)(BW *, unsigned char *, void *, int *)' {aka 'int (*)(struct bw *, unsigned char *, void *, int *)'} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ cmd.c:64:12: note: 'do_keymap' declared here 64 | static int do_keymap(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~~~~~ cmd.c:88:36: error: passing argument 7 of 'wmkpw' from incompatible pointer type [-Wincompatible-pointer-types] 88 | do_keymap, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected 'int (*)(void)' but argument is of type 'int (*)(jobject, int)' 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ In file included from cmd.c:33: uedit.h:54:5: note: 'utypebw' declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ cmd.c: At top level: cmd.c:112:52: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 112 | C("abendjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabendjoe, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:112:52: note: (near initialization for 'cmds[0].func') 112 | C("abendjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabendjoe, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:35: ufile.h:36:5: note: 'uabendjoe' declared here 36 | int uabendjoe(BW *bw); | ^~~~~~~~~ cmd.c:113:49: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 113 | C("abort", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabort, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:113:49: note: (near initialization for 'cmds[1].func') 113 | C("abort", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uabort, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:31: tw.h:23:5: note: 'uabort' declared here 23 | int uabort(BW *bw, int k); | ^~~~~~ cmd.c:114:23: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 114 | C("abortbuf", TYPETW, uabortbuf, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:114:23: note: (near initialization for 'cmds[2].func') 114 | C("abortbuf", TYPETW, uabortbuf, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:21:5: note: 'uabortbuf' declared here 21 | int uabortbuf(BW *bw); | ^~~~~~~~~ cmd.c:115:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 115 | C("arg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uarg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:115:47: note: (near initialization for 'cmds[3].func') 115 | C("arg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uarg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:23: macro.h:45:5: note: 'uarg' declared here 45 | int uarg(BW *bw); | ^~~~ cmd.c:116:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 116 | C("ask", TYPETW + TYPEPW, uask, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:116:27: note: (near initialization for 'cmds[4].func') 116 | C("ask", TYPETW + TYPEPW, uask, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:29:5: note: 'uask' declared here 29 | int uask(BW *bw); | ^~~~ cmd.c:117:75: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 117 | C("backs", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, ubacks, NULL, 1, "delch"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:117:75: note: (near initialization for 'cmds[5].func') 117 | C("backs", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, ubacks, NULL, 1, "delch"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:47:5: note: 'ubacks' declared here 47 | int ubacks(BW *bw, int k); | ^~~~~~ cmd.c:118:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 118 | C("backsmenu", TYPEMENU, umbacks, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:118:26: note: (near initialization for 'cmds[6].func') 118 | C("backsmenu", TYPEMENU, umbacks, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:25: menu.h:31:5: note: 'umbacks' declared here 31 | int umbacks(MENU *m); | ^~~~~~~ cmd.c:119:66: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 119 | C("backw", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EKILL + EMOD, ubackw, NULL, 1, "delw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:119:66: note: (near initialization for 'cmds[7].func') 119 | C("backw", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EKILL + EMOD, ubackw, NULL, 1, "delw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:49:5: note: 'ubackw' declared here 49 | int ubackw(BW *bw); | ^~~~~~ cmd.c:121:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 121 | C("begin_marking", TYPETW + TYPEPW, ubegin_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:121:37: note: (near initialization for 'cmds[9].func') 121 | C("begin_marking", TYPETW + TYPEPW, ubegin_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:32: ublock.h:45:5: note: 'ubegin_marking' declared here 45 | int ubegin_marking(BW *bw); | ^~~~~~~~~~~~~~ cmd.c:122:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 122 | C("bknd", TYPETW + TYPEPW, ubknd, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:122:28: note: (near initialization for 'cmds[10].func') 122 | C("bknd", TYPETW + TYPEPW, ubknd, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:41: ushell.h:14:5: note: 'ubknd' declared here 14 | int ubknd(BW *bw); | ^~~~~ cmd.c:123:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 123 | C("bkwdc", TYPETW + TYPEPW, ubkwdc, NULL, 1, "fwrdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:123:29: note: (near initialization for 'cmds[11].func') 123 | C("bkwdc", TYPETW + TYPEPW, ubkwdc, NULL, 1, "fwrdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:63:5: note: 'ubkwdc' declared here 63 | int ubkwdc(BW *bw, int k); | ^~~~~~ cmd.c:124:57: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 124 | C("blkcpy", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkcpy, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:124:57: note: (near initialization for 'cmds[12].func') 124 | C("blkcpy", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkcpy, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:35:5: note: 'ublkcpy' declared here 35 | int ublkcpy(BW *bw); | ^~~~~~~ cmd.c:125:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 125 | C("blkdel", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD + EBLOCK, ublkdel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:125:65: note: (near initialization for 'cmds[13].func') 125 | C("blkdel", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD + EBLOCK, ublkdel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:32:5: note: 'ublkdel' declared here 32 | int ublkdel(BW *bw); | ^~~~~~~ cmd.c:126:58: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 126 | C("blkmove", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkmove, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:126:58: note: (near initialization for 'cmds[14].func') 126 | C("blkmove", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ublkmove, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:34:5: note: 'ublkmove' declared here 34 | int ublkmove(BW *bw); | ^~~~~~~~ cmd.c:127:40: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 127 | C("blksave", TYPETW + TYPEPW + EBLOCK, ublksave, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:127:40: note: (near initialization for 'cmds[15].func') 127 | C("blksave", TYPETW + TYPEPW + EBLOCK, ublksave, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:19:5: note: 'ublksave' declared here 19 | int ublksave(BW *bw); | ^~~~~~~~ cmd.c:128:46: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 128 | C("bof", TYPETW + TYPEPW + EMOVE + EFIXXCOL, u_goto_bof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:128:46: note: (near initialization for 'cmds[16].func') 128 | C("bof", TYPETW + TYPEPW + EMOVE + EFIXXCOL, u_goto_bof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:24:5: note: 'u_goto_bof' declared here 24 | int u_goto_bof(BW *bw); /* move cursor to beginning of file */ | ^~~~~~~~~~ cmd.c:129:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 129 | C("bofmenu", TYPEMENU, umbof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:129:24: note: (near initialization for 'cmds[17].func') 129 | C("bofmenu", TYPEMENU, umbof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:27:5: note: 'umbof' declared here 27 | int umbof(MENU *m); | ^~~~~ cmd.c:130:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 130 | C("bol", TYPETW + TYPEPW + EFIXXCOL, u_goto_bol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:130:38: note: (near initialization for 'cmds[18].func') 130 | C("bol", TYPETW + TYPEPW + EFIXXCOL, u_goto_bol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:22:5: note: 'u_goto_bol' declared here 22 | int u_goto_bol(BW *bw); /* move cursor to beginning of line */ | ^~~~~~~~~~ cmd.c:131:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 131 | C("bolmenu", TYPEMENU, umbol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:131:24: note: (near initialization for 'cmds[19].func') 131 | C("bolmenu", TYPEMENU, umbol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:29:5: note: 'umbol' declared here 29 | int umbol(MENU *m); | ^~~~~ cmd.c:132:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 132 | C("bop", TYPETW + TYPEPW + EFIXXCOL, ubop, NULL, 1, "eop"), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:132:38: note: (near initialization for 'cmds[20].func') 132 | C("bop", TYPETW + TYPEPW + EFIXXCOL, ubop, NULL, 1, "eop"), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:36: uformat.h:18:5: note: 'ubop' declared here 18 | int ubop(BW *bw); | ^~~~ cmd.c:133:35: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 133 | C("bos", TYPETW + TYPEPW + EMOVE, ubos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:133:35: note: (near initialization for 'cmds[21].func') 133 | C("bos", TYPETW + TYPEPW + EMOVE, ubos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:38:5: note: 'ubos' declared here 38 | int ubos(BW *bw); | ^~~~ cmd.c:134:20: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 134 | C("bufed", TYPETW, ubufed, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:134:20: note: (near initialization for 'cmds[22].func') 134 | C("bufed", TYPETW, ubufed, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:30:5: note: 'ubufed' declared here 30 | int ubufed(BW *bw); | ^~~~~~ cmd.c:135:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 135 | C("build", TYPETW + TYPEPW, ubuild, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:135:29: note: (near initialization for 'cmds[23].func') 135 | C("build", TYPETW + TYPEPW, ubuild, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ushell.h:17:5: note: 'ubuild' declared here 17 | int ubuild(BW *bw); | ^~~~~~ cmd.c:136:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 136 | C("byte", TYPETW + TYPEPW, ubyte, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:136:28: note: (near initialization for 'cmds[24].func') 136 | C("byte", TYPETW + TYPEPW, ubyte, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:68:5: note: 'ubyte' declared here 68 | int ubyte(BW *bw); | ^~~~~ cmd.c:137:50: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 137 | C("cancel", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ucancel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:137:50: note: (near initialization for 'cmds[25].func') 137 | C("cancel", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ucancel, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:22:5: note: 'ucancel' declared here 22 | int ucancel(BW *bw, int k); | ^~~~~~~ cmd.c:138:48: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 138 | C("center", TYPETW + TYPEPW + EFIXXCOL + EMOD, ucenter, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:138:48: note: (near initialization for 'cmds[26].func') 138 | C("center", TYPETW + TYPEPW + EFIXXCOL + EMOD, ucenter, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:15:5: note: 'ucenter' declared here 15 | int ucenter(BW *bw); | ^~~~~~~ cmd.c:139:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 139 | C("col", TYPETW + TYPEPW, ucol, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:139:27: note: (near initialization for 'cmds[27].func') 139 | C("col", TYPETW + TYPEPW, ucol, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:69:5: note: 'ucol' declared here 69 | int ucol(BW *bw); | ^~~~ cmd.c:140:39: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 140 | C("complete", TYPEPW + EMINOR + EMOD, ucmplt, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:140:39: note: (near initialization for 'cmds[28].func') 140 | C("complete", TYPEPW + EMINOR + EMOD, ucmplt, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ pw.h:21:5: note: 'ucmplt' declared here 21 | int ucmplt(BW *bw, int k); | ^~~~~~ cmd.c:141:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 141 | C("copy", TYPETW + TYPEPW, ucopy, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:141:28: note: (near initialization for 'cmds[29].func') 141 | C("copy", TYPETW + TYPEPW, ucopy, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:39: undo.h:30:5: note: 'ucopy' declared here 30 | int ucopy(BW *bw); | ^~~~~ cmd.c:142:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 142 | C("crawll", TYPETW + TYPEPW, ucrawll, NULL, 1, "crawlr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:142:30: note: (near initialization for 'cmds[30].func') 142 | C("crawll", TYPETW + TYPEPW, ucrawll, NULL, 1, "crawlr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:18: bw.h:28:5: note: 'ucrawll' declared here 28 | int ucrawll(BW *bw); | ^~~~~~~ cmd.c:143:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 143 | C("crawlr", TYPETW + TYPEPW, ucrawlr, NULL, 1, "crawll"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:143:30: note: (near initialization for 'cmds[31].func') 143 | C("crawlr", TYPETW + TYPEPW, ucrawlr, NULL, 1, "crawll"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ bw.h:29:5: note: 'ucrawlr' declared here 29 | int ucrawlr(BW *bw); | ^~~~~~~ cmd.c:144:35: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 144 | C("ctrl", TYPETW + TYPEPW + EMOD, uctrl, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:144:35: note: (near initialization for 'cmds[32].func') 144 | C("ctrl", TYPETW + TYPEPW + EMOD, uctrl, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:65:5: note: 'uctrl' declared here 65 | int uctrl(BW *bw); | ^~~~~ cmd.c:145:56: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 145 | C("delbol", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelbl, NULL, 1, "deleol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:145:56: note: (near initialization for 'cmds[33].func') 145 | C("delbol", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelbl, NULL, 1, "deleol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:51:5: note: 'udelbl' declared here 51 | int udelbl(BW *bw); | ^~~~~~ cmd.c:146:75: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 146 | C("delch", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, udelch, NULL, 1, "backs"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:146:75: note: (near initialization for 'cmds[34].func') 146 | C("delch", TYPETW + TYPEPW + ECHKXCOL + EFIXXCOL + EMINOR + EKILL + EMOD, udelch, NULL, 1, "backs"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:46:5: note: 'udelch' declared here 46 | int udelch(BW *bw); | ^~~~~~ cmd.c:147:45: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 147 | C("deleol", TYPETW + TYPEPW + EKILL + EMOD, udelel, NULL, 1, "delbol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:147:45: note: (near initialization for 'cmds[35].func') 147 | C("deleol", TYPETW + TYPEPW + EKILL + EMOD, udelel, NULL, 1, "delbol"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:50:5: note: 'udelel' declared here 50 | int udelel(BW *bw); | ^~~~~~ cmd.c:148:56: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 148 | C("dellin", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelln, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:148:56: note: (near initialization for 'cmds[36].func') 148 | C("dellin", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, udelln, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:52:5: note: 'udelln' declared here 52 | int udelln(BW *bw); | ^~~~~~ cmd.c:149:65: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 149 | C("delw", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL + EKILL + EMOD, u_word_delete, NULL, 1, "backw"), | ^~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:149:65: note: (near initialization for 'cmds[37].func') 149 | C("delw", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL + EKILL + EMOD, u_word_delete, NULL, 1, "backw"), | ^~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:48:5: note: 'u_word_delete' declared here 48 | int u_word_delete(BW *bw); | ^~~~~~~~~~~~~ cmd.c:150:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 150 | C("dnarw", TYPETW + TYPEPW + EMOVE, udnarw, NULL, 1, "uparw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:150:37: note: (near initialization for 'cmds[38].func') 150 | C("dnarw", TYPETW + TYPEPW + EMOVE, udnarw, NULL, 1, "uparw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:36:5: note: 'udnarw' declared here 36 | int udnarw(BW *bw); | ^~~~~~ cmd.c:151:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 151 | C("dnarwmenu", TYPEMENU, umdnarw, NULL, 1, "uparwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:151:26: note: (near initialization for 'cmds[39].func') 151 | C("dnarwmenu", TYPEMENU, umdnarw, NULL, 1, "uparwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:21:5: note: 'umdnarw' declared here 21 | int umdnarw(MENU *m); | ^~~~~~~ cmd.c:152:59: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 152 | C("dnslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, udnslide, NULL, 1, "upslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:152:59: note: (near initialization for 'cmds[40].func') 152 | C("dnslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, udnslide, NULL, 1, "upslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:44:5: note: 'udnslide' declared here 44 | int udnslide(BW *bw); | ^~~~~~~~ cmd.c:153:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 153 | C("drop", TYPETW + TYPEPW, udrop, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:153:28: note: (near initialization for 'cmds[41].func') 153 | C("drop", TYPETW + TYPEPW, udrop, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:43:5: note: 'udrop' declared here 43 | int udrop(BW *bw); | ^~~~~ cmd.c:154:19: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 154 | C("dupw", TYPETW, uduptw, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:154:19: note: (near initialization for 'cmds[42].func') 154 | C("dupw", TYPETW, uduptw, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:18:5: note: 'uduptw' declared here 18 | int uduptw(BW *bw); | ^~~~~~ cmd.c:155:19: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 155 | C("edit", TYPETW, uedit, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:155:19: note: (near initialization for 'cmds[43].func') 155 | C("edit", TYPETW, uedit, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:22:5: note: 'uedit' declared here 22 | int uedit(BW *bw); | ^~~~~ cmd.c:156:46: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 156 | C("eof", TYPETW + TYPEPW + EFIXXCOL + EMOVE, u_goto_eof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:156:46: note: (near initialization for 'cmds[44].func') 156 | C("eof", TYPETW + TYPEPW + EFIXXCOL + EMOVE, u_goto_eof, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:25:5: note: 'u_goto_eof' declared here 25 | int u_goto_eof(BW *bw); /* move cursor to end of file */ | ^~~~~~~~~~ cmd.c:157:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 157 | C("eofmenu", TYPEMENU, umeof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:157:24: note: (near initialization for 'cmds[45].func') 157 | C("eofmenu", TYPEMENU, umeof, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:28:5: note: 'umeof' declared here 28 | int umeof(MENU *m); | ^~~~~ cmd.c:158:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 158 | C("eol", TYPETW + TYPEPW + EFIXXCOL, u_goto_eol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:158:38: note: (near initialization for 'cmds[46].func') 158 | C("eol", TYPETW + TYPEPW + EFIXXCOL, u_goto_eol, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:23:5: note: 'u_goto_eol' declared here 23 | int u_goto_eol(BW *bw); /* move cursor to end of line */ | ^~~~~~~~~~ cmd.c:159:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 159 | C("eolmenu", TYPEMENU, umeol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:159:24: note: (near initialization for 'cmds[47].func') 159 | C("eolmenu", TYPEMENU, umeol, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:30:5: note: 'umeol' declared here 30 | int umeol(MENU *m); | ^~~~~ cmd.c:160:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 160 | C("eop", TYPETW + TYPEPW + EFIXXCOL, ueop, NULL, 1, "bop"), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:160:38: note: (near initialization for 'cmds[48].func') 160 | C("eop", TYPETW + TYPEPW + EFIXXCOL, ueop, NULL, 1, "bop"), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:19:5: note: 'ueop' declared here 19 | int ueop(BW *bw); | ^~~~ cmd.c:161:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 161 | C("execmd", TYPETW + TYPEPW, uexecmd, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:161:30: note: (near initialization for 'cmds[49].func') 161 | C("execmd", TYPETW + TYPEPW, uexecmd, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:52:5: note: 'uexecmd' declared here 52 | int uexecmd(BW *bw); | ^~~~~~~ cmd.c:162:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 162 | C("explode", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uexpld, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:162:51: note: (near initialization for 'cmds[50].func') 162 | C("explode", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uexpld, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:47: w.h:162:5: note: 'uexpld' declared here 162 | int uexpld(BASE *bw); /* Explode current window or show all windows */ | ^~~~~~ cmd.c:163:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 163 | C("exsave", TYPETW + TYPEPW, uexsve, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:163:30: note: (near initialization for 'cmds[51].func') 163 | C("exsave", TYPETW + TYPEPW, uexsve, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:26:5: note: 'uexsve' declared here 26 | int uexsve(BW *bw); | ^~~~~~ cmd.c:164:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 164 | C("ffirst", TYPETW + TYPEPW, pffirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:164:30: note: (near initialization for 'cmds[52].func') 164 | C("ffirst", TYPETW + TYPEPW, pffirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:40: usearch.h:20:5: note: 'pffirst' declared here 20 | int pffirst(BW *bw); | ^~~~~~~ cmd.c:165:44: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 165 | C("filt", TYPETW + TYPEPW + EMOD + EBLOCK, ufilt, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:165:44: note: (near initialization for 'cmds[53].func') 165 | C("filt", TYPETW + TYPEPW + EMOD + EBLOCK, ufilt, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:41:5: note: 'ufilt' declared here 41 | int ufilt(BW *bw); | ^~~~~ cmd.c:166:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 166 | C("finish", TYPETW + TYPEPW + EMOD, ufinish, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:166:37: note: (near initialization for 'cmds[54].func') 166 | C("finish", TYPETW + TYPEPW + EMOD, ufinish, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:26:5: note: 'ufinish' declared here 26 | int ufinish(BW *bw); | ^~~~~~~ cmd.c:167:59: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 167 | C("fmtblk", TYPETW + EMOD + EFIXXCOL + EBLOCK + ECHK0COL, ufmtblk, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:167:59: note: (near initialization for 'cmds[55].func') 167 | C("fmtblk", TYPETW + EMOD + EFIXXCOL + EBLOCK + ECHK0COL, ufmtblk, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:22:5: note: 'ufmtblk' declared here 22 | int ufmtblk(BW *bw); | ^~~~~~~ cmd.c:168:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 168 | C("fnext", TYPETW + TYPEPW, pfnext, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:168:29: note: (near initialization for 'cmds[56].func') 168 | C("fnext", TYPETW + TYPEPW, pfnext, NULL, 1, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:21:5: note: 'pfnext' declared here 21 | int pfnext(BW *bw); | ^~~~~~ cmd.c:169:59: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 169 | C("format", TYPETW + TYPEPW + EFIXXCOL + EMOD + ECHK0COL, uformat, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:169:59: note: (near initialization for 'cmds[57].func') 169 | C("format", TYPETW + TYPEPW + EFIXXCOL + EMOD + ECHK0COL, uformat, NULL, 1, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uformat.h:21:5: note: 'uformat' declared here 21 | int uformat(BW *bw); | ^~~~~~~ cmd.c:170:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 170 | C("fwrdc", TYPETW + TYPEPW, ufwrdc, NULL, 1, "bkwdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:170:29: note: (near initialization for 'cmds[58].func') 170 | C("fwrdc", TYPETW + TYPEPW, ufwrdc, NULL, 1, "bkwdc"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:62:5: note: 'ufwrdc' declared here 62 | int ufwrdc(BW *bw, int k); | ^~~~~~ cmd.c:171:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 171 | C("gomark", TYPETW + TYPEPW + EMOVE, ugomark, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:171:38: note: (near initialization for 'cmds[59].func') 171 | C("gomark", TYPETW + TYPEPW + EMOVE, ugomark, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:61:5: note: 'ugomark' declared here 61 | int ugomark(BW *bw, int c); | ^~~~~~~ cmd.c:172:20: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 172 | C("groww", TYPETW, ugroww, NULL, 1, "shrinkw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:172:20: note: (near initialization for 'cmds[60].func') 172 | C("groww", TYPETW, ugroww, NULL, 1, "shrinkw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:161:5: note: 'ugroww' declared here 161 | int ugroww(BASE *bw); /* Grow current window */ | ^~~~~~ cmd.c:173:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 173 | C("help", TYPETW + TYPEPW + TYPEQW, u_help, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:173:37: note: (near initialization for 'cmds[61].func') 173 | C("help", TYPETW + TYPEPW + TYPEQW, u_help, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:21: help.h:24:5: note: 'u_help' declared here 24 | int u_help(BASE *base); /* toggle help on/off */ | ^~~~~~ cmd.c:174:41: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 174 | C("helpcard", TYPETW + TYPEPW + TYPEQW, u_helpcard, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:174:41: note: (near initialization for 'cmds[62].func') 174 | C("helpcard", TYPETW + TYPEPW + TYPEQW, u_helpcard, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ help.h:25:5: note: 'u_helpcard' declared here 25 | int u_helpcard(BASE *base); /* enable help at screen */ | ^~~~~~~~~~ cmd.c:175:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 175 | C("hnext", TYPETW + TYPEPW + TYPEQW, u_help_next, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:175:38: note: (near initialization for 'cmds[63].func') 175 | C("hnext", TYPETW + TYPEPW + TYPEQW, u_help_next, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ help.h:26:5: note: 'u_help_next' declared here 26 | int u_help_next(BASE *base); /* goto next help screen */ | ^~~~~~~~~~~ cmd.c:176:39: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 176 | C("home", TYPETW + TYPEPW + EFIXXCOL, uhome, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:176:39: note: (near initialization for 'cmds[64].func') 176 | C("home", TYPETW + TYPEPW + EFIXXCOL, uhome, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:71:5: note: 'uhome' declared here 71 | int uhome(BW *bw); | ^~~~~ cmd.c:177:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 177 | C("hprev", TYPETW + TYPEPW + TYPEQW, u_help_prev, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:177:38: note: (near initialization for 'cmds[65].func') 177 | C("hprev", TYPETW + TYPEPW + TYPEQW, u_help_prev, NULL, 0, NULL), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ help.h:27:5: note: 'u_help_prev' declared here 27 | int u_help_prev(BASE *base); /* goto prev help screen */ | ^~~~~~~~~~~ cmd.c:178:46: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 178 | C("insc", TYPETW + TYPEPW + EFIXXCOL + EMOD, uinsc, NULL, 1, "delch"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:178:46: note: (near initialization for 'cmds[66].func') 178 | C("insc", TYPETW + TYPEPW + EFIXXCOL + EMOD, uinsc, NULL, 1, "delch"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:53:5: note: 'uinsc' declared here 53 | int uinsc(BW *bw); | ^~~~~ cmd.c:179:35: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 179 | C("insf", TYPETW + TYPEPW + EMOD, uinsf, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:179:35: note: (near initialization for 'cmds[67].func') 179 | C("insf", TYPETW + TYPEPW + EMOD, uinsf, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:25:5: note: 'uinsf' declared here 25 | int uinsf(BW *bw); | ^~~~~ cmd.c:180:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 180 | C("isrch", TYPETW + TYPEPW, uisrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:180:29: note: (near initialization for 'cmds[68].func') 180 | C("isrch", TYPETW + TYPEPW, uisrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:37: uisrch.h:15:5: note: 'uisrch' declared here 15 | int uisrch(BW *bw); | ^~~~~~ cmd.c:181:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 181 | C("keymap", TYPETW + TYPEPW, ukeymap, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:181:30: note: (near initialization for 'cmds[69].func') 181 | C("keymap", TYPETW + TYPEPW, ukeymap, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:85:12: note: 'ukeymap' declared here 85 | static int ukeymap(BW *bw) | ^~~~~~~ cmd.c:182:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 182 | C("killjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ukilljoe, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:182:51: note: (near initialization for 'cmds[70].func') 182 | C("killjoe", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ukilljoe, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:35:5: note: 'ukilljoe' declared here 35 | int ukilljoe(BW *bw); | ^~~~~~~~ cmd.c:183:32: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 183 | C("killproc", TYPETW + TYPEPW, ukillpid, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:183:32: note: (near initialization for 'cmds[71].func') 183 | C("killproc", TYPETW + TYPEPW, ukillpid, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ushell.h:15:5: note: 'ukillpid' declared here 15 | int ukillpid(BW *bw); | ^~~~~~~~ cmd.c:184:58: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 184 | C("lindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ulindent, NULL, 1, "rindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:184:58: note: (near initialization for 'cmds[72].func') 184 | C("lindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, ulindent, NULL, 1, "rindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:40:5: note: 'ulindent' declared here 40 | int ulindent(BW *bw); | ^~~~~~~~ cmd.c:185:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 185 | C("line", TYPETW + TYPEPW, uline, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:185:28: note: (near initialization for 'cmds[73].func') 185 | C("line", TYPETW + TYPEPW, uline, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:45:5: note: 'uline' declared here 45 | int uline(BW *bw); | ^~~~~ cmd.c:186:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 186 | C("lose", TYPETW + TYPEPW, ulose, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:186:28: note: (near initialization for 'cmds[74].func') 186 | C("lose", TYPETW + TYPEPW, ulose, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:31:5: note: 'ulose' declared here 31 | int ulose(BW *bw); | ^~~~~ cmd.c:187:45: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 187 | C("lower", TYPETW + TYPEPW + EMOD + EBLOCK, ulower, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:187:45: note: (near initialization for 'cmds[75].func') 187 | C("lower", TYPETW + TYPEPW + EMOD + EBLOCK, ulower, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:49:5: note: 'ulower' declared here 49 | int ulower(BW *bw); | ^~~~~~ cmd.c:188:57: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 188 | C("ltarw", TYPETW + TYPEPW /* + EFIXXCOL + ECHKXCOL */, u_goto_left, NULL, 1, "rtarw"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:188:57: note: (near initialization for 'cmds[76].func') 188 | C("ltarw", TYPETW + TYPEPW /* + EFIXXCOL + ECHKXCOL */, u_goto_left, NULL, 1, "rtarw"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:26:5: note: 'u_goto_left' declared here 26 | int u_goto_left(BW *bw); /* move cursor to left (left arrow) */ | ^~~~~~~~~~~ cmd.c:189:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 189 | C("ltarwmenu", TYPEMENU, umltarw, NULL, 1, "rtarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:189:26: note: (near initialization for 'cmds[77].func') 189 | C("ltarwmenu", TYPEMENU, umltarw, NULL, 1, "rtarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:24:5: note: 'umltarw' declared here 24 | int umltarw(MENU *m); | ^~~~~~~ cmd.c:190:32: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 190 | C("macros", TYPETW + EFIXXCOL, umacros, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:190:32: note: (near initialization for 'cmds[78].func') 190 | C("macros", TYPETW + EFIXXCOL, umacros, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:42:5: note: 'umacros' declared here 42 | int umacros(BW *bw); | ^~~~~~~ cmd.c:191:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 191 | C("markb", TYPETW + TYPEPW, umarkb, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:191:29: note: (near initialization for 'cmds[79].func') 191 | C("markb", TYPETW + TYPEPW, umarkb, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:25:5: note: 'umarkb' declared here 25 | int umarkb(BW *bw); | ^~~~~~ cmd.c:192:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 192 | C("markk", TYPETW + TYPEPW, umarkk, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:192:29: note: (near initialization for 'cmds[80].func') 192 | C("markk", TYPETW + TYPEPW, umarkk, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:26:5: note: 'umarkk' declared here 26 | int umarkk(BW *bw); | ^~~~~~ cmd.c:193:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 193 | C("markl", TYPETW + TYPEPW, umarkl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:193:29: note: (near initialization for 'cmds[81].func') 193 | C("markl", TYPETW + TYPEPW, umarkl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:28:5: note: 'umarkl' declared here 28 | int umarkl(BW *bw); | ^~~~~~ cmd.c:194:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 194 | C("math", TYPETW + TYPEPW, umath, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:194:28: note: (near initialization for 'cmds[82].func') 194 | C("math", TYPETW + TYPEPW, umath, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:38: umath.h:23:5: note: 'umath' declared here 23 | int umath(BW *bw); | ^~~~~ cmd.c:195:31: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 195 | C("mathins", TYPETW + TYPEPW, umathins, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:195:31: note: (near initialization for 'cmds[83].func') 195 | C("mathins", TYPETW + TYPEPW, umathins, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ umath.h:24:5: note: 'umathins' declared here 24 | int umathins(BW *bw); | ^~~~~~~~ cmd.c:196:31: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 196 | C("mathres", TYPETW + TYPEPW, umathres, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:196:31: note: (near initialization for 'cmds[84].func') 196 | C("mathres", TYPETW + TYPEPW, umathres, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ umath.h:25:5: note: 'umathres' declared here 25 | int umathres(BW *bw); | ^~~~~~~~ cmd.c:197:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 197 | C("mode", TYPETW + TYPEPW + TYPEQW, umode, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:197:37: note: (near initialization for 'cmds[85].func') 197 | C("mode", TYPETW + TYPEPW + TYPEQW, umode, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:29: rc.h:34:5: note: 'umode' declared here 34 | int umode(BW *bw); | ^~~~~ cmd.c:198:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 198 | C("msg", TYPETW + TYPEPW + TYPEQW + TYPEMENU, umsg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:198:47: note: (near initialization for 'cmds[86].func') 198 | C("msg", TYPETW + TYPEPW + TYPEQW + TYPEMENU, umsg, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:64:5: note: 'umsg' declared here 64 | int umsg(BASE *b); | ^~~~ cmd.c:199:19: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 199 | C("nbuf", TYPETW, unbuf, NULL, 1, "pbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:199:19: note: (near initialization for 'cmds[87].func') 199 | C("nbuf", TYPETW, unbuf, NULL, 1, "pbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:27:5: note: 'unbuf' declared here 27 | int unbuf(BW *bw); | ^~~~~ cmd.c:200:40: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 200 | C("nedge", TYPETW + TYPEPW + EFIXXCOL, unedge, NULL, 1, "pedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:200:40: note: (near initialization for 'cmds[88].func') 200 | C("nedge", TYPETW + TYPEPW + EFIXXCOL, unedge, NULL, 1, "pedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:66:5: note: 'unedge' declared here 66 | int unedge(BW *bw); | ^~~~~~ cmd.c:201:56: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 201 | C("nextpos", TYPETW + TYPEPW + EFIXXCOL + EMID + EPOS, unextpos, NULL, 1, "prevpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:201:56: note: (near initialization for 'cmds[89].func') 201 | C("nextpos", TYPETW + TYPEPW + EFIXXCOL + EMID + EPOS, unextpos, NULL, 1, "prevpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:27: poshist.h:19:5: note: 'unextpos' declared here 19 | int unextpos(BW *bw); | ^~~~~~~~ cmd.c:202:49: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 202 | C("nextw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, unextw, NULL, 1, "prevw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:202:49: note: (near initialization for 'cmds[90].func') 202 | C("nextw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, unextw, NULL, 1, "prevw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:164:5: note: 'unextw' declared here 164 | int unextw(BASE *bw); /* Goto next window */ | ^~~~~~ cmd.c:203:43: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 203 | C("nextword", TYPETW + TYPEPW + EFIXXCOL, u_goto_next, NULL, 1, "prevword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:203:43: note: (near initialization for 'cmds[91].func') 203 | C("nextword", TYPETW + TYPEPW + EFIXXCOL, u_goto_next, NULL, 1, "prevword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:30:5: note: 'u_goto_next' declared here 30 | int u_goto_next(BW *bw); /* move cursor to next word, edge, | ^~~~~~~~~~~ cmd.c:204:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 204 | C("nmark", TYPETW + TYPEPW, unmark, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:204:29: note: (near initialization for 'cmds[92].func') 204 | C("nmark", TYPETW + TYPEPW, unmark, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:42:5: note: 'unmark' declared here 42 | int unmark(BW *bw); | ^~~~~~ cmd.c:206:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 206 | C("notmod", TYPETW, unotmod, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:206:21: note: (near initialization for 'cmds[94].func') 206 | C("notmod", TYPETW, unotmod, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:29:5: note: 'unotmod' declared here 29 | int unotmod(BW *bw); | ^~~~~~~ cmd.c:207:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 207 | C("nxterr", TYPETW, unxterr, NULL, 1, "prverr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:207:21: note: (near initialization for 'cmds[95].func') 207 | C("nxterr", TYPETW, unxterr, NULL, 1, "prverr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:34: uerror.h:15:5: note: 'unxterr' declared here 15 | int unxterr(BW *bw); | ^~~~~~~ cmd.c:208:46: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 208 | C("open", TYPETW + TYPEPW + EFIXXCOL + EMOD, uopen, NULL, 1, "deleol"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:208:46: note: (near initialization for 'cmds[96].func') 208 | C("open", TYPETW + TYPEPW + EFIXXCOL + EMOD, uopen, NULL, 1, "deleol"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:59:5: note: 'uopen' declared here 59 | int uopen(BW *bw); | ^~~~~ cmd.c:209:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 209 | C("parserr", TYPETW, uparserr, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:209:22: note: (near initialization for 'cmds[97].func') 209 | C("parserr", TYPETW, uparserr, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uerror.h:18:5: note: 'uparserr' declared here 18 | int uparserr(BW *bw); | ^~~~~~~~ cmd.c:210:19: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 210 | C("pbuf", TYPETW, upbuf, NULL, 1, "nbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:210:19: note: (near initialization for 'cmds[98].func') 210 | C("pbuf", TYPETW, upbuf, NULL, 1, "nbuf"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:28:5: note: 'upbuf' declared here 28 | int upbuf(BW *bw); | ^~~~~ cmd.c:211:40: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 211 | C("pedge", TYPETW + TYPEPW + EFIXXCOL, upedge, NULL, 1, "nedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:211:40: note: (near initialization for 'cmds[99].func') 211 | C("pedge", TYPETW + TYPEPW + EFIXXCOL, upedge, NULL, 1, "nedge"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:67:5: note: 'upedge' declared here 67 | int upedge(BW *bw); | ^~~~~~ cmd.c:212:56: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 212 | C("pgdn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgdn, NULL, 1, "pgup"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:212:56: note: (near initialization for 'cmds[100].func') 212 | C("pgdn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgdn, NULL, 1, "pgup"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:42:5: note: 'upgdn' declared here 42 | int upgdn(BW *bw); | ^~~~~ cmd.c:213:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 213 | C("pgdnmenu", TYPEMENU, umpgdn, NULL, 1, "pgupmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:213:25: note: (near initialization for 'cmds[101].func') 213 | C("pgdnmenu", TYPEMENU, umpgdn, NULL, 1, "pgupmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:23:5: note: 'umpgdn' declared here 23 | int umpgdn(MENU *m); | ^~~~~~ cmd.c:214:56: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 214 | C("pgup", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgup, NULL, 1, "pgdn"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:214:56: note: (near initialization for 'cmds[102].func') 214 | C("pgup", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, upgup, NULL, 1, "pgdn"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:41:5: note: 'upgup' declared here 41 | int upgup(BW *bw); | ^~~~~ cmd.c:215:25: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 215 | C("pgupmenu", TYPEMENU, umpgup, NULL, 1, "pgdnmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:215:25: note: (near initialization for 'cmds[103].func') 215 | C("pgupmenu", TYPEMENU, umpgup, NULL, 1, "pgdnmenu"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:22:5: note: 'umpgup' declared here 22 | int umpgup(MENU *m); | ^~~~~~ cmd.c:216:58: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 216 | C("picokill", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, upicokill, NULL, 1, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:216:58: note: (near initialization for 'cmds[104].func') 216 | C("picokill", TYPETW + TYPEPW + EFIXXCOL + EKILL + EMOD, upicokill, NULL, 1, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:33:5: note: 'upicokill' declared here 33 | int upicokill(BW *bw); | ^~~~~~~~~ cmd.c:217:48: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 217 | C("play", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uplay, NULL, 1, NULL), /* EFIXX? */ | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:217:48: note: (near initialization for 'cmds[105].func') 217 | C("play", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uplay, NULL, 1, NULL), /* EFIXX? */ | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:38:5: note: 'uplay' declared here 38 | int uplay(BW *bw, int c); | ^~~~~ cmd.c:218:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 218 | C("pop", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upop, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:218:47: note: (near initialization for 'cmds[106].func') 218 | C("pop", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upop, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:48:5: note: 'upop' declared here 48 | int upop(BW *bw); | ^~~~ cmd.c:219:56: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 219 | C("prevpos", TYPETW + TYPEPW + EPOS + EMID + EFIXXCOL, uprevpos, NULL, 1, "nextpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:219:56: note: (near initialization for 'cmds[107].func') 219 | C("prevpos", TYPETW + TYPEPW + EPOS + EMID + EFIXXCOL, uprevpos, NULL, 1, "nextpos"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ poshist.h:18:5: note: 'uprevpos' declared here 18 | int uprevpos(BW *bw); | ^~~~~~~~ cmd.c:220:49: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 220 | C("prevw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uprevw, NULL, 1, "nextw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:220:49: note: (near initialization for 'cmds[108].func') 220 | C("prevw", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uprevw, NULL, 1, "nextw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:165:5: note: 'uprevw' declared here 165 | int uprevw(BASE *bw); /* Goto previous window */ | ^~~~~~ cmd.c:221:54: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 221 | C("prevword", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL, u_goto_prev, NULL, 1, "nextword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:221:54: note: (near initialization for 'cmds[109].func') 221 | C("prevword", TYPETW + TYPEPW + EFIXXCOL + ECHKXCOL, u_goto_prev, NULL, 1, "nextword"), | ^~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:28:5: note: 'u_goto_prev' declared here 28 | int u_goto_prev(BW *bw); /* move cursor to prev. word, edge, | ^~~~~~~~~~~ cmd.c:222:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 222 | C("prverr", TYPETW, uprverr, NULL, 1, "nxterr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:222:21: note: (near initialization for 'cmds[110].func') 222 | C("prverr", TYPETW, uprverr, NULL, 1, "nxterr"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uerror.h:16:5: note: 'uprverr' declared here 16 | int uprverr(BW *bw); | ^~~~~~~ cmd.c:223:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 223 | C("psh", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upsh, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:223:47: note: (near initialization for 'cmds[111].func') 223 | C("psh", TYPETW + TYPEPW + TYPEMENU + TYPEQW, upsh, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:47:5: note: 'upsh' declared here 47 | int upsh(BW *bw); | ^~~~ cmd.c:224:36: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 224 | C("qrepl", TYPETW + TYPEPW + EMOD, pqrepl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:224:36: note: (near initialization for 'cmds[112].func') 224 | C("qrepl", TYPETW + TYPEPW + EMOD, pqrepl, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:23:5: note: 'pqrepl' declared here 23 | int pqrepl(BW *bw); | ^~~~~~ cmd.c:225:49: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 225 | C("query", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uquery, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:225:49: note: (near initialization for 'cmds[113].func') 225 | C("query", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uquery, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:41:5: note: 'uquery' declared here 41 | int uquery(BW *bw); | ^~~~~~ cmd.c:226:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 226 | C("querysave", TYPETW, uquerysave, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:226:24: note: (near initialization for 'cmds[114].func') 226 | C("querysave", TYPETW, uquerysave, NULL, 0, NULL), | ^~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:34:5: note: 'uquerysave' declared here 34 | int uquerysave(BW *bw); | ^~~~~~~~~~ cmd.c:227:36: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 227 | C("quote", TYPETW + TYPEPW + EMOD, uquote, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:227:36: note: (near initialization for 'cmds[115].func') 227 | C("quote", TYPETW + TYPEPW + EMOD, uquote, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:56:5: note: 'uquote' declared here 56 | int uquote(BW *bw); | ^~~~~~ cmd.c:228:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 228 | C("quote8", TYPETW + TYPEPW + EMOD, uquote8, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:228:37: note: (near initialization for 'cmds[116].func') 228 | C("quote8", TYPETW + TYPEPW + EMOD, uquote8, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:57:5: note: 'uquote8' declared here 57 | int uquote8(BW *bw); | ^~~~~~~ cmd.c:229:50: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 229 | C("record", TYPETW + TYPEPW + TYPEMENU + TYPEQW, urecord, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:229:50: note: (near initialization for 'cmds[117].func') 229 | C("record", TYPETW + TYPEPW + TYPEMENU + TYPEQW, urecord, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:40:5: note: 'urecord' declared here 40 | int urecord(BW *bw, int c); | ^~~~~~~ cmd.c:230:39: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 230 | C("redo", TYPETW + TYPEPW + EFIXXCOL, uredo, NULL, 1, "undo"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:230:39: note: (near initialization for 'cmds[118].func') 230 | C("redo", TYPETW + TYPEPW + EFIXXCOL, uredo, NULL, 1, "undo"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:21:5: note: 'uredo' declared here 21 | int uredo(BW *bw); | ^~~~~ cmd.c:231:61: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 231 | C("retype", TYPETW + TYPEPW + TYPEMENU + TYPEQW + ECHK0COL, uretyp, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:231:61: note: (near initialization for 'cmds[119].func') 231 | C("retype", TYPETW + TYPEPW + TYPEMENU + TYPEQW + ECHK0COL, uretyp, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:160:5: note: 'uretyp' declared here 160 | int uretyp(BASE *bw); /* Refresh the screen */ | ^~~~~~ cmd.c:232:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 232 | C("rfirst", TYPETW + TYPEPW, prfirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:232:30: note: (near initialization for 'cmds[120].func') 232 | C("rfirst", TYPETW + TYPEPW, prfirst, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ usearch.h:24:5: note: 'prfirst' declared here 24 | int prfirst(BW *bw); | ^~~~~~~ cmd.c:233:58: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 233 | C("rindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, urindent, NULL, 1, "lindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:233:58: note: (near initialization for 'cmds[121].func') 233 | C("rindent", TYPETW + TYPEPW + EFIXXCOL + EMOD + EBLOCK, urindent, NULL, 1, "lindent"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:39:5: note: 'urindent' declared here 39 | int urindent(BW *bw); | ^~~~~~~~ cmd.c:234:29: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 234 | C("rsrch", TYPETW + TYPEPW, ursrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:234:29: note: (near initialization for 'cmds[122].func') 234 | C("rsrch", TYPETW + TYPEPW, ursrch, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uisrch.h:16:5: note: 'ursrch' declared here 16 | int ursrch(BW *bw); | ^~~~~~ cmd.c:235:46: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 235 | C("rtarw", TYPETW + TYPEPW /* + EFIXXCOL */, u_goto_right, NULL, 1, "ltarw"), /* EFIX removed for picture mode */ | ^~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:235:46: note: (near initialization for 'cmds[123].func') 235 | C("rtarw", TYPETW + TYPEPW /* + EFIXXCOL */, u_goto_right, NULL, 1, "ltarw"), /* EFIX removed for picture mode */ | ^~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:27:5: note: 'u_goto_right' declared here 27 | int u_goto_right(BW *bw); /* move cursor to right (right arrow) */ | ^~~~~~~~~~~~ cmd.c:236:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 236 | C("rtarwmenu", TYPEMENU, umrtarw, NULL, 1, "ltarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:236:26: note: (near initialization for 'cmds[124].func') 236 | C("rtarwmenu", TYPEMENU, umrtarw, NULL, 1, "ltarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:25:5: note: 'umrtarw' declared here 25 | int umrtarw(MENU *m); | ^~~~~~~ cmd.c:237:54: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(jobject)' [-Wincompatible-pointer-types] 237 | C("rtn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOD, urtn, NULL, 1, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:237:54: note: (near initialization for 'cmds[125].func') 237 | C("rtn", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOD, urtn, NULL, 1, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:158:5: note: 'urtn' declared here 158 | int urtn(jobject jO); /* User hit return */ | ^~~~ cmd.c:238:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 238 | C("run", TYPETW + TYPEPW, urun, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:238:27: note: (near initialization for 'cmds[126].func') 238 | C("run", TYPETW + TYPEPW, urun, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ushell.h:16:5: note: 'urun' declared here 16 | int urun(BW *bw); | ^~~~ cmd.c:239:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 239 | C("rvmatch", TYPETW + TYPEPW + EFIXXCOL, urvmatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:239:42: note: (near initialization for 'cmds[127].func') 239 | C("rvmatch", TYPETW + TYPEPW + EFIXXCOL, urvmatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:34:5: note: 'urvmatch' declared here 34 | int urvmatch(BW *bw); | ^~~~~~~~ cmd.c:240:19: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 240 | C("save", TYPETW, usave, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:240:19: note: (near initialization for 'cmds[128].func') 240 | C("save", TYPETW, usave, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:21:5: note: 'usave' declared here 21 | int usave(BW *bw); | ^~~~~ cmd.c:241:31: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 241 | C("scratch", TYPETW + TYPEPW, uscratch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:241:31: note: (near initialization for 'cmds[129].func') 241 | C("scratch", TYPETW + TYPEPW, uscratch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:24:5: note: 'uscratch' declared here 24 | int uscratch(BW *bw); | ^~~~~~~~ cmd.c:242:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 242 | C("select", TYPETW + TYPEPW, uselect, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:242:30: note: (near initialization for 'cmds[130].func') 242 | C("select", TYPETW + TYPEPW, uselect, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:46:5: note: 'uselect' declared here 46 | int uselect(BW *bw); | ^~~~~~~ cmd.c:243:31: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 243 | C("setmark", TYPETW + TYPEPW, usetmark, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:243:31: note: (near initialization for 'cmds[131].func') 243 | C("setmark", TYPETW + TYPEPW, usetmark, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:60:5: note: 'usetmark' declared here 60 | int usetmark(BW *bw, int c); | ^~~~~~~~ cmd.c:244:49: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 244 | C("shell", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ushell, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:244:49: note: (near initialization for 'cmds[132].func') 244 | C("shell", TYPETW + TYPEPW + TYPEMENU + TYPEQW, ushell, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:20:5: note: 'ushell' declared here 20 | int ushell(BW *bw); | ^~~~~~ cmd.c:245:22: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 245 | C("shrinkw", TYPETW, ushrnk, NULL, 1, "groww"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:245:22: note: (near initialization for 'cmds[133].func') 245 | C("shrinkw", TYPETW, ushrnk, NULL, 1, "groww"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:163:5: note: 'ushrnk' declared here 163 | int ushrnk(BASE *bw); /* Shrink current window */ | ^~~~~~ cmd.c:246:21: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 246 | C("splitw", TYPETW, usplitw, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:246:21: note: (near initialization for 'cmds[134].func') 246 | C("splitw", TYPETW, usplitw, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:17:5: note: 'usplitw' declared here 17 | int usplitw(BW *bw); | ^~~~~~~ cmd.c:247:28: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 247 | C("stat", TYPETW + TYPEPW, ustat_j, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:247:28: note: (near initialization for 'cmds[135].func') 247 | C("stat", TYPETW + TYPEPW, ustat_j, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ bw.h:27:5: note: 'ustat_j' declared here 27 | int ustat_j(BW *bw); | ^~~~~~~ cmd.c:249:48: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 249 | C("sync", TYPETW + TYPEPW + TYPEMENU + TYPEQW, usync, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:249:48: note: (near initialization for 'cmds[137].func') 249 | C("sync", TYPETW + TYPEPW + TYPEMENU + TYPEQW, usync, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:37:5: note: 'usync' declared here 37 | int usync(BW *bw); | ^~~~~ cmd.c:250:39: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 250 | C("swap", TYPETW + TYPEPW + EFIXXCOL, uswap, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:250:39: note: (near initialization for 'cmds[138].func') 250 | C("swap", TYPETW + TYPEPW + EFIXXCOL, uswap, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:27:5: note: 'uswap' declared here 27 | int uswap(BW *bw); | ^~~~~ cmd.c:251:30: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 251 | C("switch", TYPETW + TYPEPW, uswitch, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:251:30: note: (near initialization for 'cmds[139].func') 251 | C("switch", TYPETW + TYPEPW, uswitch, NULL, 0, NULL), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ufile.h:23:5: note: 'uswitch' declared here 23 | int uswitch(BW *bw); | ^~~~~~~ cmd.c:252:24: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 252 | C("tabmenu", TYPEMENU, umtab, NULL, 1, "ltarwmenu"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:252:24: note: (near initialization for 'cmds[140].func') 252 | C("tabmenu", TYPEMENU, umtab, NULL, 1, "ltarwmenu"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:26:5: note: 'umtab' declared here 26 | int umtab(MENU *m); | ^~~~~ cmd.c:253:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 253 | C("tag", TYPETW + TYPEPW, utag, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:253:27: note: (near initialization for 'cmds[141].func') 253 | C("tag", TYPETW + TYPEPW, utag, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ In file included from cmd.c:42: utag.h:15:5: note: 'utag' declared here 15 | int utag(BW *bw); | ^~~~ cmd.c:254:38: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 254 | C("toggle_marking", TYPETW + TYPEPW, utoggle_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:254:38: note: (near initialization for 'cmds[142].func') 254 | C("toggle_marking", TYPETW + TYPEPW, utoggle_marking, NULL, 0, NULL), | ^~~~~~~~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:44:5: note: 'utoggle_marking' declared here 44 | int utoggle_marking(BW *bw); | ^~~~~~~~~~~~~~~ cmd.c:255:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 255 | C("tomarkb", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkb, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:255:51: note: (near initialization for 'cmds[143].func') 255 | C("tomarkb", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkb, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:29:5: note: 'utomarkb' declared here 29 | int utomarkb(BW *bw); | ^~~~~~~~ cmd.c:256:52: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 256 | C("tomarkbk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkbk, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:256:52: note: (near initialization for 'cmds[144].func') 256 | C("tomarkbk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkbk, NULL, 0, NULL), | ^~~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:31:5: note: 'utomarkbk' declared here 31 | int utomarkbk(BW *bw); | ^~~~~~~~~ cmd.c:257:51: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 257 | C("tomarkk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkk, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:257:51: note: (near initialization for 'cmds[145].func') 257 | C("tomarkk", TYPETW + TYPEPW + EFIXXCOL + EBLOCK, utomarkk, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:30:5: note: 'utomarkk' declared here 30 | int utomarkk(BW *bw); | ^~~~~~~~ cmd.c:258:42: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 258 | C("tomatch", TYPETW + TYPEPW + EFIXXCOL, utomatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:258:42: note: (near initialization for 'cmds[146].func') 258 | C("tomatch", TYPETW + TYPEPW + EFIXXCOL, utomatch, NULL, 0, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:33:5: note: 'utomatch' declared here 33 | int utomatch(BW *bw); | ^~~~~~~~ cmd.c:259:35: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 259 | C("tos", TYPETW + TYPEPW + EMOVE, utos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:259:35: note: (near initialization for 'cmds[147].func') 259 | C("tos", TYPETW + TYPEPW + EMOVE, utos, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:37:5: note: 'utos' declared here 37 | int utos(BW *bw); | ^~~~ cmd.c:260:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 260 | C("tw0", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw0, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:260:47: note: (near initialization for 'cmds[148].func') 260 | C("tw0", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw0, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:19:5: note: 'utw0' declared here 19 | int utw0(BASE *b); | ^~~~ cmd.c:261:47: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BASE *)' {aka 'int (*)(struct base *)'} [-Wincompatible-pointer-types] 261 | C("tw1", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw1, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:261:47: note: (near initialization for 'cmds[149].func') 261 | C("tw1", TYPETW + TYPEPW + TYPEQW + TYPEMENU, utw1, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ tw.h:20:5: note: 'utw1' declared here 20 | int utw1(BASE *b); | ^~~~ cmd.c:262:27: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 262 | C("txt", TYPETW + TYPEPW, utxt, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:262:27: note: (near initialization for 'cmds[150].func') 262 | C("txt", TYPETW + TYPEPW, utxt, NULL, 0, NULL), | ^~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:70:5: note: 'utxt' declared here 70 | int utxt(BW *bw); | ^~~~ cmd.c:263:64: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(jobject, int)' [-Wincompatible-pointer-types] 263 | C("type", TYPETW + TYPEPW + TYPEQW + TYPEMENU + EMINOR + EMOD, utype, NULL, 1, "backs"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:263:64: note: (near initialization for 'cmds[151].func') 263 | C("type", TYPETW + TYPEPW + TYPEQW + TYPEMENU + EMINOR + EMOD, utype, NULL, 1, "backs"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ w.h:159:5: note: 'utype' declared here 159 | int utype(jobject jO, int k); /* User types a character */ | ^~~~~ cmd.c:264:48: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *, int)' {aka 'int (*)(struct bw *, int)'} [-Wincompatible-pointer-types] 264 | C("uarg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uuarg, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:264:48: note: (near initialization for 'cmds[152].func') 264 | C("uarg", TYPETW + TYPEPW + TYPEMENU + TYPEQW, uuarg, NULL, 0, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ macro.h:46:5: note: 'uuarg' declared here 46 | int uuarg(BW *bw, int c); | ^~~~~ cmd.c:265:39: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 265 | C("undo", TYPETW + TYPEPW + EFIXXCOL, uundo, NULL, 1, "redo"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:265:39: note: (near initialization for 'cmds[153].func') 265 | C("undo", TYPETW + TYPEPW + EFIXXCOL, uundo, NULL, 1, "redo"), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:20:5: note: 'uundo' declared here 20 | int uundo(BW *bw); | ^~~~~ cmd.c:266:37: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 266 | C("uparw", TYPETW + TYPEPW + EMOVE, uuparw, NULL, 1, "dnarw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:266:37: note: (near initialization for 'cmds[154].func') 266 | C("uparw", TYPETW + TYPEPW + EMOVE, uuparw, NULL, 1, "dnarw"), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:35:5: note: 'uuparw' declared here 35 | int uuparw(BW *bw); | ^~~~~~ cmd.c:267:26: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(MENU *)' {aka 'int (*)(struct menu *)'} [-Wincompatible-pointer-types] 267 | C("uparwmenu", TYPEMENU, umuparw, NULL, 1, "dnarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:267:26: note: (near initialization for 'cmds[155].func') 267 | C("uparwmenu", TYPEMENU, umuparw, NULL, 1, "dnarwmenu"), | ^~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ menu.h:20:5: note: 'umuparw' declared here 20 | int umuparw(MENU *m); | ^~~~~~~ cmd.c:268:45: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 268 | C("upper", TYPETW + TYPEPW + EMOD + EBLOCK, uupper, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:268:45: note: (near initialization for 'cmds[156].func') 268 | C("upper", TYPETW + TYPEPW + EMOD + EBLOCK, uupper, NULL, 0, NULL), | ^~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ ublock.h:50:5: note: 'uupper' declared here 50 | int uupper(BW *bw); | ^~~~~~ cmd.c:269:59: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 269 | C("upslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, uupslide, NULL, 1, "dnslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:269:59: note: (near initialization for 'cmds[157].func') 269 | C("upslide", TYPETW + TYPEPW + TYPEMENU + TYPEQW + EMOVE, uupslide, NULL, 1, "dnslide"), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ uedit.h:43:5: note: 'uupslide' declared here 43 | int uupslide(BW *bw); | ^~~~~~~~ cmd.c:270:46: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 270 | C("yank", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyank, NULL, 1, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:270:46: note: (near initialization for 'cmds[158].func') 270 | C("yank", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyank, NULL, 1, NULL), | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:26:5: note: 'uyank' declared here 26 | int uyank(BW *bw); | ^~~~~ cmd.c:271:49: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 271 | C("yankpop", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyankpop, NULL, 1, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:271:49: note: (near initialization for 'cmds[159].func') 271 | C("yankpop", TYPETW + TYPEPW + EFIXXCOL + EMOD, uyankpop, NULL, 1, NULL), | ^~~~~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:27:5: note: 'uyankpop' declared here 27 | int uyankpop(BW *bw); | ^~~~~~~~ cmd.c:272:36: error: initialization of 'int (*)(void)' from incompatible pointer type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} [-Wincompatible-pointer-types] 272 | C("yapp", TYPETW + TYPEPW + EKILL, uyapp, NULL, 0, NULL) | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ cmd.c:272:36: note: (near initialization for 'cmds[160].func') 272 | C("yapp", TYPETW + TYPEPW + EKILL, uyapp, NULL, 0, NULL) | ^~~~~ cmd.c:110:62: note: in definition of macro 'C' 110 | #define C(name,flag,func,m,arg,negarg) { UC name, UC negarg, func, m, flag, arg } | ^~~~ undo.h:28:5: note: 'uyapp' declared here 28 | int uyapp(BW *bw); | ^~~~~ cmd.c: In function 'execmd': cmd.c:284:64: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 284 | (k==3 || k==13 || k==8 || k==127 || k==4 || ((cmd->func==utype) && (k>=32) && (k<256)))) { | ^~ cmd.c:318:15: error: too many arguments to function 'cmd->func'; expected 0, have 2 318 | ret = cmd->func(maint->curwin->object, k); | ^~~ ~~~~~~~~~~~~~~~~~~~~~ In file included from cmd.c:10: types.h:245:20: note: declared here 245 | jpoly_int *func; /* Function bound to name */ | ^~~~ cmd.c: In function 'uexecmd': cmd.c:458:53: error: passing argument 4 of 'wmkpw' from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (wmkpw(bw->parent, UC "cmd: ", &cmdhist, docmd, UC "cmd", NULL, cmdcmplt, NULL, NULL, locale_map)) { | ^~~~~ | | | int (*)(BW *, unsigned char *, void *, int *) {aka int (*)(struct bw *, unsigned char *, void *, int *)} pw.h:19:70: note: expected 'int (*)(void)' but argument is of type 'int (*)(BW *, unsigned char *, void *, int *)' {aka 'int (*)(struct bw *, unsigned char *, void *, int *)'} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ cmd.c:434:12: note: 'docmd' declared here 434 | static int docmd(BW *bw, unsigned char *s, void *object, int *notify) | ^~~~~ cmd.c:458:76: error: passing argument 7 of 'wmkpw' from incompatible pointer type [-Wincompatible-pointer-types] 458 | if (wmkpw(bw->parent, UC "cmd: ", &cmdhist, docmd, UC "cmd", NULL, cmdcmplt, NULL, NULL, locale_map)) { | ^~~~~~~~ | | | int (*)(BW *) {aka int (*)(struct bw *)} pw.h:19:130: note: expected 'int (*)(void)' but argument is of type 'int (*)(BW *)' {aka 'int (*)(struct bw *)'} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ cmd.c:426:12: note: 'cmdcmplt' declared here 426 | static int cmdcmplt(BW *bw) | ^~~~~~~~ cmd.c: In function 'u_helpcard': cmd.c:493:13: error: passing argument 4 of 'wmkpw' from incompatible pointer type [-Wincompatible-pointer-types] 493 | do_helpcard, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~~~~~ | | | int (*)(BASE *, unsigned char *, void *, int *) {aka int (*)(struct base *, unsigned char *, void *, int *)} pw.h:19:70: note: expected 'int (*)(void)' but argument is of type 'int (*)(BASE *, unsigned char *, void *, int *)' {aka 'int (*)(struct base *, unsigned char *, void *, int *)'} 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~~ cmd.c:468:12: note: 'do_helpcard' declared here 468 | static int do_helpcard(BASE *base, unsigned char *s, void *object, int *notify) | ^~~~~~~~~~~ cmd.c:493:38: error: passing argument 7 of 'wmkpw' from incompatible pointer type [-Wincompatible-pointer-types] 493 | do_helpcard, NULL, NULL, utypebw, NULL, NULL, locale_map)) { | ^~~~~~~ | | | int (*)(jobject, int) pw.h:19:130: note: expected 'int (*)(void)' but argument is of type 'int (*)(jobject, int)' 19 | BW *wmkpw(W *w, const unsigned char *prompt, B **history, jpoly_int *func, const unsigned char *huh, jpoly_int *abrt, jpoly_int *tab, void *object, int *notify, union charmap *map); | ~~~~~~~~~~~^~~ uedit.h:54:5: note: 'utypebw' declared here 54 | int utypebw(jobject, int k); | ^~~~~~~ *** [cmd.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/work/editors/jupp/work/jupp bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/work/editors/jupp/work/jupp *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/work/editors/jupp/work/jupp bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/editors/jupp/work/jupp *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jupp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/editors/jupp