>>> Building on exopi-6 under editors/bvi BDEPENDS = [devel/dwz] DIST = [editors/bvi:bvi-1.4.2.src.tar.gz] FULLPKGNAME = bvi-1.4.2p0 (Junk lock obtained for exopi-6 at 1734971527.09) >>> Running depends in editors/bvi at 1734971527.12 last junk was in devel/p5-Sub-Attribute /usr/sbin/pkg_add -aI -Drepair dwz-0.15 was: /usr/sbin/pkg_add -aI -Drepair dwz-0.15 /usr/sbin/pkg_add -aI -Drepair dwz-0.15 >>> Running show-prepare-results in editors/bvi at 1734971528.29 ===> editors/bvi ===> Building from scratch bvi-1.4.2p0 ===> bvi-1.4.2p0 depends on: dwz-* -> dwz-0.15 ===> Verifying specs: c curses ===> found c.100.3 curses.15.0 dwz-0.15 (Junk lock released for exopi-6 at 1734971528.95) distfiles size=148323 >>> Running build in editors/bvi at 1734971528.99 ===> editors/bvi ===> Checking files for bvi-1.4.2p0 `/exopi-cvs/ports/distfiles/bvi-1.4.2.src.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for bvi-1.4.2p0 ===> Patching for bvi-1.4.2p0 ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.in.orig Wed Oct 1 20:59:36 2014 |+++ Makefile.in Mon Oct 27 22:38:09 2014 -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 59 with fuzz 1 (offset 2 lines). done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for bvi-1.4.2p0 ===> Configuring for bvi-1.4.2p0 Using /exopi-obj/pobj/bvi-1.4.2/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /exopi-obj/pobj/bvi-1.4.2/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking build system type... x86_64-unknown-openbsd7.6 checking host system type... x86_64-unknown-openbsd7.6 checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /exopi-obj/pobj/bvi-1.4.2/bin/install -c checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking size of int... 4 checking size of long... 8 checking size of long long... (cached) 8 checking size of void *... 8 checking for size_t... (cached) yes checking for off_t... (cached) yes checking for ANSI C header files... (cached) yes checking for fcntl.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking for termio.h... (cached) no checking for termios.h... (cached) yes checking for unistd.h... (cached) yes checking term.h usability... yes checking term.h presence... yes checking for term.h... yes checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for library containing initscr... -lncurses checking for library containing tputs... none required checking for strdup... (cached) yes checking for strtol... (cached) yes checking for strtoll... (cached) yes checking for strerror... (cached) yes checking for memmove... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc ===> Building for bvi-1.4.2p0 cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c bvi.c bvi.c:180:29: warning: passing arguments to 'calc_size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] block_begin = calc_size(argv[++n]); ^ bvi.c:187:27: warning: passing arguments to 'calc_size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] block_end = calc_size(argv[++n]); ^ bvi.c:194:28: warning: passing arguments to 'calc_size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] block_size = calc_size(argv[++n]); ^ bvi.c:300:17: warning: passing arguments to 'load' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filesize = load(name); ^ bvi.c:302:10: warning: passing arguments to 'bvi_init' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bvi_init(argv[0]); ^ bvi.c:309:10: warning: passing arguments to 'read_rc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_rc(argv[script]); ^ bvi.c:311:12: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docmdline(cmdstr); ^ bvi.c:312:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(fname_buf); ^ bvi.c:347:14: warning: passing arguments to 'do_tilde' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_tilde((off_t)precount); ^ bvi.c:354:18: warning: passing arguments to 'scrolldown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrolldown(y - maxy + 1); ^ bvi.c:406:21: warning: passing arguments to 'scrollup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else scrollup(1); ^ bvi.c:419:22: warning: passing arguments to 'scrolldown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else scrolldown(1); ^ bvi.c:432:15: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcmdstr(cmdstr, 1); ^ bvi.c:434:16: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docmdline(cmdstr); ^ bvi.c:444:16: warning: passing arguments to 'scrolldown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrolldown(P(P_SS)); ^ bvi.c:448:14: warning: passing arguments to 'scrollup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollup(P(P_SS)); ^ bvi.c:452:16: warning: passing arguments to 'scrolldown' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrolldown(1); ^ bvi.c:461:15: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage((PTR)(mem + filesize - 1L)); ^ bvi.c:467:14: warning: passing arguments to 'fileinfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo(name); ^ bvi.c:475:14: warning: passing arguments to 'scrollup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollup(1); ^ bvi.c:477:19: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'A': smsg("APPEND MODE"); ^ bvi.c:479:13: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(current++); ^ bvi.c:480:14: warning: passing arguments to 'cur_forw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_forw(0); ^ bvi.c:483:23: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_count = edit(ch); ^ bvi.c:486:31: warning: passing arguments to 'backsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'b': setpage(backsearch(current, ch)); ^ bvi.c:486:20: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'b': setpage(backsearch(current, ch)); ^ bvi.c:488:29: warning: passing arguments to 'end_word' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'e': setpage(end_word(current)); ^ bvi.c:488:20: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'e': setpage(end_word(current)); ^ bvi.c:490:18: warning: passing arguments to 'do_ft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ',': do_ft(-1, 0); ^ bvi.c:492:18: warning: passing arguments to 'do_ft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case ';': do_ft(0, 0); ^ bvi.c:497:18: warning: passing arguments to 'do_ft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'T': do_ft(ch, 0); ^ bvi.c:505:15: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage((PTR)(mem + precount - P(P_OF))); ^ bvi.c:508:14: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage((PTR)(mem + filesize - 1L)); ^ bvi.c:513:12: warning: passing arguments to 'outmsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outmsg("Goto Hex Address:"); ^ bvi.c:515:15: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcmdstr(cmdstr, 18); ^ bvi.c:529:14: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(mem + inaddr); ^ bvi.c:533:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ bvi.c:542:19: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getcmdstr(line, 1)) break; ^ bvi.c:545:15: warning: passing arguments to 'searching' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] searching(ch, line, current, maxpos - 1, P(P_WS)); ^ bvi.c:557:15: warning: passing arguments to 'searching' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] searching(ch, "", current, maxpos - 1, P(P_WS)); ^ bvi.c:562:20: warning: passing arguments to 'do_mark' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'm': do_mark(vgetc(), current); ^ bvi.c:570:14: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(last_motion); ^ bvi.c:578:14: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(markbuf[mark - 'a']); ^ bvi.c:588:13: warning: passing arguments to 'do_over' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_over(current, yanked, yank_buf); ^ bvi.c:592:33: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(yanked, &undo_buf)) == 0L) ^ bvi.c:595:19: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (do_append((off_t)yanked, yank_buf)) break; ^ bvi.c:605:23: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_count = edit(ch); ^ bvi.c:612:24: warning: passing arguments to 'wordsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(wordsearch(current, ch)); ^ bvi.c:612:13: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(wordsearch(current, ch)); ^ bvi.c:614:26: warning: passing arguments to 'range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'y': count = range(ch); ^ bvi.c:621:30: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((yanked = alloc_buf((off_t)count, &yank_buf)) == 0L) { ^ bvi.c:626:30: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((yanked = alloc_buf(-(off_t)count, &yank_buf)) == 0L) { ^ bvi.c:638:17: warning: passing arguments to 'do_z' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'z': do_z(vgetc()); ^ bvi.c:647:14: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin(rep_buf); ^ bvi.c:657:13: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(mem); ^ bvi.c:659:23: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_count = edit('i'); ^ bvi.c:665:19: warning: passing arguments to 'do_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (do_delete((off_t)precount, current)) break; ^ bvi.c:667:23: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_count = edit('i'); ^ bvi.c:671:18: warning: passing arguments to 'cur_forw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (cur_forw(1)) break; ^ bvi.c:675:23: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_count = edit(ch); ^ bvi.c:680:12: warning: passing arguments to 'do_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_put(current, yanked, yank_buf); ^ bvi.c:684:19: warning: passing arguments to 'range' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] count = range(ch); ^ bvi.c:686:16: warning: passing arguments to 'do_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_delete((off_t)count, current); ^ bvi.c:688:14: warning: passing arguments to 'do_back' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_back(-(off_t)count, current); ^ bvi.c:691:24: warning: passing arguments to 'edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] undo_count = edit('i'); ^ bvi.c:697:15: warning: passing arguments to 'do_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_delete((off_t)precount, current); ^ bvi.c:701:13: warning: passing arguments to 'do_back' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_back((off_t)precount, current); ^ bvi.c:713:16: warning: passing arguments to 'do_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_delete((off_t)precount, current); ^ bvi.c:120: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) ^ bvi.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_size(arg) ^ In file included from bvi.c:39: ./bvi.h:266:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] off_t calc_size(); ^ bvi.c:782:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(nobytes); ^ bvi.c:795:14: warning: passing arguments to 'enlarge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enlarge(count + 100L)) return 1; ^ bvi.c:799:9: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(undo_start + count); ^ bvi.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_append(count, buf) ^ In file included from bvi.c:39: ./bvi.h:275:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int do_append(), do_logic(); ^ bvi.c:818:29: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(count, &undo_buf)) == 0L) ^ bvi.c:826:11: warning: passing arguments to 'cur_forw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_forw(0); ^ bvi.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] do_tilde(count) ^ In file included from bvi.c:39: ./bvi.h:274:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void do_tilde(), trunc_cur(); ^ bvi.c:843:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Nothing to undo"); ^ bvi.c:889:10: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(set_cursor); ^ bvi.c:902:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(nobytes); ^ bvi.c:909:29: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(n, &undo_buf)) == 0L) ^ bvi.c:915:9: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(loc + n - 1); ^ bvi.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_over(loc, n, buf) ^ In file included from bvi.c:39: ./bvi.h:271:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void docmdline(), do_over(), do_put(); ^ bvi.c:927:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(nobytes); ^ bvi.c:935:14: warning: passing arguments to 'enlarge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enlarge(n + 1024)) return; ^ bvi.c:937:29: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(n, &undo_buf)) == 0L) ^ bvi.c:945:9: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(loc + n); ^ bvi.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_put(loc, n, buf) ^ In file included from bvi.c:39: ./bvi.h:271:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void docmdline(), do_over(), do_put(); ^ bvi.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] jmpproc(sig) ^ In file included from bvi.c:39: ./bvi.h:269:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void jmpproc(), printline(); ^ bvi.c:987:16: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getcmdstr(line, 1)) break; ^ bvi.c:988:23: warning: passing arguments to 'searching' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_addr = searching(ch1, line, current, maxpos - 1, FALSE); ^ bvi.c:1000:16: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getcmdstr(line, 1)) break; ^ bvi.c:1001:25: warning: passing arguments to 'searching' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_addr = searching(ch1, line, current, maxpos - 1, FALSE); ^ bvi.c:1010:19: warning: passing arguments to 'do_ft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] end_addr = do_ft(ch1, 1); ^ bvi.c:1019:21: warning: passing arguments to 'do_ft' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] start_addr = do_ft(ch1, 1); ^ bvi.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] range(ch) ^ In file included from bvi.c:39: ./bvi.h:265:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] off_t range(); ^ 103 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c comm.c comm.c:117:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Command too long"); ^ comm.c:134:30: warning: passing arguments to 'calc_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((start_addr = calc_addr(&cmd, mem)) == NULL) { ^ comm.c:141:29: warning: passing arguments to 'calc_addr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((end_addr = calc_addr(&cmd, maxpos - 1)) == NULL) { ^ comm.c:154:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Addr1 > addr2|First address exceeds second"); ^ comm.c:158:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Not that many bytes@in buffer"); ^ comm.c:163:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:172:10: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(end_addr); ^ comm.c:179:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Incomplete shell escape command@- use 'shell' to get a shell"); ^ comm.c:185:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(oldbuf); ^ comm.c:187:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No previous command@to substitute for !"); ^ comm.c:193:8: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save(name, mem, maxpos, WRITE); ^ comm.c:196:17: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (edits) msg("[No write]|[No write since last change]"); ^ comm.c:213:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:226:31: warning: passing arguments to 'do_substitution' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] repl_count = do_substitution(*cmd, cmd + 1, start_addr, end_addr); ^ comm.c:228:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No previous substitute re|No previous substitute regular expression"); ^ comm.c:233:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Fail|Substitute pattern matching failed"); ^ comm.c:236:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ comm.c:243:30: warning: passing arguments to 'searching' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((current = searching(*cmd, cmd + 1, current, ^ comm.c:246:13: warning: passing arguments to 'printline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printline(current, maxy - 1); ^ comm.c:249:20: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (wait_return(FALSE)) return; ^ comm.c:254:15: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wait_return(TRUE); ^ comm.c:257:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(notfound); ^ comm.c:264:16: warning: passing arguments to 'do_mark' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_mark(*cmd, start_addr); ^ comm.c:274:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Write forms are 'w' and 'w>>'"); ^ comm.c:278:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Not yet implemented"); ^ comm.c:290:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(ambigous); ^ comm.c:296:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No filename@to substitute for %"); ^ comm.c:308:30: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (c_argc == 0) ok = save(name, start_addr, end_addr, saveflag); ^ comm.c:309:19: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else ok = save(c_argv[0], start_addr, end_addr, saveflag); ^ comm.c:312:18: warning: passing arguments to 'save_chk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ok = save_chk(name, start_addr, end_addr, saveflag); ^ comm.c:317:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:324:12: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Cannot append to a block special file"); ^ comm.c:327:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ok = save(c_argv[0], start_addr, end_addr, saveflag); ^ comm.c:331:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No such file"); ^ comm.c:338:16: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ok = save(c_argv[0], start_addr, end_addr, saveflag); ^ comm.c:354:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR)) return; ^ comm.c:356:9: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doset(NULL); ^ comm.c:359:14: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (doset(c_argv[n])) return; ^ comm.c:363:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:371:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ comm.c:373:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|ONE_FILE)) return; ^ comm.c:374:14: warning: passing arguments to 'read_rc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (read_rc(c_argv[0])) sysemsg(c_argv[0]); ^ comm.c:374:34: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (read_rc(c_argv[0])) sysemsg(c_argv[0]); ^ comm.c:377:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|ONE_FILE)) return; ^ comm.c:381:10: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save(name, mem, maxpos, WRITE); ^ comm.c:385:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:394:32: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chdir(c_argv[0])) sysemsg(c_argv[0]); ^ comm.c:402:18: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) doecmd(&cmd[2], TRUE); ^ comm.c:404:18: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) doecmd(&cmd[1], FALSE); ^ comm.c:407:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|MAX_ONE_FILE)) return; ^ comm.c:408:9: warning: passing arguments to 'doecmd' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doecmd(c_argv[0], force); ^ comm.c:410:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|MAX_ONE_FILE)) return; ^ comm.c:412:11: warning: passing arguments to 'fileinfo' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo(name); ^ comm.c:414:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|MAX_ONE_FILE)) return; ^ comm.c:417:15: warning: passing arguments to 'addfile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!addfile(c_argv[0])) { ^ comm.c:423:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:426:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:430:10: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save(name, mem, maxpos, WRITE); ^ comm.c:434:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:440:23: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (force) stuffin(":e! "); ^ comm.c:441:17: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else stuffin(":e "); ^ comm.c:442:11: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin(files[++curfile]); ^ comm.c:443:11: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin("\n"); ^ comm.c:445:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No more files@to edit!"); ^ comm.c:447:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:453:10: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save(name, mem, maxpos, WRITE); ^ comm.c:457:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:463:21: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (force) stuffin(":e! "); ^ comm.c:464:16: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else stuffin(":e "); ^ comm.c:465:10: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin(files[0]); ^ comm.c:466:10: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin("\n"); ^ comm.c:468:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|MAX_ONE_ARG)) return; ^ comm.c:469:13: warning: passing arguments to 'do_ins_chg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_ins_chg(start_addr, c_argc == 1 ? c_argv[0] : "a", U_APPEND); ^ comm.c:471:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(MAX_ONE_ARG)) return; ^ comm.c:473:13: warning: passing arguments to 'do_ins_chg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_ins_chg(start_addr, c_argc == 1 ? c_argv[0] : "a", U_EDIT); ^ comm.c:475:26: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (c_argc == 0) { emsg("Mark what?"); return; } ^ comm.c:476:52: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (c_argc > 1 || (strlen(c_argv[0]) > 1)) { emsg(extra); return; } ^ comm.c:478:10: warning: passing arguments to 'do_mark' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_mark(c_argv[0][0], start_addr); ^ comm.c:481:26: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((yanked = alloc_buf(yanked, &yank_buf)) == 0L) return; ^ comm.c:484:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ comm.c:486:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ARG)) return; ^ comm.c:488:10: warning: passing arguments to 'do_over' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_over(start_addr, yanked, yank_buf); ^ comm.c:490:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:493:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:495:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ comm.c:497:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:503:15: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ADDR|NO_ARG)) return; ^ comm.c:507:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:511:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:518:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(LSHIFT, c_argv[0]); ^ comm.c:520:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(LSHIFT, "1"); ^ comm.c:521:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:524:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(RSHIFT, c_argv[0]); ^ comm.c:526:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(RSHIFT, "1"); ^ comm.c:527:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:530:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(LROTATE, c_argv[0]); ^ comm.c:532:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(LROTATE, "1"); ^ comm.c:533:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:536:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(RROTATE, c_argv[0]); ^ comm.c:538:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(RROTATE, "1"); ^ comm.c:539:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:542:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(AND, c_argv[0]); ^ comm.c:544:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(noval); return; ^ comm.c:545:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:548:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(OR, c_argv[0]); ^ comm.c:550:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(noval); return; ^ comm.c:551:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:554:12: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(XOR, c_argv[0]); ^ comm.c:556:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(noval); return; ^ comm.c:557:19: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else { emsg(ambvalue); return; } ^ comm.c:559:26: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (c_argc != 0) { emsg(extra); return; } ^ comm.c:560:11: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(NEG, "255"); ^ comm.c:562:26: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (c_argc != 0) { emsg(extra); return; } ^ comm.c:563:11: warning: passing arguments to 'do_logic' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(NOT, "255"); ^ comm.c:569:14: warning: passing arguments to 'do_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_delete(undo_count, start_addr); ^ comm.c:571:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ comm.c:573:17: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(MAX_ONE_ARG)) return; ^ comm.c:575:15: warning: passing arguments to 'do_ins_chg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_ins_chg(start_addr - 1, c_argc == 1 ? c_argv[0] : "a", U_INSERT); ^ comm.c:577:17: warning: passing arguments to 'chk_comm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (chk_comm(NO_ARG)) return; ^ comm.c:579:11: warning: passing arguments to 'do_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_put(start_addr, yanked, yank_buf); ^ comm.c:581:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:591:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docmdline(cmdline) ^ In file included from comm.c:37: ./bvi.h:271:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void docmdline(), do_over(), do_put(); ^ comm.c:623:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(ambvalue); ^ comm.c:640:12: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:643:15: warning: passing arguments to 'save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return save(fname, start, end, flags); ^ comm.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] save_chk(fname, start, end, flags) ^ In file included from comm.c:37: ./bvi.h:281:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int save_chk(); ^ comm.c:654:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:669:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ comm.c:684:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No alternate filename@to substitute for #"); ^ comm.c:699:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No file|No current filename"); ^ comm.c:704:17: warning: passing arguments to 'load' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] filesize = load(name); ^ comm.c:706:16: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(current < maxpos ? current : maxpos - 1L); ^ comm.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doecmd(arg, force) ^ In file included from comm.c:37: ./bvi.h:272:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int doecmd(); ^ comm.c:740:14: warning: passing arguments to 'outmsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cnt = outmsg(s); ^ comm.c:744:14: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wait_return(TRUE); } ^ comm.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(s) ^ In file included from comm.c:37: ./bvi.h:294:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void setpage(), msg(), emsg(), smsg(); ^ comm.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(s) ^ In file included from comm.c:37: ./bvi.h:299:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void quit(), sysemsg(), do_z(), stuffin(); ^ comm.c:771:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(s); ^ comm.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smsg(s) ^ In file included from comm.c:37: ./bvi.h:294:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void setpage(), msg(), emsg(), smsg(); ^ comm.c:790:12: warning: passing arguments to 'outmsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (outmsg(s) >= (maxx - stchar)) { ^ comm.c:792:14: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wait_return(TRUE); ^ comm.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(s) ^ In file included from comm.c:37: ./bvi.h:294:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void setpage(), msg(), emsg(), smsg(); ^ comm.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] outmsg(s) ^ In file included from comm.c:37: ./bvi.h:280:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int outmsg(); ^ comm.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wait_return(flag) ^ In file included from comm.c:37: ./bvi.h:306:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int wait_return(); ^ comm.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] chk_comm(flag) ^ In file included from comm.c:37: ./bvi.h:270:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int chk_comm(); ^ 156 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c set.c set.c:79:12: warning: passing arguments to 'showparms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showparms(FALSE); ^ set.c:83:12: warning: passing arguments to 'showparms' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showparms(TRUE); ^ set.c:110:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(buf); ^ set.c:114:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Can't change type of terminal from within bvi"); ^ set.c:122:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ set.c:147:13: warning: passing arguments to 'stuffin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin("H"); /* set cursor at HOME */ ^ set.c:152:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Invalid set of boolean parameter"); ^ set.c:167:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No such option@- `set all' gives all option values"); ^ set.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doset(arg) ^ In file included from set.c:34: ./bvi.h:277:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int doset(); ^ set.c:189:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg("Parameters:\n"); ^ set.c:201:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(buf); ^ set.c:204:19: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (wait_return(FALSE)) return; ^ set.c:208:13: warning: passing arguments to 'wait_return' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wait_return(TRUE); ^ set.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] showparms(all) ^ In file included from set.c:34: ./bvi.h:296:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void showparms(), toggle(), scrolldown(), scrollup(); ^ set.c:224:12: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docmdline(fbuf); ^ set.c:214: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_rc(fn) ^ In file included from set.c:34: ./bvi.h:303:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int lineout(), save(), at_least(), read_rc(); ^ set.c:245:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(err_str); ^ set.c:271:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(err_str); ^ set.c:275:29: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf((off_t)(end_addr - start_addr + 1), &undo_buf))) { ^ set.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_logic(mode, str) ^ In file included from set.c:34: ./bvi.h:275:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int do_append(), do_logic(); ^ set.c:361:20: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(""); ^ set.c:368:16: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(""); ^ set.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcmdstr(p, x) ^ In file included from set.c:34: ./bvi.h:304:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int getcmdstr(), enlarge(); ^ 28 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c re.c re.c:71:18: warning: passing arguments to 'sbracket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (sbracket(test, scan, count)) return NULL; ^ re.c:96:20: warning: passing arguments to 'sbracket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (sbracket(test, scan, count)) return NULL; ^ re.c:102:22: warning: passing arguments to 'sbracket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(!sbracket(test, scan, count)) { ^ re.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] bregexec(start, scan) ^ In file included from re.c:36: ./bvi.h:286:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR bregexec(); ^ re.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] sbracket(start, scan, count) ^ re.c:39:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int sbracket(); ^ re.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] end_word(start) ^ In file included from re.c:36: ./bvi.h:290:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR end_word(); ^ re.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wordsearch(start, mode) ^ In file included from re.c:36: ./bvi.h:283:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR wordsearch(); ^ re.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] backsearch(start, mode) ^ In file included from re.c:36: ./bvi.h:284:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR backsearch(); ^ re.c:244:15: warning: passing arguments to 'patcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmd = patcpy(pattern, line, ch); ^ re.c:246:17: warning: passing arguments to 'ascii_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ascii_comp(find_pat, pattern)) return 0; ^ re.c:247:15: warning: passing arguments to 'patcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmd = patcpy(pattern, cmd, ch); /* Replace Pattern */ ^ re.c:260:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ re.c:273:15: warning: passing arguments to 'patcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmd = patcpy(pattern, line, ch); ^ re.c:274:15: warning: passing arguments to 'hex_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hex_comp(find_pat, pattern)) return 0; ^ re.c:275:15: warning: passing arguments to 'patcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmd = patcpy(pattern, cmd, ch); /* Replace Pattern */ ^ re.c:283:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Badly formed replacement pattern"); ^ re.c:296:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Extra chars|Extra characters at end of command"); ^ re.c:300:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No previous substitute re|No previous substitute to repeat"); ^ re.c:316:30: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf((off_t)(endpos - startpos), &undo_buf))) { ^ re.c:325:18: warning: passing arguments to 'fsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = fsearch(startpos + 1, endpos, find_pat); ^ re.c:327:18: warning: passing arguments to 'rsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = rsearch(startpos - 1, mem, find_pat); ^ re.c:332:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(notfound); ^ re.c:339:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ re.c:344:10: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(found); ^ re.c:347:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg("Replace?"); ^ re.c:354:31: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf((off_t)pat_len, &undo_buf))) { ^ re.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] do_substitution(delim, line, startpos, endpos) ^ In file included from re.c:36: ./bvi.h:278:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int do_substitution(); ^ re.c:393:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(noprev); ^ re.c:411:16: warning: passing arguments to 'patcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmd = patcpy(pattern, line, ch); ^ re.c:413:19: warning: passing arguments to 'ascii_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ascii_comp(search_pat, pattern)) return 0L; ^ re.c:420:16: warning: passing arguments to 'patcpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cmd = patcpy(pattern, line, ch); ^ re.c:422:17: warning: passing arguments to 'hex_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hex_comp(search_pat, pattern)) break; ^ re.c:430:6: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(m); ^ re.c:437:18: warning: passing arguments to 'fsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = fsearch(startpos + 1, endpos, search_pat); ^ re.c:441:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg("Search wrapped BOTTOM|Search wrapped around BOTTOM of buffer"); ^ re.c:442:20: warning: passing arguments to 'fsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = fsearch(mem, startpos, search_pat); ^ re.c:445:18: warning: passing arguments to 'rsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = rsearch(startpos - 1, mem, search_pat); ^ re.c:449:8: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg("Search wrapped TOP|Search wrapped around TOP of buffer"); ^ re.c:450:20: warning: passing arguments to 'rsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] found = rsearch(endpos, startpos, search_pat); ^ re.c:455:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(notfound); ^ re.c:463:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(string); ^ re.c:466:10: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(found); ^ re.c:469:18: warning: passing arguments to 'do_z' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'z': do_z(*++cmd); ^ re.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] searching(ch, line, startpos, endpos, flag) ^ In file included from re.c:36: ./bvi.h:282:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR searching(); ^ re.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] patcpy(s1, s2, delim) ^ In file included from re.c:36: ./bvi.h:293:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *patcpy(); ^ re.c:517:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (*s_end = bregexec(spos, smem)) { ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ re.c:517:14: note: place parentheses around the assignment to silence this warning if (*s_end = bregexec(spos, smem)) { ^ ( ) re.c:517:14: note: use '==' to turn this assignment into an equality comparison if (*s_end = bregexec(spos, smem)) { ^ == re.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsearch_end(start, end, smem, s_end) ^ In file included from re.c:36: ./bvi.h:288:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR fsearch_end(); ^ re.c:519:4: warning: expression result unused [-Wunused-value] *s_end++; ^~~~~~~~ re.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsearch(start, end, smem) ^ In file included from re.c:36: ./bvi.h:287:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR fsearch(); ^ re.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rsearch(start, end, smem) ^ In file included from re.c:36: ./bvi.h:289:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR rsearch(); ^ re.c:598:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Marks are ' and a-z"); ^ re.c:602:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Mark not defined"); ^ re.c:612:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(noprev); ^ re.c:618:20: warning: passing arguments to 'ascii_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ascii_comp(search_pat, pattern)) return NULL; ^ re.c:620:18: warning: passing arguments to 'hex_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hex_comp(search_pat, pattern)) return NULL; ^ re.c:629:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(noprev); ^ re.c:635:20: warning: passing arguments to 'ascii_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ascii_comp(search_pat, pattern)) return NULL; ^ re.c:637:18: warning: passing arguments to 'hex_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hex_comp(search_pat, pattern)) return NULL; ^ re.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] calc_addr(pointer, def_addr) ^ In file included from re.c:36: ./bvi.h:291:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR calc_addr(); ^ 71 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c io.c io.c:94:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No file|No current filename"); ^ io.c:99:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Out of memory"); ^ io.c:107:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ io.c:112:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ io.c:127:16: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:138:12: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:143:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg("Null range"); ^ io.c:155:10: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:162:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ io.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] save(fname, start, end, flags) ^ In file included from io.c:34: ./bvi.h:303:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int lineout(), save(), at_least(), read_rc(); ^ io.c:213:12: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:238:21: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:270:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Out of memory"); ^ io.c:276:11: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:291:7: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(fname_buf); ^ io.c:297:20: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:324:29: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (filemode != ERROR) msg(fname_buf); ^ io.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] load(fname) ^ In file included from io.c:34: ./bvi.h:300:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] off_t edit(), load(); ^ io.c:352:12: warning: passing arguments to 'docmdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] docmdline(initstr); ^ io.c:369:38: warning: passing arguments to 'read_rc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (buf.st_uid == getuid()) read_rc(rcpath); ^ io.c:374:38: warning: passing arguments to 'read_rc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (buf.st_uid == getuid()) read_rc(rcpath); ^ io.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] bvi_init(dir) ^ In file included from io.c:34: ./bvi.h:295:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void usage(), bvi_init(), statpos(), setcur(); ^ io.c:398:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Out of memory"); ^ io.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enlarge(add) ^ In file included from io.c:34: ./bvi.h:304:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int getcmdstr(), enlarge(); ^ io.c:472:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No buffer space available"); ^ io.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc_buf(n, buffer) ^ In file included from io.c:34: ./bvi.h:264:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] off_t alloc_buf(), yd_addr(); ^ io.c:487:10: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:491:10: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:497:10: warning: passing arguments to 'sysemsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sysemsg(fname); ^ io.c:503:9: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(mem + oldsize); ^ io.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] addfile(fname) ^ In file included from io.c:34: ./bvi.h:263:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int addfile(); ^ 37 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c edit.c edit.c:91:15: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (alloc_buf(buffer, &undo_buf) == 0L) { ^ edit.c:99:9: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smsg("REPLACE MODE"); ^ edit.c:102:9: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smsg("REPLACE 1 CHAR"); ^ edit.c:106:9: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smsg("INSERT MODE"); ^ edit.c:186:17: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (alloc_buf(buffer, &undo_buf) == 0L) { ^ edit.c:193:11: warning: passing arguments to 'cur_forw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_forw(0); ^ edit.c:203:15: warning: passing arguments to 'enlarge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enlarge(100L)) break; ^ edit.c:222:16: warning: passing arguments to 'enlarge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (enlarge(psize + 100L)) return count; ^ edit.c:225:18: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (alloc_buf(psize + count, &undo_buf) == 0L) ^ edit.c:249:11: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(current); ^ edit.c:262:11: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(++curpos); ^ edit.c:269:13: warning: passing arguments to 'cur_forw' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_forw(0); ^ edit.c:279:6: warning: passing arguments to 'smsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] smsg(""); ^ edit.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] edit(mode) ^ In file included from edit.c:32: ./bvi.h:300:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] off_t edit(), load(); ^ edit.c:357:11: warning: passing arguments to 'setpage' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(ptr); ^ edit.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_ft(ch, flag) ^ In file included from edit.c:32: ./bvi.h:292:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] PTR do_ft(); ^ edit.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_z(mode) ^ In file included from edit.c:32: ./bvi.h:299:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void quit(), sysemsg(), do_z(), stuffin(); ^ edit.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrolldown(lns) ^ In file included from edit.c:32: ./bvi.h:296:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void showparms(), toggle(), scrolldown(), scrollup(); ^ edit.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scrollup(lns) ^ In file included from edit.c:32: ./bvi.h:296:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void showparms(), toggle(), scrolldown(), scrollup(); ^ edit.c:549:28: warning: passing arguments to 'fsearch_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hl_start = fsearch_end(f_start, f_end, search_pat, &hl_end); ^ edit.c:558:41: warning: passing arguments to 'fsearch_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hl_start = fsearch_end(f_start, f_end, search_pat, &hl_end); ^ edit.c:579:37: warning: passing arguments to 'fsearch_end' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hl_start = fsearch_end(f_start, f_end, search_pat, &hl_end); ^ edit.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printline(mempos, scpos) ^ In file included from edit.c:32: ./bvi.h:269:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void jmpproc(), printline(); ^ edit.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setpage(addr) ^ In file included from edit.c:32: ./bvi.h:294:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void setpage(), msg(), emsg(), smsg(); ^ edit.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_forw(check) ^ In file included from edit.c:32: ./bvi.h:302:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int cur_forw(), cur_back(); ^ edit.c:773:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Out of memory"); ^ edit.c:780:8: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Out of memory"); ^ edit.c:799:5: warning: passing arguments to 'msg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] msg(string); ^ edit.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fileinfo(fname) ^ In file included from edit.c:32: ./bvi.h:297:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void fileinfo(); ^ edit.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stuffin(s) ^ In file included from edit.c:32: ./bvi.h:299:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void quit(), sysemsg(), do_z(), stuffin(); ^ edit.c:857:29: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(n, &undo_buf)) == 0L) ^ edit.c:859:23: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yanked = alloc_buf(n, &yank_buf); ^ edit.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_back(n, start) ^ In file included from edit.c:32: ./bvi.h:268:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void do_back(), do_ins_chg(); ^ edit.c:881:29: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(n, &undo_buf)) == 0L) ^ edit.c:883:20: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] yanked = alloc_buf(n, &yank_buf); ^ edit.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_delete(n, start) ^ In file included from edit.c:32: ./bvi.h:276:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int do_delete(); ^ edit.c:934:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No such option"); ^ edit.c:938:15: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getcmdstr(cmdstr, 0) == 1) { ^ edit.c:942:15: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (alloc_buf(buffer, &tempbuf) == 0L) return; ^ edit.c:969:10: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Invalid value"); ^ edit.c:977:16: warning: passing arguments to 'getcmdstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getcmdstr(cmdstr, 0) == 1) { ^ edit.c:988:9: warning: passing arguments to 'do_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_put(start, count, tempbuf); ^ edit.c:991:10: warning: passing arguments to 'do_over' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_over(start, count, tempbuf); ^ edit.c:994:30: warning: passing arguments to 'alloc_buf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((undo_count = alloc_buf(count, &undo_buf)) == 0L) { ^ edit.c:998:12: warning: passing arguments to 'do_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_append((off_t)count, tempbuf); ^ edit.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_ins_chg(start, arg, mode) ^ In file included from edit.c:32: ./bvi.h:268:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void do_back(), do_ins_chg(); ^ edit.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_mark(mark, addr) ^ In file included from edit.c:32: ./bvi.h:267:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void do_mark(), badcmd(), movebyte(); ^ edit.c:1037:6: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Command disabled@- use ':set memmove' to enable "); ^ 62 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c recomp.c recomp.c:74:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Missing ]"); ^ recomp.c:78:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(emptyclass); ^ recomp.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] ascii_comp(smem, pattern) ^ In file included from recomp.c:31: ./bvi.h:301:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int ascii_comp(), hex_comp(); ^ recomp.c:186:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Missing ]"); ^ recomp.c:192:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(emptyclass); ^ recomp.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hex_comp(smem, pattern) ^ In file included from recomp.c:31: ./bvi.h:301:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int ascii_comp(), hex_comp(); ^ recomp.c:277:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Bad hex character@in expression"); ^ 9 warnings generated. cc -o bvi bvi.o comm.o set.o re.o io.o edit.o recomp.o -lncurses ld: warning: bvi.c:0(bvi.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: bvi.c:283(bvi.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: comm.c:367(comm.o:(docmdline)): warning: strcat() is almost always misused, please use strlcat() cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -DHELPFILE=\"/usr/local/share/bvi/bmore.help\" -c bmore.c bmore.c:223:19: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (open_file(name)) { /* looking for the first existing file */ ^ bmore.c:224:11: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(1); ^ bmore.c:249:11: warning: passing arguments to 'bmsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmsearch(init_search); ^ bmore.c:255:19: warning: passing arguments to 'printout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(!printout(1)); ^ bmore.c:256:11: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(1); ^ bmore.c:257:13: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_file(name); ^ bmore.c:264:15: warning: passing arguments to 'printout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (printout(maxy)) { ^ bmore.c:265:11: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(1); ^ bmore.c:276:21: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (open_file(name)) { ^ bmore.c:277:13: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(1); ^ bmore.c:357:14: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(precount); ^ bmore.c:365:14: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(-precount); ^ bmore.c:380:18: warning: passing arguments to 'rdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (rdline(colon, estring)) break; ^ bmore.c:381:15: warning: passing arguments to 'doshell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doshell(estring); ^ bmore.c:392:15: warning: passing arguments to 'rdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (rdline(ch, estring)) break; ^ bmore.c:393:12: warning: passing arguments to 'doshell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doshell(estring); ^ bmore.c:460:17: warning: passing arguments to 'rdline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (rdline(ch, sstring)) break; ^ bmore.c:464:14: warning: passing arguments to 'bmsearch' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmsearch(ch); ^ bmore.c:492:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Can't open help file"); ^ bmore.c:514:14: warning: passing arguments to 'doshell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] doshell(string); ^ bmore.c:520:11: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("[Press 'h' for instructions.]"); ^ bmore.c:527:16: warning: passing arguments to 'printout' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (printout(to_print)) { ^ bmore.c:528:12: warning: passing arguments to 'do_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(1); ^ bmore.c:116: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) ^ bmore.c:566:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No previous command"); ^ bmore.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rdline(ch, sstring) ^ In file included from bmore.c:51: ./bmore.h:163:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int printout(), rdline(); ^ bmore.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] do_next(n) ^ In file included from bmore.c:51: ./bmore.h:159:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void do_next(); ^ bmore.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] open_file(name) ^ In file included from bmore.c:51: ./bmore.h:162:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int open_file(); ^ bmore.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putline(buf, num) ^ In file included from bmore.c:51: ./bmore.h:168:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void putline(); ^ bmore.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] printout(lns) ^ In file included from bmore.c:51: ./bmore.h:163:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int printout(), rdline(); ^ bmore.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pushback(n, where) ^ In file included from bmore.c:51: ./bmore.h:161:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void pushback(); ^ bmore.c:806:18: warning: passing arguments to 'sbracket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (sbracket(test, scan, count)) { ^ bmore.c:842:20: warning: passing arguments to 'sbracket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (sbracket(test, scan, count)) { ^ bmore.c:858:22: warning: passing arguments to 'sbracket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while(!sbracket(test, scan, count)) { ^ bmore.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmregexec(scan) ^ In file included from bmore.c:51: ./bmore.h:166:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int bmregexec(); ^ bmore.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sbracket(start, scan, count) ^ In file included from bmore.c:51: ./bmore.h:165:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] int sbracket(); ^ bmore.c:917:7: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("No previous regular expression"); ^ bmore.c:922:17: warning: passing arguments to 'ascii_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ascii_comp(bmore_search_pat, sstring)) return; ^ bmore.c:926:15: warning: passing arguments to 'hex_comp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (hex_comp(bmore_search_pat, sstring)) return; ^ bmore.c:946:9: warning: passing arguments to 'emsg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg("Pattern not found"); ^ bmore.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] bmsearch(ch) ^ In file included from bmore.c:51: ./bmore.h:160:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void bmsearch(); ^ bmore.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] emsg(s) ^ In file included from bmore.c:51: ./bmore.h:158:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void doshell(), emsg(); ^ 52 warnings generated. cc -O2 -pipe -g -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DHAVE_CONFIG_H -c bm_unix.c bm_unix.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] putchr(ch) ^ bm_unix.c:146: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(sig) ^ In file included from bm_unix.c:30: ./bmore.h:157:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void normal(), bmbeep(), home(), sig(); ^ bm_unix.c:164:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *getenv(); ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here char *getenv(const char *); ^ bm_unix.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] doshell(cmd) ^ In file included from bm_unix.c:30: ./bmore.h:158:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] void doshell(), emsg(); ^ 6 warnings generated. cc -o bmore bmore.o bm_unix.o recomp.o -lncurses ld: warning: bm_unix.c:179(bm_unix.o:(doshell)): warning: sprintf() is often misused, please use snprintf() ld: warning: bmore.c:191(bmore.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: bmore.c:571(bmore.o:(rdline)): warning: strcat() is almost always misused, please use strlcat() >>> Running package in editors/bvi at 1734971538.87 ===> editors/bvi ===> Faking installation for bvi-1.4.2p0 /bin/sh ./mkinstalldirs /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/bin /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/share/bvi /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/man/man1 mkdir -p -- /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/share/bvi /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/man/man1 Installing bvi Reading existing plist for bvi-1.4.2p0 Writing /exopi-obj/pobj/bvi-1.4.2/fake-amd64/debug-pkg/Makefile.new Writing /exopi-obj/pobj/bvi-1.4.2/fake-amd64/debug-pkg/PLIST Renaming /exopi-obj/pobj/bvi-1.4.2/fake-amd64/debug-pkg/Makefile.new to Makefile > Extracting debug info from /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/bin/bmore > Extracting debug info from /exopi-obj/pobj/bvi-1.4.2/fake-amd64/usr/local/bin/bvedit ===> Building package for bvi-1.4.2p0 Create /exopi-cvs/ports/packages/amd64/all/bvi-1.4.2p0.tgz Creating package bvi-1.4.2p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******* | 12% checksumming|*********** | 18% checksumming|************** | 24% checksumming|****************** | 29% checksumming|********************** | 35% checksumming|************************* | 41% checksumming|***************************** | 47% checksumming|******************************** | 53% checksumming|************************************ | 59% checksumming|*************************************** | 65% checksumming|******************************************* | 71% checksumming|*********************************************** | 76% checksumming|************************************************** | 82% checksumming|****************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*************** | 23% archiving|**************************************************** | 81% archiving|****************************************************** | 85% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Creating package debug-bvi-1.4.2p0 reading plist| checking dependencies| checking dependencies|editors/bvi checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********* | 15% checksumming|************** | 23% checksumming|******************* | 31% checksumming|*********************** | 38% checksumming|**************************** | 46% checksumming|********************************* | 54% checksumming|************************************** | 62% checksumming|****************************************** | 69% checksumming|*********************************************** | 77% checksumming|**************************************************** | 85% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************** | 31% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/bvi-1.4.2p0.tgz Link to /exopi-cvs/ports/packages/amd64/ftp/debug-bvi-1.4.2p0.tgz >>> Running clean in editors/bvi at 1734971541.59 ===> editors/bvi ===> Cleaning for bvi-1.4.2p0 >>> Ended at 1734971541.78 max_stuck=0.00/depends=1.17/show-prepare-results=0.69/build=9.86/package=2.75/clean=0.23