WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nvi-m17n-1.79.20040608nb11 clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../cl/cl_bsd.c ./../cl/cl_bsd.c:92:14: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(vb, 1, cl_putchar); ^ ./../cl/cl_bsd.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] keypad(a, on) ^ ./../cl/cl_bsd.c:133:19: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((p = tigetstr(on ? "smkx" : "rmkx")) != (char *)-1) { ^ ./../cl/cl_bsd.c:134:14: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(p, 0, cl_putchar); ^ ./../cl/cl_bsd.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newterm(a, b, c) ^ 5 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../cl/cl_funcs.c ./../cl/cl_funcs.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_addstr(sp, str, len) ^ ./../cl/cl_funcs.c:69:9: warning: passing arguments to 'wstandout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)standout(); ^ ./../curses/curses.h:202:31: note: expanded from macro 'standout' #define standout() wstandout(stdscr) ^ ./../cl/cl_funcs.c:87:8: warning: passing arguments to 'waddnstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (addnstr(&str[i], j) == ERR) ^ ./../curses/curses.h:186:33: note: expanded from macro 'addnstr' #define addnstr(s, n) waddnstr(stdscr, s, n) ^ ./../cl/cl_funcs.c:95:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (addnstr(p, strlen(p)) == ERR) ^ ./../curses/curses.h:186:45: note: expanded from macro 'addnstr' #define addnstr(s, n) waddnstr(stdscr, s, n) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ./../cl/cl_funcs.c:95:8: warning: passing arguments to 'waddnstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (addnstr(p, strlen(p)) == ERR) ^ ./../curses/curses.h:186:33: note: expanded from macro 'addnstr' #define addnstr(s, n) waddnstr(stdscr, s, n) ^ ./../cl/cl_funcs.c:104:9: warning: passing arguments to 'wstandend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)standend(); ^ ./../curses/curses.h:201:31: note: expanded from macro 'standend' #define standend() wstandend(stdscr) ^ ./../cl/cl_funcs.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_attr(sp, attribute, on) ^ ./../cl/cl_funcs.c:161:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(clp->smcup, 1, cl_putchar); ^ ./../cl/cl_funcs.c:169:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(clp->rmcup, 1, cl_putchar); ^ ./../cl/cl_funcs.c:179:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(clp->smso, 1, cl_putchar); ^ ./../cl/cl_funcs.c:181:16: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(clp->rmso, 1, cl_putchar); ^ ./../cl/cl_funcs.c:185:11: warning: passing arguments to 'wstandout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)standout(); ^ ./../curses/curses.h:202:31: note: expanded from macro 'standout' #define standout() wstandout(stdscr) ^ ./../cl/cl_funcs.c:187:11: warning: passing arguments to 'wstandend' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)standend(); ^ ./../curses/curses.h:201:31: note: expanded from macro 'standend' #define standend() wstandend(stdscr) ^ ./../cl/cl_funcs.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_baud(sp, ratep) ^ ./../cl/cl_funcs.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_bell(sp) ^ ./../cl/cl_funcs.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_clrtoeol(sp) ^ ./../cl/cl_funcs.c:274:10: warning: passing arguments to 'wclrtoeol' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (clrtoeol() == ERR); ^ ./../curses/curses.h:190:31: note: expanded from macro 'clrtoeol' #define clrtoeol() wclrtoeol(stdscr) ^ ./../cl/cl_funcs.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_cursor(sp, yp, xp) ^ ./../cl/cl_funcs.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_deleteln(sp) ^ ./../cl/cl_funcs.c:359:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(oldy, oldx); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_funcs.c:366:10: warning: passing arguments to 'wdeleteln' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (deleteln() == ERR); ^ ./../curses/curses.h:192:31: note: expanded from macro 'deleteln' #define deleteln() wdeleteln(stdscr) ^ ./../cl/cl_funcs.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_ex_adjust(sp, action) ^ ./../cl/cl_funcs.c:389:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(clp->cuu1, 1, cl_putchar); ^ ./../cl/cl_funcs.c:391:21: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(tgoto(clp->cup, ^ ./../cl/cl_funcs.c:391:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(tgoto(clp->cup, ^ ./../cl/cl_funcs.c:400:15: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)tputs(clp->el, 1, cl_putchar); ^ ./../cl/cl_funcs.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_insertln(sp) ^ ./../cl/cl_funcs.c:441:10: warning: passing arguments to 'winsertln' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (insertln() == ERR); ^ ./../curses/curses.h:198:31: note: expanded from macro 'insertln' #define insertln() winsertln(stdscr) ^ ./../cl/cl_funcs.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_keyval(sp, val, chp, dnep) ^ ./../cl/cl_funcs.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_move(sp, lno, cno) ^ ./../cl/cl_funcs.c:498:6: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (move(RLNO(sp, lno), cno) == ERR) { ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_funcs.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_refresh(sp, repaint) ^ ./../cl/cl_funcs.c:538:10: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (refresh() == ERR); ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' #define refresh() wrefresh(stdscr) ^ ./../cl/cl_funcs.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_rename(sp, name, on) ^ ./../cl/cl_funcs.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_suspend(sp, allowedp) ^ ./../cl/cl_funcs.c:641:8: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(LINES - 1, 0); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_funcs.c:642:8: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)refresh(); ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' #define refresh() wrefresh(stdscr) ^ ./../cl/cl_funcs.c:706:8: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(oldy, oldx); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ 38 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../cl/cl_main.c In file included from ./../cl/cl_main.c:30: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../cl/cl_main.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ ./../cl/cl_main.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gs_init(name) ^ ./../cl/cl_main.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_init(gp) ^ ./../cl/cl_main.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term_init(name, ttype) ^ ./../cl/cl_main.c:279:2: warning: call to undeclared function 'setupterm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] setupterm(ttype, STDOUT_FILENO, &err); ^ ./../cl/cl_main.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] h_hup(signo) ^ ./../cl/cl_main.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] h_int(signo) ^ ./../cl/cl_main.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] h_term(signo) ^ ./../cl/cl_main.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] h_winch(signo) ^ ./../cl/cl_main.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sig_init(gp, sp) ^ ./../cl/cl_main.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setsig(signo, oactp, handler) ^ ./../cl/cl_main.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sig_end(gp) ^ ./../cl/cl_main.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_func_std(gp) ^ ./../cl/cl_main.c:440:17: warning: incompatible function pointer types assigning to 'int (*)(SCR *, const char *, size_t)' (aka 'int (*)(struct _scr *, const char *, unsigned long)') from 'int (SCR *, const CHAR_T *, size_t)' (aka 'int (struct _scr *, const unsigned char *, unsigned long)') [-Wincompatible-function-pointer-types] gp->scr_addstr = cl_addstr; ^ ~~~~~~~~~ ./../cl/cl_main.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] perr(name, msg) ^ 16 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../cl/cl_read.c In file included from ./../cl/cl_read.c:34: In file included from ./../cl/../common/common.h:82: In file included from ./../cl/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../cl/cl_read.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_multi_conv(sp, clp, buf, blen) ^ ./../cl/cl_read.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_event(sp, evp, flags, ms) ^ ./../cl/cl_read.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_read(sp, flags, bp, blen, nrp, tp) ^ ./../cl/cl_read.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_resize(sp, lines, columns) ^ ./../cl/cl_read.c:421:7: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[1024]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a.bp = b1; ^ ~~ 6 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../cl/cl_screen.c ./../cl/cl_screen.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_screen(sp, flags) ^ ./../cl/cl_screen.c:94:10: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(RLNO(sp, sp->rows), 0); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_screen.c:95:4: warning: passing arguments to 'wclrtobot' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] clrtobot(); ^ ./../curses/curses.h:189:31: note: expanded from macro 'clrtobot' #define clrtobot() wclrtobot(stdscr) ^ ./../cl/cl_screen.c:97:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(RLNO(sp, sp->rows) - 1, 0); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_screen.c:98:3: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] refresh(); ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' #define refresh() wrefresh(stdscr) ^ ./../cl/cl_screen.c:112:15: warning: passing arguments to 'tgoto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tputs(tgoto(clp->cup, ^ ./../cl/cl_screen.c:112:9: warning: passing arguments to 'tputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] tputs(tgoto(clp->cup, ^ ./../cl/cl_screen.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_quit(gp) ^ ./../cl/cl_screen.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_vi_init(sp) ^ ./../cl/cl_screen.c:282:7: warning: passing arguments to 'idlok' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] idlok(stdscr, 1); /* Use hardware insert/delete line. */ ^ ./../cl/cl_screen.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_vi_end(gp) ^ ./../cl/cl_screen.c:401:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(0, 0); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_screen.c:402:9: warning: passing arguments to 'wdeleteln' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)deleteln(); ^ ./../curses/curses.h:192:31: note: expanded from macro 'deleteln' #define deleteln() wdeleteln(stdscr) ^ ./../cl/cl_screen.c:403:9: warning: passing arguments to 'wmove' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)move(LINES - 1, 0); ^ ./../curses/curses.h:199:27: note: expanded from macro 'move' #define move(y, x) wmove(stdscr, y, x) ^ ./../cl/cl_screen.c:404:9: warning: passing arguments to 'wrefresh' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)refresh(); ^ ./../curses/curses.h:200:29: note: expanded from macro 'refresh' #define refresh() wrefresh(stdscr) ^ ./../cl/cl_screen.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_ex_init(sp) ^ ./../cl/cl_screen.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_ex_end(gp) ^ ./../cl/cl_screen.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_getcap(sp, name, elementp) ^ ./../cl/cl_screen.c:526:19: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((t = tigetstr(name)) != NULL && ^ ./../cl/cl_screen.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_freecap(clp) ^ ./../cl/cl_screen.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_putenv(name, str, value) ^ 21 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../cl/cl_term.c ./../cl/cl_term.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_term_init(sp) ^ ./../cl/cl_term.c:94:20: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) ^ ./../cl/cl_term.c:96:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:96:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:97:7: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tkp->output, strlen(tkp->output), SEQ_COMMAND, ^~~~~~~~~~~ ./../include/com_extern.h:313:38: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:104:20: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) ^ ./../cl/cl_term.c:111:19: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:111:49: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), t, strlen(t), ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:118:20: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((t = tigetstr(tkp->ts)) == NULL || t == (char *)-1) ^ ./../cl/cl_term.c:130:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:131:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t, strlen(t), NULL, 0, ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:135:20: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (seq_set(sp, tkp->name, strlen(tkp->name), ^~~~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:136:8: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t, strlen(t), tkp->output, strlen(tkp->output), ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:136:22: warning: passing 'char *const' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t, strlen(t), tkp->output, strlen(tkp->output), ^~~~~~~~~~~ ./../include/com_extern.h:313:38: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_term_end(gp) ^ ./../cl/cl_term.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_fmap(sp, stype, from, flen, to, tlen) ^ ./../cl/cl_term.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_pfmap(sp, stype, from, flen, to, tlen) ^ ./../cl/cl_term.c:209:56: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)snprintf(keyname, sizeof(keyname), "kf%d", atoi(from + 1)); ^~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ ./../cl/cl_term.c:210:19: warning: passing arguments to 'tigetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((p = tigetstr(keyname)) == NULL || ^ ./../cl/cl_term.c:214:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, from, "233|This terminal has no %s key"); ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ ./../cl/cl_term.c:219:47: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sizeof(keyname), "function key %d", atoi(from + 1)); ^~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here int atoi(const char *); ^ ./../cl/cl_term.c:220:22: warning: passing 'char[64]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (seq_set(sp, keyname, nlen, ^~~~~~~ ./../include/com_extern.h:312:33: note: passing argument to parameter here int seq_set __P((SCR *, CHAR_T *, ^ ./../cl/cl_term.c:221:6: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p, strlen(p), to, tlen, stype, SEQ_NOOVERWRITE | SEQ_SCREEN)); ^ ./../include/com_extern.h:313:20: note: passing argument to parameter here size_t, CHAR_T *, size_t, CHAR_T *, size_t, seq_t, int)); ^ ./../cl/cl_term.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_optchange(sp, opt, str, valp) ^ ./../cl/cl_term.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_omesg(sp, clp, on) ^ ./../cl/cl_term.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_ssize(sp, sigwinch, rowp, colp, changedp) ^ ./../cl/cl_term.c:412:16: warning: call to undeclared function 'tigetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((rval = tigetnum("lines")) < 0) ^ ./../cl/cl_term.c:414:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../cl/cl_term.c:419:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../cl/cl_term.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cl_putchar(ch) ^ 30 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../common/cut.c In file included from ./../common/cut.c:28: In file included from ./../common/common.h:82: In file included from ./../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../common/cut.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cut(sp, namep, fm, tm, flags) ^ ./../common/cut.c:151:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/cut.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cb_rotate(sp) ^ ./../common/cut.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cut_line(sp, lno, fcno, clen, cbp) ^ ./../common/cut.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cut_close(gp) ^ ./../common/cut.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_init(sp, p, len, total_len) ^ ./../common/cut.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_lfree(headp) ^ ./../common/cut.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_free(tp) ^ 9 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../common/delete.c ./../common/delete.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] del(sp, fm, tm, lmode) ^ ./../common/delete.c:71:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:85:39: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:87:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, fm->cno); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:89:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, fm->lno, bp, fm->cno)) ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/delete.c:100:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:102:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:115:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bp, len - ((tm->cno - fm->cno) + tmchlen))) ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/delete.c:127:38: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:129:3: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, tlen + 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:134:37: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, tm->lno, DBG_FATAL, &p, &len)) ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../common/delete.c:162:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] GET_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:66:6: note: expanded from macro 'GET_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:164:4: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] ADD_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:89:26: note: expanded from macro 'ADD_SPACE_RET' if (L__gp == NULL || bp == L__gp->tmp_bp) { \ ~~ ^ ~~~~~~~~~~~~~ ./../common/delete.c:164:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ADD_SPACE_RET(sp, bp, blen, nlen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:92:6: note: expanded from macro 'ADD_SPACE_RET' bp = L__gp->tmp_bp; \ ^ ~~~~~~~~~~~~~ ./../common/delete.c:177:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_set(sp, fm->lno, bp, tlen)) ^~ ./../include/com_extern.h:118:39: note: passing argument to parameter here int db_set __P((SCR *, recno_t, char *, size_t)); ^ ./../common/delete.c:193:3: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] FREE_SPACE(sp, bp, blen); ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/mem.h:102:26: note: expanded from macro 'FREE_SPACE' if (L__gp != NULL && bp == L__gp->tmp_bp) \ ~~ ^ ~~~~~~~~~~~~~ 16 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex.c In file included from ./../ex/ex.c:31: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../ex/ex.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex(spp) ^ ./../ex/ex.c:125:17: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[2]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gp->excmd.cp = " "; /* __TK__ why not |? */ ^ ~~~ ./../ex/ex.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_cmd(sp) ^ ./../ex/ex.c:427:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = cmds[C_DELETE].name; *s == *t; ++s, ++t); ^ ~~~~~~~~~~~~~~~~~~~ ./../ex/ex.c:463:34: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->cmd = ex_comm_search(p, namelen)) == NULL) ^ ./../ex/ex.c:38:29: note: passing argument to parameter here ex_comm_search __P((char *, size_t)); ^ ./../ex/ex.c:490:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_unknown(sp, p, namelen); ^ ./../ex/ex.c:42:42: note: passing argument to parameter here static void ex_unknown __P((SCR *, char *, size_t)); ^ ./../ex/ex.c:537:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, p, ecp->cp - p)) ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:969:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *const' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = ecp->cmd->syntax; *p != '\0'; ++p) { ^ ~~~~~~~~~~~~~~~~ ./../ex/ex.c:1066:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strchr(p, '1') != NULL) ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:76:26: note: passing argument to parameter '__s' here char *strchr(const char *__s, int __c); ^ ./../ex/ex.c:1093:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nget_slong(<mp, ecp->cp, &t, 10)) != NUM_OK) { ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1093:35: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] nget_slong(<mp, ecp->cp, &t, 10)) != NUM_OK) { ^~ ./../include/com_extern.h:327:59: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1121:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, ecp, ecp->cp, ecp->clen)) ^~~~~~~ ./../include/ex_extern.h:21:42: note: passing argument to parameter here int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1140:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, ecp->cp, ^~~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ ./../ex/ex.c:1156:28: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, ecp, ecp->cp, ^~~~~~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); ^ ./../ex/ex.c:1163:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, ecp->cp, ecp->clen)) ^~~~~~~ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1190:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, t, p - t)) ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1214:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp0(sp, ecp, t, p - t)) ^ ./../include/ex_extern.h:19:42: note: passing argument to parameter here int argv_exp0 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1218:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp3(sp, ecp, ecp->cp, ecp->clen)) ^~~~~~~ ./../include/ex_extern.h:22:42: note: passing argument to parameter here int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex.c:1250:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ecp->clen != 0 || strpbrk(p, "lr")) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:86:27: note: passing argument to parameter '__s' here char *strpbrk(const char *__s, const char *__charset); ^ ./../ex/ex.c:1287:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../ex/ex.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_range(sp, ecp, errp) ^ ./../ex/ex.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_line(sp, ecp, mp, isaddrp, errp) ^ ./../ex/ex.c:1892:32: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) { ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1892:41: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if ((nret = nget_slong(&val, ecp->cp, &endp, 10)) != NUM_OK) { ^~~~~ ./../include/com_extern.h:327:59: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:1948:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp, ^~~~~~~ ./../ex/ex.c:1948:42: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (sf(sp, mp, mp, ecp->cp, ecp->clen, &endp, ^~~~~ ./../ex/ex.c:2057:9: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ecp->cp, &endp, 10)) != NUM_OK || ^~~~~~~ ./../include/com_extern.h:327:50: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:2057:18: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] ecp->cp, &endp, 10)) != NUM_OK || ^~~~~ ./../include/com_extern.h:327:59: note: passing argument to parameter here enum nresult nget_slong __P((long *, const char *, char **, int)); ^ ./../ex/ex.c:2100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_load(sp) ^ ./../ex/ex.c:2159:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ ./../ex/ex.c:2194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_discard(sp) ^ ./../ex/ex.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_unknown(sp, cmd, len) ^ ./../ex/ex.c:2252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_is_abbrev(name, len) ^ ./../ex/ex.c:2271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_is_unmap(name, len) ^ ./../ex/ex.c:2293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_comm_search(name, len) ^ ./../ex/ex.c:2318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_badaddr(sp, cp, ba, nret) ^ 37 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_abbrev.c ./../ex/ex_abbrev.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_abbr(sp, cmdp) ^ ./../ex/ex_abbrev.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_unabbr(sp, cmdp) ^ ./../ex/ex_abbrev.c:112:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_ERR, ap->bp, ^~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 3 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_append.c ./../ex/ex_append.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_append(sp, cmdp) ^ ./../ex/ex_append.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_change(sp, cmdp) ^ ./../ex/ex_append.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_insert(sp, cmdp) ^ ./../ex/ex_append.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_aci(sp, cmdp, cmd) ^ ./../ex/ex_append.c:172:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, p, t - p)) ^ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ ./../ex/ex_append.c:265:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (db_append(sp, 1, lno++, tp->lb, tp->len)) ^~~~~~ ./../include/com_extern.h:116:47: note: passing argument to parameter here int db_append __P((SCR *, int, recno_t, char *, size_t)); ^ 6 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_args.c ./../ex/ex_args.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_next(sp, cmdp) ^ ./../ex/ex_args.c:92:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = ^ ./../ex/ex_args.c:99:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, *sp->cargv)) == NULL) ^~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:106:27: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, sp->cargv[1])) == NULL) ^~~~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_N_next(sp, cmdp) ^ ./../ex/ex_args.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_prev(sp, cmdp) ^ ./../ex/ex_args.c:193:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, sp->cargv[-1])) == NULL) ^~~~~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_rew(sp, cmdp) ^ ./../ex/ex_args.c:240:26: warning: passing 'char *' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((frp = file_add(sp, *sp->cargv)) == NULL) ^~~~~~~~~~ ./../include/com_extern.h:91:36: note: passing argument to parameter here FREF *file_add __P((SCR *, CHAR_T *)); ^ ./../ex/ex_args.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_args(sp, cmdp) ^ ./../ex/ex_args.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_buildargv(sp, cmdp, name) ^ ./../ex/ex_args.c:317:27: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = v_strdup(sp, name, strlen(name))) == NULL) ^~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_args.c:317:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = v_strdup(sp, name, strlen(name))) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_args.c:322:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*ap = ^ 14 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_argv.c ./../ex/ex_argv.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_init(sp, excp) ^ ./../ex/ex_argv.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_exp0(sp, excp, cmd, cmdlen) ^ ./../ex/ex_argv.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_exp1(sp, excp, cmd, cmdlen, is_bang) ^ ./../ex/ex_argv.c:121:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp, t = bp + len; p < t; ++p) ^ ~~ ./../ex/ex_argv.c:121:32: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] for (p = bp, t = bp + len; p < t; ++p) ~ ^ ~ ./../ex/ex_argv.c:124:9: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] if (p == t) ~ ^ ~ ./../ex/ex_argv.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_exp2(sp, excp, cmd, cmdlen) ^ ./../ex/ex_argv.c:163:4: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + SHELLOFFSET; ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:170:39: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_fexp(sp, excp, cmd, cmdlen, p, &len, &bp, &blen, 0)) { ^ ./../ex/ex_argv.c:34:24: note: passing argument to parameter here char *, size_t, char *, size_t *, char **, size_t *, int)); ^ ./../ex/ex_argv.c:196:10: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = mp = O_STR(sp, O_SHELLMETA); *p != '\0'; ++p) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:199:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + SHELLOFFSET; ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:227:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + SHELLOFFSET; ^ ~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:229:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = argv_exp3(sp, excp, p, len); ^ ./../include/ex_extern.h:22:42: note: passing argument to parameter here int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_argv.c:243:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp; ^ ~~ ./../ex/ex_argv.c:244:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = argv_exp3(sp, excp, p, len); ^ ./../include/ex_extern.h:22:42: note: passing argument to parameter here int argv_exp3 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_argv.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_exp3(sp, excp, cmd, cmdlen) ^ ./../ex/ex_argv.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_fexp(sp, excp, cmd, cmdlen, p, lenp, bpp, blenp, is_bang) ^ ./../ex/ex_argv.c:357:25: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len += tlen = strlen(exp->lastbcomm); ^~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ ./../ex/ex_argv.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_alloc(sp, len) ^ ./../ex/ex_argv.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_free(sp) ^ ./../ex/ex_argv.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_lexp(sp, excp, path) ^ ./../ex/ex_argv.c:584:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = exp->args[exp->argsoff]->bp; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_argv.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_comp(a, b) ^ ./../ex/ex_argv.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv_sexp(sp, bpp, blenp, lenp) ^ ./../ex/ex_argv.c:689:16: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] switch (pid = vfork()) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ./../ex/ex_argv.c:729:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp, len = 0, ch = EOF; ^ ~~ ./../ex/ex_argv.c:733:6: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = bp + len; ^ ~~~~~~~~ ./../ex/ex_argv.c:738:8: warning: comparison of distinct pointer types ('CHAR_T *' (aka 'unsigned char *') and 'char *') [-Wcompare-distinct-pointer-types] if (p > bp && (p[-1] == '\n' || p[-1] == '\r')) { ~ ^ ~~ ./../ex/ex_argv.c:766:9: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = bp; len; ++p, --len) ^ ~~ 29 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_at.c ./../ex/ex_at.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_at(sp, cmdp) ^ ./../ex/ex_at.c:67:15: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF); ^~~~~~~~~~~~~~~~~~ ./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:118:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../ex/ex_at.c:111:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MALLOC_RET(sp, ecp->cp, char *, len * 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET' if ((p = (cast)malloc(size)) == NULL) { \ ^ ~~~~~~~~~~~~~~~~~~ ./../ex/ex_at.c:117:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = ecp->cp + len, tp = cbp->textq.cqh_last; ^ ~~~~~~~~~~~~~ 4 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_bang.c ./../ex/ex_bang.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_bang(sp, cmdp) ^ ./../ex/ex_bang.c:72:31: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->lastbcomm = strdup(ap->bp)) == NULL) { ^~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ ./../ex/ex_bang.c:72:22: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->lastbcomm = strdup(ap->bp)) == NULL) { ^ ~~~~~~~~~~~~~~ ./../ex/ex_bang.c:89:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vs_update(sp, "!", ap->bp); ^~~~~~ ./../include/vi_extern.h:126:54: note: passing argument to parameter here void vs_update __P((SCR *, const char *, const char *)); ^ ./../ex/ex_bang.c:108:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (O_ISSET(sp, O_WARN) && ^ ./../ex/ex_bang.c:116:13: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdp, ap->bp, msg, !F_ISSET(sp, SC_EX | SC_SCR_EXWROTE)); ^~~~~~ ./../include/ex_extern.h:79:45: note: passing argument to parameter here int ex_exec_proc __P((SCR *, EXCMD *, char *, const char *, int)); ^ ./../ex/ex_bang.c:155:40: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] &cmdp->addr1, &cmdp->addr2, &rm, ap->bp, ftype); ^~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); ^ 7 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_cd.c ./../ex/ex_cd.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_cd(sp, cmdp) ^ ./../ex/ex_cd.c:74:7: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dir = cmdp->argv[0]->bp; ^ ~~~~~~~~~~~~~~~~~ 2 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_cmd.c clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_cscope.c In file included from ./../ex/ex_cscope.c:35: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../ex/ex_cscope.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_cscope(sp, cmdp) ^ ./../ex/ex_cscope.c:127:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (p = cmdp->argv[0]->bp, i = cmdp->argv[0]->len; i > 0; --i, ++p) ^ ~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_cscopes(sp, cmdp) ^ ./../ex/ex_cscope.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_add(sp, cmdp, dname) ^ ./../ex/ex_cscope.c:221:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dname = cmdp->argv[cur_argc]->bp; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_paths(sp, csc) ^ ./../ex/ex_cscope.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] run_cscope(sp, csc, dbname) ^ ./../ex/ex_cscope.c:382:21: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] switch (csc->pid = vfork()) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ./../ex/ex_cscope.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_find(sp, cmdp, pattern) ^ ./../ex/ex_cscope.c:499:39: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] (void)fprintf(csc->to_fp, "%d%s\n", search, tqp->tag + 2); ~~ ^~~~~~ %zu ./../ex/ex_cscope.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_cs_cmd(sp, pattern, searchp) ^ ./../ex/ex_cscope.c:628:5: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = cbp->textq.cqh_first->lb; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_cscope.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] parse(sp, csc, tqp, matchesp) ^ ./../ex/ex_cscope.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] csc_file(sp, csc, name, dirp, dlenp, isolderp) ^ ./../ex/ex_cscope.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_help(sp, cmdp, subcmd) ^ ./../ex/ex_cscope.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] csc_help(sp, cmd) ^ ./../ex/ex_cscope.c:833:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ ./../ex/ex_cscope.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_kill(sp, cmdp, cn) ^ ./../ex/ex_cscope.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] terminate(sp, csc, n) ^ ./../ex/ex_cscope.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_reset(sp, cmdp, notusedp) ^ ./../ex/ex_cscope.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_display(sp) ^ ./../ex/ex_cscope.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cscope_search(sp, tqp, tp) ^ ./../ex/ex_cscope.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lookup_ccmd(name) ^ ./../ex/ex_cscope.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_prompt(sp, csc) ^ 25 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_delete.c ./../ex/ex_delete.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_delete(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_display.c ./../ex/ex_display.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_display(sp, cmdp) ^ ./../ex/ex_display.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bdisplay(sp) ^ ./../ex/ex_display.c:113:15: warning: passing 'char[15]' to parameter of type 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] db(sp, cbp, "default buffer"); ^~~~~~~~~~~~~~~~ ./../ex/ex_display.c:29:42: note: passing argument to parameter here static void db __P((SCR *, CB *, CHAR_T *)); ^ ./../ex/ex_display.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] db(sp, cbp, name) ^ ./../ex/ex_display.c:139:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, KEY_NAME(sp, *p)); ^~~~~~~~~~~~~~~~ ./../ex/../common/gs.h:149:2: note: expanded from macro 'KEY_NAME' ((unsigned char)(ch) <= MAX_FAST_KEY \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ 5 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_edit.c ./../ex/ex_edit.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_edit(sp, cmdp) ^ ./../ex/ex_edit.c:79:20: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] set_alt_name(sp, cmdp->argv[0]->bp); ^~~~~~~~~~~~~~~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here void set_alt_name __P((SCR *, char *)); ^ ./../ex/ex_edit.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_N_edit(sp, cmdp, frp, attach) ^ 3 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_equal.c ./../ex/ex_equal.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_equal(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_file.c ./../ex/ex_file.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_file(sp, cmdp) ^ ./../ex/ex_file.c:61:13: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] frp->name = p; ^ ~ 2 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_filter.c In file included from ./../ex/ex_filter.c:28: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../ex/ex_filter.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_filter(sp, cmdp, fm, tm, rp, cmd, ftype) ^ ./../ex/ex_filter.c:101:24: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] switch (utility_pid = vfork()) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ./../ex/ex_filter.c:185:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ ./../ex/ex_filter.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filter_ldisplay(sp, fp) ^ 5 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_global.c ./../ex/ex_global.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_global(sp, cmdp) ^ ./../ex/ex_global.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_v(sp, cmdp) ^ ./../ex/ex_global.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_g_setup(sp, cmdp, cmd) ^ ./../ex/ex_global.c:129:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (p[1] == '\\') ^ ./../ex/ex_global.c:153:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->re, sp->re_len, NULL, NULL, &sp->re_c, RE_C_SEARCH)) ^~~~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_global.c:157:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (re_compile(sp, ptrn, t - ptrn, ^~~~ ./../include/ex_extern.h:89:11: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_global.c:158:7: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] &sp->re, &sp->re_len, &sp->re_c, RE_C_SEARCH)) ^~~~~~~ ./../include/ex_extern.h:89:28: note: passing argument to parameter here char *, size_t, char **, size_t *, regex_t *, u_int)); ^ ./../ex/ex_global.c:187:5: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = "pp"; ^ ~~~~ ./../ex/ex_global.c:191:2: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MALLOC_RET(sp, ecp->cp, char *, len * 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/../common/mem.h:148:9: note: expanded from macro 'MALLOC_RET' if ((p = (cast)malloc(size)) == NULL) { \ ^ ~~~~~~~~~~~~~~~~~~ ./../ex/ex_global.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_g_insdel(sp, op, lno) ^ 10 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_init.c In file included from ./../ex/ex_init.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../ex/ex_init.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_screen_copy(orig, sp) ^ ./../ex/ex_init.c:64:33: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) { ^~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ ./../ex/ex_init.c:64:24: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_init.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_screen_end(sp) ^ ./../ex/ex_init.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_optchange(sp, offset, str, valp) ^ ./../ex/ex_init.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_exrc(sp) ^ ./../ex/ex_init.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_run_file(sp, name) ^ ./../ex/ex_init.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_run_str(sp, name, str, len, ex_flags, nocopy) ^ ./../ex/ex_init.c:293:11: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ecp->cp = str; ^ ~~~ ./../ex/ex_init.c:295:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->cp = v_strdup(sp, str, len)) == NULL) ^~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_init.c:302:36: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) ^~~~ ./../include/com_extern.h:325:44: note: passing argument to parameter here CHAR_T *v_strdup __P((SCR *, const CHAR_T *, size_t)); ^ ./../ex/ex_init.c:302:21: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ecp->if_name = v_strdup(sp, name, strlen(name))) == NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_init.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exrc_isok(sp, sbp, path, rootown, rootid) ^ 14 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_join.c ./../ex/ex_join.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_join(sp, cmdp) ^ ./../ex/ex_join.c:85:27: warning: incompatible pointer types passing 'CHAR_T **' (aka 'unsigned char **') to parameter of type 'char **' [-Wincompatible-pointer-types] if (db_get(sp, from, 0, &p, &len)) { ^~ ./../include/com_extern.h:114:51: note: passing argument to parameter here int db_get __P((SCR *, recno_t, u_int32_t, char **, size_t *)); ^ ./../ex/ex_join.c:194:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:194:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:196:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:196:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:204:30: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:204:34: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:206:31: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~ ./../include/com_extern.h:192:42: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ ./../ex/ex_join.c:206:35: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sp->cno -= multi_back(sp, bp, &bp[sp->cno]); ^~~~~~~~~~~~ ./../include/com_extern.h:192:58: note: passing argument to parameter here int multi_back __P((SCR *, const CHAR_T *, const CHAR_T *)); ^ 10 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_map.c ./../ex/ex_map.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_map(sp, cmdp) ^ ./../ex/ex_map.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_unmap(sp, cmdp) ^ ./../ex/ex_map.c:117:7: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmdp->argv[0]->bp, "135|\"%s\" isn't currently mapped"); ^~~~~~~~~~~~~~~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ 3 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_mark.c ./../ex/ex_mark.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_mark(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_mkexrc.c In file included from ./../ex/ex_mkexrc.c:29: In file included from ./../ex/../common/common.h:82: In file included from ./../ex/../common/options.h:101: ./../include/options_def.h:16:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] #define O_DIRECTORY 15 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/fcntl.h:138:9: note: previous definition is here #define O_DIRECTORY 0x00100000 ^ ./../ex/ex_mkexrc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_mkexrc(sp, cmdp) ^ ./../ex/ex_mkexrc.c:54:9: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fname = cmdp->argv[0]->bp; ^ ~~~~~~~~~~~~~~~~~ 3 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_move.c ./../ex/ex_move.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_copy(sp, cmdp) ^ ./../ex/ex_move.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_move(sp, cmdp) ^ 2 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_open.c ./../ex/ex_open.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_open(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_perl.c ./../ex/ex_perl.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_perl(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_preserve.c ./../ex/ex_preserve.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_preserve(sp, cmdp) ^ ./../ex/ex_preserve.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_recover(sp, cmdp) ^ ./../ex/ex_preserve.c:80:19: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] set_alt_name(sp, ap->bp); ^~~~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here void set_alt_name __P((SCR *, char *)); ^ 3 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_print.c ./../ex/ex_print.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_list(sp, cmdp) ^ ./../ex/ex_print.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_number(sp, cmdp) ^ ./../ex/ex_print.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_pr(sp, cmdp) ^ ./../ex/ex_print.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_print(sp, cmdp, fp, tp, flags) ^ ./../ex/ex_print.c:129:42: warning: format specifies type 'long' but the argument has type 'recno_t' (aka 'unsigned int') [-Wformat] snprintf(buf, sizeof(buf), "%6ld ", from); ~~~~ ^~~~ %6u /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ./../ex/ex_print.c:133:23: warning: passing 'char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 8, 0, 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_ldisplay(sp, p, len, col, flags) ^ ./../ex/ex_print.c:169:32: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (len > 0 && ex_prchars(sp, p, &col, len, LF_ISSET(E_C_LIST), 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:173:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 1, LF_ISSET(E_C_LIST), 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_scprint(sp, fp, tp) ^ ./../ex/ex_print.c:198:22: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 8, 0, 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:205:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, fp->cno, 0, ' ')) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:209:6: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p, &col, tp->cno == fp->cno ? 1 : tp->cno - fp->cno, 0, '^')) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:214:21: warning: passing 'const char *' to parameter of type 'const CHAR_T *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ex_prchars(sp, p, &col, 5, 0, 0)) ^ ./../ex/ex_print.c:36:49: note: passing argument to parameter here static int ex_prchars __P((SCR *, const CHAR_T *, size_t *, size_t, u_int, int)); ^ ./../ex/ex_print.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_prchars(sp, p, colp, len, flags, repeatc) ^ ./../ex/ex_print.c:264:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, kp); ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../ex/ex_print.c:271:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, kp); ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../ex/ex_print.c:283:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)ex_puts(sp, kp); ^~ ./../include/ex_extern.h:63:37: note: passing argument to parameter here int ex_puts __P((SCR *, const char *)); ^ ./../ex/ex_print.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_puts(sp, str) ^ ./../ex/ex_print.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_fflush(sp) ^ 20 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_put.c ./../ex/ex_put.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_put(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_quit.c ./../ex/ex_quit.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_quit(sp, cmdp) ^ 1 warning generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_read.c ./../ex/ex_read.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_read(sp, cmdp) ^ ./../ex/ex_read.c:106:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp1(sp, cmdp, arg, arglen, 1)) ^~~ ./../include/ex_extern.h:20:42: note: passing argument to parameter here int argv_exp1 __P((SCR *, EXCMD *, char *, size_t, int)); ^ ./../ex/ex_read.c:119:14: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strdup(cmdp->argv[argc]->bp)) == NULL) { ^~~~~~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:117:26: note: passing argument to parameter '__s1' here char *strdup(const char *__s1); ^ ./../ex/ex_read.c:118:23: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((exp->lastbcomm = ^ ./../ex/ex_read.c:131:30: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (void)vs_update(sp, "!", cmdp->argv[argc]->bp); ^~~~~~~~~~~~~~~~~~~~ ./../include/vi_extern.h:126:54: note: passing argument to parameter here void vs_update __P((SCR *, const char *, const char *)); ^ ./../ex/ex_read.c:173:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] NULL, &rm, cmdp->argv[argc]->bp, FILTER_READ)) ^~~~~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:36:43: note: passing argument to parameter here EXCMD *, MARK *, MARK *, MARK *, char *, enum filtertype)); ^ ./../ex/ex_read.c:190:8: warning: assigning to 'CHAR_T *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] name = sp->frp->name; ^ ~~~~~~~~~~~~~ ./../ex/ex_read.c:193:27: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv_exp2(sp, cmdp, arg, arglen)) ^~~ ./../include/ex_extern.h:21:42: note: passing argument to parameter here int argv_exp2 __P((SCR *, EXCMD *, char *, size_t)); ^ ./../ex/ex_read.c:219:12: warning: assigning to 'char *' from 'CHAR_T *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((p = v_strdup(sp, cmdp->argv[1]->bp, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../ex/ex_read.c:234:22: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] set_alt_name(sp, name); ^~~~ ./../include/com_extern.h:99:37: note: passing argument to parameter here void set_alt_name __P((SCR *, char *)); ^ ./../ex/ex_read.c:237:16: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ex_emsg(sp, cmdp->argv[0]->bp, EXM_FILECOUNT); ^~~~~~~~~~~~~~~~~ ./../include/ex_extern.h:118:32: note: passing argument to parameter here void ex_emsg __P((SCR *, char *, exm_t)); ^ ./../ex/ex_read.c:252:18: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) { ^~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:145:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ ./../ex/ex_read.c:253:26: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgq_str(sp, M_SYSERR, name, "%s"); ^~~~ ./../include/com_extern.h:138:42: note: passing argument to parameter here void msgq_str __P((SCR *, mtype_t, char *, char *)); ^ ./../ex/ex_read.c:267:23: warning: passing 'CHAR_T *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rval = ex_readfp(sp, name, fp, &cmdp->addr1, &nlines, 0); ^~~~ ./../include/ex_extern.h:68:33: note: passing argument to parameter here int ex_readfp __P((SCR *, char *, FILE *, MARK *, recno_t *, int)); ^ ./../ex/ex_read.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_readfp(sp, name, fp, fm, nlinesp, silent) ^ 15 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_screen.c ./../ex/ex_screen.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_bg(sp, cmdp) ^ ./../ex/ex_screen.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_fg(sp, cmdp) ^ ./../ex/ex_screen.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_resize(sp, cmdp) ^ ./../ex/ex_screen.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ex_sdisplay(sp) ^ 4 warnings generated. clang -c -D_PATH_SYSEXRC=\"/opt/pkg/etc/vi.exrc\" -I/include -pipe -Os -I/opt/pkg/include -I. -I./../include -I./../regex -I./../db/include -I./../curses -DGTAGS -I/opt/pkg/include ./../ex/ex_script.c ./../ex/ex_script.c:27:10: fatal error: 'sys/stropts.h' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. *** [ex_script.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/editors/nvi-m17n/work/nvi-1.79/build bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/editors/nvi-m17n/work/nvi-1.79/build *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/nvi-m17n *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/nvi-m17n