* Package: app-misc/splitvt-1.6.6-r3:0 * Repository: gentoo * Maintainer: shell-tools@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking splitvt-1.6.6.tar.gz to /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>> Unpacking splitvt_1.6.6-7.diff.gz to /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>> Source unpacked in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work >>> Preparing source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... * Applying splitvt_1.6.6-7.diff ... [ ok ] * Applying 1.6.6-ldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... Making configuration... config.c:8:18: warning: '/*' within block comment [-Wcomment] /*#define DEBUG /* Provides extra debugging info */ ^ config.c:17:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int exists(dir, file) ^ config.c:32:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int config.c:116:7: warning: call to undeclared function 'grep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ( grep(INCLUDE, "utmp.h", "ut_host") ) { ^ config.c:176:8: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) ^ config.c:176:54: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ( (access("/var/run/utmp", (R_OK|W_OK)) == 0) && getuid() ) ^ config.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ config.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int grep(dir, file, word) ^ 8 warnings generated. Aha! You are running Linux! Congratulations on the choice of a GNU generation. Your utmp file uses the host field. I will use termio tty structures. I will use your sockets definition header. I will use wait4() instead of waitpid(). If installed set-uid root, this program will put entries for its windows in /var/run/utmp, and will also change ownership of the ttys it acquires to the user running this program. Done. Type 'make' to build >>> Source configured. '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/clang14.log' -> '/var/tmp/clang/app-misc/splitvt-1.6.6-r3/clang14.log' '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/clang15.log' -> '/var/tmp/clang/app-misc/splitvt-1.6.6-r3/clang15.log' >>> Compiling source in /var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6 ... make -j4 clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o splitvt.o splitvt.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o misc.o misc.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o utmp.o utmp.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o vt100.o vt100.c misc.c:94:13: warning: passing arguments to 'pty_setwin' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pty_setwin(0, win); ^ misc.c:109:11: warning: passing arguments to 'myputenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myputenv(SPLITVT); ^ misc.c:110:11: warning: passing arguments to 'myputenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] myputenv("TERM=vt100"); /* Put the new TERM in the env. */ ^ misc.c:48:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int pty_open(argv, childpid, win) ^ vt100.c:58:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void reset_escape(win) ^ vt100.c:74:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void vt_resetwin(win) ^ vt100.c:94:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void vt_checkwin(win) ^ vt100.c:119:14: warning: passing arguments to 'vt_setscroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setscroll(curwin->scr_upper+curwin->row_offset, misc.c:216:14: 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] extern char *ptsname(); ^ /usr/include/stdlib.h:1008:14: note: conflicting prototype is here extern char *ptsname (int __fd) __THROW __wur; ^ ^ vt100.c:121misc.c:405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void d_copy(src, dst, len) ^ misc.c::4129::6: warning: a function definition without a prototype iswarning: passingdeprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argumentsvoid d_zero(dst, len) ^ to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, curwin->cursor.y); ^ vt100.c:126:17: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is misc.c:465:5: warning: a not supportedfunction definition withoutin a prototype is deprecatedC2x in[-Wdeprecated-non-prototype] all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(i, curwin->charset[i]); int tty_getmode(fd) ^ ^ vt100.c:129:14: warning: passing arguments to 'vt_keystate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_keystate(curwin->key_state); ^ vt100.c:131:13: warning: passing arguments to 'vt_setattr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setattr((int)curwin->textattr); ^ vt100.c:106:6: warning: a function definition without a prototype ismisc.c:492 :5: warning: deprecateda function definition without a prototype is deprecated in all versions in of C and is all not supported in C2x versions of C and is[-Wdeprecated-non-prototype] notint tty_sane(fd) ^ supported in C2x [-Wdeprecated-non-prototype] void set_win(which) ^ In file included from vt100.c:25: ./vt100.h:5:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated utmp.cas a zero-parameter prototype in C2x, conflicting :with a subsequent definition [-Wdeprecated-non-prototype] 76:5: warning: a extern void set_win(); /* Move the cursor to current window */function ^ definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] misc.c:536:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int tty_raw(fd) ^ int get_utmp(tty, save) ^ misc.c:571:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int tty_reset(fd) ^ misc.c:686:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pty_setwin(fd, win) ^ vt100.c:144:38: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] (void) check_attr(0, win->textattr, (int)&on); ^~~~~~~~ vt100.c:138:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void set_attr(win) ^ misc.c:714:5: warning: a function definition without a prototype is deprecated in vt100.call: 160versions: 11of: Cwarning: passingand argumentsis tonot 'vt_bold'supported withoutin aC2x prototype [-Wdeprecated-non-prototype]is deprecated in all int writen(fd, ptr, nbytes)versions ^of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_bold(1); ^ vt100.c:167:16: warning: passing arguments to 'vt_underline' without a prototype is deprecated in all versions of C and is not supported in C2x utmp.c[-Wdeprecated-non-prototype] :113: vt_underline(1);5 : ^ warning: a function definition without a prototypevt100.c :is171 :deprecated12 : inwarning: passing allarguments versionsto 'vt_blink'of withoutC aand prototypeis isnot supporteddeprecated inin allC2x versions [-Wdeprecated-non-prototype]of C and is int set_utmp(tty, save)not supported ^ in C2x [-Wdeprecated-non-prototype] vt_blink(1); ^ vt100.c:175:14: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(1); ^ vt100.c:182:11: warning: passing arguments to 'vt_bold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_bold(0); ^ vt100.c:186:16: warning: passing arguments to 'vt_underline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_underline(0); ^ vt100.c:190:12: warning: passing arguments to 'vt_blink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_blink(0); ^ vt100.c:194:14: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(0); ^ vt100.c:204:12: warning: passing arguments to 'vt_setfg' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setfg(n-30); ^ vt100.c:214:12: warning: passing arguments to 'vt_setbg' without a prototype is deprecated in all misc.c:739:versions7: warning: a function definition without a of prototype is deprecated in all versions C of C and is not supported andin C2x [-Wdeprecated-non-prototype] ischar *myputenv(string) ^ not supported in C2x [-Wdeprecated-non-prototype] vt_setbg(n-40); ^ vt100.c:149:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void process_m(win, n) ^ misc.c:776:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt100.c:241static int istoken(c, tokens) ^ :13: warning: passing arguments to 'vt_left' without autmp.c:162:5: prototype iswarning: a deprecatedfunction indefinition allwithout versionsa of prototypeC isand misc.c is not supported :in789 C2x [-Wdeprecated-non-prototype]: 6: warning: vt_left(curwin->esc_param[0]); ^ a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void tokenize(array, size, line, tokens) ^ vt100.c:250:13: warning: passing arguments to 'vt_right' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_right(curwin->cursor.y - i); ^ vt100.c:257:18: warning: passing arguments to 'scroll_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scroll_video(curwin, 1); ^ vt100.c:281:19: warning: passing arguments to 'scroll_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scroll_video(curwin, 1); ^ vt100.c:285:14: warning: passing arguments to 'add_video' without a prototypemisc.c :is816 : 7deprecated: warning: ina allfunction versionsdefinition ofwithout aC prototypeand isis deprecatednot supportedin inall C2xversions of[-Wdeprecated-non-prototype] C and is not supported in C2x add_video(curwin, c); printf("%c", c); [-Wdeprecated-non-prototype] ^ char *pathsearch(command, secure) ^ vt100.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void scan_for_esc(c, source) ^ vt100.c:45:6: 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 scan_for_esc(); ^ splitvt.c:92:6: warning: a function definition without a prototype is deprecated indeprecated all versions of C and in all is not supportedversions in C2x [-Wdeprecated-non-prototype] of C and isvoid print_usage(argv) ^ not supported in C2x [-Wdeprecated-non-prototype] int addutmp(user, uid, tty) ^ misc.c:877:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILE *safe_popen(command, type) ^ utmp.c:204:14: warning: incompatible pointer types passing 'int32_t *' (aka 'int *') to parameter of type 'time_t *' (aka 'long *') [-Wincompatible-pointer-types] (void) time(&ut.ut_time); ^~~~~~~~~~~ /usr/include/time.h:76:29: note: passing argument to parameter vt100.c:312:18: warning: passing arguments to 'scroll_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] scroll_video(curwin, 1); ^ vt100.c'__timer' here misc.c:942:5:extern time_t time (time_t *__timer) __THROW; ^ warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int safe_pclose(pipefp) ^ utmp.c:221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int delutmp(user, tty) ^ utmp.c:240:15: warning: incompatible pointer types passing 'int32_t *' (aka 'int *') to parameter of type 'time_t *' (aka 'long *') [-Wincompatible-pointer-types] (void) time(&ut.ut_time); ^~~~~~~~~~~ /usr/include/time.h:76:29: note: passing argument to parameter '__timer' here extern time_t time (time_t *__timer) __THROW; ^ :319:21: warning: passing arguments to 'revscroll_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitvt.c revscroll_video(curwin, 1);: 246 ^:22: warning: passing arguments to 'init_vt100' without a vt100.c:326:18: warning: passing arguments to 'scroll_video' without a prototype is deprecated in all prototypeversions of C and is not supportedis indeprecated C2xin [-Wdeprecated-non-prototype] all scroll_video(curwin, 1); ^ versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (ptr=init_vt100(1)) != NULL ) ^ vt100.c:340:12: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, ^ vt100.c:347:16: warning: passing arguments to 'vt_keystate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_keystate(curwin->key_state); ^ vt100.c:351:16: warning: passing arguments to 'vt_keystate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_keystate(curwin->key_state); ^ splitvt.c:264:19: warning: passing arguments to 'event_init' without avt100.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C andprototype is isdeprecated not supported in C2x in[-Wdeprecated-non-prototype] void E_(c, source) ^ allvt100.c:46 :6: warning: a function declaration without aversions prototype is deprecatedof Cin all versions andof isC notand supportedis treated as a zero-parameter prototype in inC2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] C2x void E_(), E_brac(), E_brac_Q(), E_lparen(), E_rparen(), E_pound(); ^ [-Wdeprecated-non-prototype] (void) event_init(stdin, stdout, xterm_title); ^ splitvt.c:294:21: warning: passing arguments to 'insert_dash' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) insert_dash(upper_args); ^ splitvt.c:295:21: warning: passing arguments to 'insert_dash'vt100.c:454:16: warning: passing arguments to 'vt_setscroll' without a prototype is deprecated without ain all versions of C and is not supported in C2x prototype [-Wdeprecated-non-prototype] is vt_setscroll(curwin->scr_upper+curwin->row_offset, ^ deprecated in all versions vt100.c:456:11: warning: passing arguments ofto 'vt_goto'C withoutand ais prototypenot issupported indeprecated C2xin all[-Wdeprecated-non-prototype] versions of C and (void) insert_dash(lower_args);is ^not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, 1); ^ vt100.c:466:10: warning: passing arguments to 'vt_up' without a prototype is deprecated in all versions of C and is not supported splitvt.cin: 317C2x: 9 :[-Wdeprecated-non-prototype] warning: passing arguments vt_up(curwin->esc_param[0]); to ^ 'finish' without a prototype is deprecated in all versions vt100.cof: 469C: 12and: iswarning: passingnot argumentssupported toin 'vt_goto'C2x without [-Wdeprecated-non-prototype]a prototype is finish(0); deprecated ^ in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, ^ vt100.c:481:12: warning: passing arguments to 'vt_down' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_down(curwin->esc_param[0]); ^ vt100.c:484:12: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, ^ vt100.c:496:13: warning: passing arguments to 'vt_right' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_right(curwin->esc_param[0]); ^ vt100.c:499:12: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, ^ splitvt.c:338:9: warning: passing arguments to 'finish' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finish(0); ^ vt100.c:511:12: warning: passing arguments to 'vt_left' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_left(curwin->esc_param[0]); ^ vt100.c:529:11: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->cursor.x+curwin->row_offset, ^ vt100.c:552:17: warning: passing arguments to 'erase_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_video(curwin, ^ vt100.c:566:17: warning: passing arguments to 'erase_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_video(curwin, ^ vt100.c:574:12: warning: passing arguments to 'vt_up' without a prototype is deprecated in all versions of C and is notsplitvt.c: 386:8: warning: passing arguments to 'set_win' without a prototype is deprecated in supported inall versions of C C2xand is [-Wdeprecated-non-prototype]not supported in C2x [-Wdeprecated-non-prototype] vt_up(1); ^ for ( SET_WIN(); (topok || bottomok); ) ^ ./splitvt.h:19:26: note: expandedvt100.c :from580 :macro17 :'SET_WIN' warning: passing arguments#define SET_WIN() set_win(CUR_WIN()) to ^ 'erase_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_video(curwin, ^ vt100.c:583:13: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(curwin->row_offset+1, 1); ^ vt100.c:602:17: warning: passing arguments to 'erase_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_video(curwin, ^ vt100.c:608:17: warning: passing arguments to 'erase_video' without a prototype is deprecated in all versions of Csplitvt.c:416: and 39: warning: passing arguments to 'finish' without is not supported ina C2x prototype is deprecated in[-Wdeprecated-non-prototype] all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erase_video(curwin, ^ finish(0); ^ vt100.c:614:17: warning: passing arguments to 'erase_video' without a prototype is deprecated in splitvt.c:428:23: warning: passing all arguments to 'event_getc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (c=event_getc(&X_event)) == EOF ) ^ splitvt.c:429:12: warning: passing arguments to 'finish' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finish(0); ^ splitvt.c:439:8: warning: passing arguments to 'set_win' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ ./splitvt.h:19:26: note: expanded from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN()) ^ versions of C and is not supported insplitvt.c :C2x445 : 8[-Wdeprecated-non-prototype]: warning: passing arguments to 'set_win' without a erase_video(curwin, prototype ^ is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ ./splitvt.h:19:26: note: expanded from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN()) ^ vt100.c:622:16: warning: passing arguments to 'erase_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] splitvt.c:454 erase_video(curwin, : 15 ^: warning: passing arguments to 'move_bar' without a prototype is deprecated in all versions vt100.cof: 625C: 16and: iswarning: passingnot argumentssupported to in'vt_delunder' C2xwithout a[-Wdeprecated-non-prototype] prototype is deprecated in all versions of move_bar(X_event.x-on_se... C ^ and is not supported in C2x [-Wdeprecated-non-prototype] vt_delunder(curwin->esc_param[0]); ^ vt100.c:628:20: warning: passing arguments to 'revscroll_video' without a prototype is deprecated in all versions of C and is not supported in C2xsplitvt.c : 464[-Wdeprecated-non-prototype]: 19: warning: revscroll_video(curwin, 1);passing ^arguments to 'vt_setselbuf' without a vt100.cprototype: 629is: 15deprecated: inwarning: passingall argumentsversions toof 'vt_delline'C withoutand ais prototypenot supportedis indeprecated C2xin all[-Wdeprecated-non-prototype] versions of C vt_setselbuf(selection);and ^is not supported in C2x [-Wdeprecated-non-prototype] splitvt.c:468 vt_delline(curwin->esc_param[0]);: 14 ^: warning: passing arguments tovt100.c :a632 :function15 :without warning: apassing prototypearguments tois 'vt_insline'deprecated withoutin aall prototypeversions ofis Cdeprecated andin isall versionsnot ofsupported Cin andC2x is not[-Wdeprecated-non-prototype] supported in C2x do_input(c); ^[-Wdeprecated-non-prototype] vt_insline(curwin->esc_param[0]); ^ vt100.c:637:18: warning: passing arguments to 'vt_insertchar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_insertchar(curwin->esc_param[0]); ^ vt100.c:638:17: warning: passing arguments to 'rshift_video' without splitvt.ca: 480prototype: 14 :is warning: deprecatedpassing inarguments allto versions'finish' ofwithout Ca andprototype isis not deprecatedsupported inin allC2x versions [-Wdeprecated-non-prototype]of C and is not rshift_video(curwin, curwin->esc_param[0]); supported ^ in C2x [-Wdeprecated-non-prototype] finish(0); ^ splitvt.c:484:20: warning: passing arguments to 'vt_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) vt_write(LOWER, buffer, len, &bottomfd); ^ splitvt.c:486:6: warning: passing arguments to 'set_win' without vt100.ca: 374prototype: 6is: warning: deprecateda infunction alldefinition versionswithout ofa Cprototype andis isdeprecated not insupported allin versionsC2x of [-Wdeprecated-non-prototype]C and is not SET_WIN();supported ^in C2x [-Wdeprecated-non-prototype] ./splitvt.h:19:void E_brac(c, source)26 : ^ note: expanded fromvt100.c :macro46 :'SET_WIN'12 : warning: a function declaration without a prototype #define SET_WIN() set_win(CUR_WIN())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 E_(), E_brac(), E_brac_Q(), E_lparen(), E_rparen(), E_pound(); ^ splitvt.c:498:14: warning: passing arguments to 'finish' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finish(0); ^ splitvt.c:502:20: warning: passing arguments to 'vt_write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) vt_write(UPPER, buffer, len, &topfd); ^ splitvt.c:504:6: warning: passing arguments to 'set_win' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ ./splitvt.h:19:26: note: expanded from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN()) ^ splitvt.c:508:8: warning: passing arguments to 'finish' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finish(0); ^ splitvt.c:116:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ vt100.c:685:17: warning: passing arguments to 'vt_keystate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_keystate(curwin->key_state); ^ vt100.c:693:18: warning: passing arguments to 'vt_widemode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_widemode(1); ^ vt100.c:694:17: warning: passing arguments to 'init_vt100' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_vt100(0); ^ vt100.c:727:17: warning: passing arguments to 'vt_keystate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_keystate(curwin->key_state); ^ vt100.c:735:18: warning: passing arguments to 'vt_widemode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_widemode(0); ^ vt100.c:736:17: warning: passing arguments to 'init_vt100' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] init_vt100(0); ^ vt100.c:665:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void E_brac_Q(c, source) ^ vt100.c:46:22: 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 E_(), E_brac(), E_brac_Q(), E_lparen(), E_rparen(), E_pound(); ^ vt100.c:782:18: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(G0, UK_CHARSET); ^ vt100.c:786:18: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(G0, US_CHARSET); ^ vt100.c:790:18: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(G0, GRAPHICS); ^ vt100.c:770:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void E_lparen(c, source) ^ vt100.c:46: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 E_(), E_brac(), E_brac_Q(), E_lparen(), E_rparen(), E_pound(); ^ vt100.c:811:18: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(G1, UK_CHARSET); ^ vt100.c:815:18: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(G1, US_CHARSET); ^ vt100.c:819:18: warning: passing arguments to 'vt_altcharset' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_altcharset(G1, GRAPHICS); ^ vt100.c:799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void E_rparen(c, source) ^ vt100.c:46:46: 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 E_(), E_brac(), E_brac_Q(), E_lparen(), E_rparen(), E_pound(); ^ vt100.c:827:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void E_pound(c, source) ^ vt100.c:46:58: 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 E_(), E_brac(), E_brac_Q(), E_lparen(), E_rparen(), E_pound(); ^ vt100.c:870:28: warning: passing arguments to 'vt_initterm' without a prototype is deprecated in all versions of C and is not supported in C2x splitvt.c [-Wdeprecated-non-prototype] :516:9: if ( (errmesg=vt_initterm(terminal_type,warning: ^passing arguments to 'vt_info' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_info(NULL); ^ splitvt.c:512:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void reset_bar(sleeptime) ^ In file included from splitvt.c:33: ./splitvt.h:39:13: 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] extern void reset_bar(); ^ vt100.c:908:15: warning: passing arguments to 'vt_widemode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_widemode(1); ^ vt100.c:930:28: warning: passing arguments to 'alloc_video' without a prototype is deprecated in splitvt.call: 536versions: 15of: Cwarning: andpassing isarguments notto supported'vt_showscreen' inwithout C2xa [-Wdeprecated-non-prototype]prototype is deprecated in if ( (videomem=alloc_video(newrows, newcols)) == NULL )all ^versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_showscreen("Splitvt HELP screen:", help); ^ vt100.c:934:13: warning: passing arguments to 'copy_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] copy_video(&upper, videomem, newrows, newcols, &newpos); ^ vt100.c:960:28: warning: passing arguments to 'alloc_video' without a prototype is deprecated insplitvt.c:554:3: warning: passing arguments all versions to 'set_win' without of a prototype is C anddeprecated in all versions is not supported in C2x of C and is not supported in [-Wdeprecated-non-prototype]C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ if ( (videomem=alloc_video(newrows, newcols)) == NULL )./splitvt.h :19:26: note: expanded ^ from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN()) ^ splitvt.c:557:14: warning: passing arguments to 'vt_prompt' without a prototype is deprecated in all versionsvt100.c: 964of C and is not :13supported in C2x : [-Wdeprecated-non-prototype] warning: passing c=vt_prompt(PROMPT); ^ arguments to 'copy_video' without a prototype is deprecated in all versions of C and is splitvt.c:562:15: not supported in C2x [-Wdeprecated-non-prototype] copy_video(&lower, videomem, newrows, newcols, &newpos); ^ warning: passing arguments to 'move_bar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_bar(thisfd == topfd ? -param : param); ^ splitvt.c:568:15: warning: passing arguments to 'move_bar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_bar(thisfd == topfd ? param : -param); ^ vt100.c:1003:10: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and issplitvt.c:574:23 : warning: notpassing supportedarguments into C2x'vt_prompt' without[-Wdeprecated-non-prototype] a prototype is deprecated in all versions of C and vt_goto((WU_lines+1), 1); /* Move past th...is not ^ supported in C2x [-Wdeprecated-non-prototype] switch(vt_prompt(message)) { ^ vt100.c:1004:13: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in splitvt.c:583:14: warning: passing arguments to 'vt_info' without a prototypeC2x is [-Wdeprecated-non-prototype]deprecated in all versions of C and vt_reverse(1);is ^not supported in C2x [-Wdeprecated-non-prototype] vt_info(NULL); ^ splitvt.c:586:23: warning: passing arguments to 'vt_getsel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'c': vt_getsel(CUR_WIN(), selection, BUFSIZ); ^ vt100.c:849:7: warning: asplitvt.c :function587 :definition19 :without warning: apassing prototypearguments isto deprecated'vt_setselbuf' withoutin aall versionsprototype ofis Cdeprecated andin isall notversions supportedof inC C2xand is[-Wdeprecated-non-prototype] not supported in C2x [-Wdeprecated-non-prototype] char *init_vt100(reread_tsize) ^ vt_setselbuf(selection);In file included from vt100.c ^: 25: ./vt100.h:4:14: 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] splitvt.cextern char *init_vt100(); /* Initialize the window */: 595 ^: 21: warning: passing arguments to 'vt_info' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'x': vt_info("Enter password: "); ^ splitvt.c:602:20: warning: passing arguments to 'finish' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] case 'q': finish(0); ^ splitvt.c:539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void normal_input(c) ^ splitvt.c:63:6: 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_input(); ^ splitvt.c:676:4: warning: passing arguments to 'set_win' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ ./splitvt.h:19:26: note: expanded from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN()) ^ splitvt.c:688:4: warning: passing arguments to 'set_win' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ ./splitvt.h:19:26: note: expanded from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN()) ^ vt100.c:splitvt.c1029::69826::13 :warning: passingwarning: argumentsa tofunction adefinition functionwithout withouta aprototype prototypeis is deprecated deprecatedin inall allversions versionsof ofC Cand andis isnot notsupported supportedin inC2x C2x [-Wdeprecated-non-prototype] [-Wdeprecated-non-prototype] static void finish(sig) ^ (*curwin->process_char)((int)*(data++), source); ^ vt100.c:1016:5: warning: a function definition without a prototype is deprecated in allsplitvt.c :versions738 :of12 :C warning: andpassing isarguments notto supported'init_vt100' inwithout C2xa prototype[-Wdeprecated-non-prototype] is deprecated in all versionsint vt_write(win, data, len, source) of ^ C and isIn file included from vt100.cnot: 25supported: ./vt100.hin: 6C2x: 14 :[-Wdeprecated-non-prototype] warning: a function declaration without a prototype is init_vt100(0); /* Reset the windows to the new size */ ^deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] splitvt.c:726:13: warning: a function definitionextern int vt_write(); /* Write a buffer to a window */ without ^ a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void move_bar(howfar) ^ splitvt.c:760:22: warning: passing arguments to 'init_vt100' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (ptr=init_vt100(1)) != NULL ) { ^ vt100.c:1047:10: warning: passing arguments to 'vt_goto' without a prototype is splitvt.c :deprecated764 :in3 :all warning: versionspassing ofarguments Cto and'set_win' iswithout nota supportedprototype inis C2x deprecated [-Wdeprecated-non-prototype]in all versions of C and vt_goto(WU_lines+1, 0); is ^ not supported in C2x [-Wdeprecated-non-prototype] SET_WIN(); ^ ./splitvt.h:19:26: note: expanded from macro 'SET_WIN' #define SET_WIN() set_win(CUR_WIN())vt100.c : ^1050 :10: warning: passing arguments to 'vt_bold' without a prototype is deprecated in all versions of C and splitvt.cis: 753not: 13supported: inwarning: aC2x function [-Wdeprecated-non-prototype]definition without a vt_bold(1); prototype ^ is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void winch(sig) ^ vt100.c:1062:13: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(1); ^ vt100.csplitvt.c::1038771::612:: warning: warning: aa functionfunction definitiondefinition withoutwithout aa prototypeprototype isis deprecated deprecated inin allall versionsversions ofof CC andand isis notnot supportedsupported inin C2xC2x [-Wdeprecated-non-prototype][-Wdeprecated-non-prototype] char vt_prompt(prompt)static int insert_dash(args) ^ ^ In file included from vt100.c:25: ./vt100.h:7:14: 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] extern char vt_prompt(); /* Prompt the user and return a char */ ^ vt100.c:1082:9: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(WU_lines+1, 0); ^ vt100.c:1087:10: warning: passing arguments to 'vt_bold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_bold(1); ^ vt100.c:1091:13: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(1); ^ vt100.c:1074:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_info(info) ^ In file included from vt100.c:25: ./vt100.h:8:14: 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] extern void vt_info(); /* Print out an info message */ ^ vt100.c:1106:13: warning: passing arguments to 'paint_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paint_video(lastwin == UPPER ? &lower : &upper); ^ vt100.c:1107:9: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(WU_lines+1, 0); ^ vt100.c:1108:12: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(1); ^ vt100.c:1110:13: warning: passing arguments to 'paint_video' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] paint_video(lastwin == UPPER ? &upper : &lower); ^ vt100.c:1122:14: warning: passing arguments to 'vt_setscroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setscroll(0,0); ^ vt100.c:1123:9: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(1,1); ^ vt100.c:1124:9: warning: passing arguments to 'vt_bold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_bold(1); ^ vt100.c:1130:12: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(1); ^ vt100.c:1115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_showscreen(title, text) ^ In file included from vt100.c:25: ./vt100.h:13:14: 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] extern void vt_showscreen(); /* Show a (help) screen */ ^ vt100.c:1159:14: warning: passing arguments to 'vt_setscroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setscroll(0,0); ^ vt100.c:1160:9: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(physical.rows, 1); ^ 6 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o videomem.o videomem.c videomem.c:16:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int **alloc_video(rows, cols) ^ In file included from videomem.c:7: ./video.h:55: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 **alloc_video(); /* Allocate a video memory buffer */ ^ videomem.c:39:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void copy_video(win, newarea, rows, cols, newcursor) ^ In file included from videomem.c:7: ./video.h:56:6: 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 copy_video(); /* Copy a video buffer to an empty one */ ^ videomem.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void add_video(win, c) ^ In file included from videomem.c:7: ./video.h:57:6: 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 add_video(); /* Add a character to a video buffer */ ^ videomem.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int get_video(win, x, y) ^ In file included from videomem.c:7: ./video.h:66:6: 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 get_video(); /* Get a character from the video buffer */ ^ videomem.c:82:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void put_video(c, win, x, y) ^ In file included from videomem.c:7: ./video.h:65:6: 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 put_video(); /* Set a character in the video buffer */ ^ videomem.c:93:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int video_eol(win, lineno) ^ videomem.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void getsel_video(win, buf, maxlen, x1, x2, y1, y2) ^ In file included from videomem.c:7: ./video.h:63:6: 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 getsel_video(); /* Get a selection from the video buffer */ ^ videomem.c:147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void clrsel_video(win) ^ In file included from videomem.c:7: ./video.h:64:6: 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 clrsel_video(); /* Clear a selection from the video buffer */ ^ videomem.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void erase_video(win, x1, x2, y1, y2) ^ In file included from videomem.c:7: ./video.h:58:6: 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 erase_video(); /* Erase a two-dimensional section */ ^ 19 warnings generated. videomem.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void scroll_video(win, numlines) ^ In file included from videomem.c:7: ./video.h:59:6: 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 scroll_video(); /* Scroll a section of the buffer */ ^ videomem.c:203:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void revscroll_video(win, numlines) ^ In file included from videomem.c:7: ./video.h:60:6: 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 revscroll_video(); /* Reverse-scroll a section of the buffer */ ^ videomem.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void rshift_video(win, numcols) ^ In file included from videomem.c:7: ./video.h:61:6: 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 rshift_video(); /* Shift part of a line right */ ^ videomem.c:286:15: warning: passing arguments to 'vt_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_reverse(1); ^ videomem.c:292:12: warning: passing arguments to 'vt_bold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_bold(0); ^ videomem.c:295:12: warning: passing arguments to 'vt_bold' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_bold(1); ^ videomem.c:301:17: warning: passing arguments to 'vt_underline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_underline(0); ^ videomem.c:304:17: warning: passing arguments to 'vt_underline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_underline(1); ^ videomem.c:310:13: warning: passing arguments to 'vt_blink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_blink(0); ^ videomem.c:313:13: warning: passing arguments to 'vt_blink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_blink(1); ^ videomem.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int check_attr(pixel, lastattr, currattr) ^ videomem.c:327:14: warning: passing arguments to 'vt_setscroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setscroll(0,0); ^ videomem.c:329:9: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(1+win->row_offset, 1); ^ videomem.c:346:10: warning: passing arguments to 'vt_down' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_down(1); /* This shouldn't cause scroll */ ^ videomem.c:348:14: warning: passing arguments to 'vt_setscroll' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_setscroll(win->scr_upper+win->row_offset, ^ videomem.c:350:9: warning: passing arguments to 'vt_goto' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] vt_goto(win->cursor.x+win->row_offset, win->cursor.y); ^ videomem.c:321:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void paint_video(win) ^ In file included from videomem.c:7: ./video.h:62:6: 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 paint_video(); /* Repaint the video buffer onto the screen */ ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o terminal.o terminal.c terminal.c:209:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *termcap_init(termtype) ^ terminal.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_rows_cols(termtype, rows, cols) ^ In file included from terminal.c:13: ./terminal.h:37:13: 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] extern void vt_rows_cols(); /* Return the rows and cols from termcap */ ^ terminal.c:229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_bold(on) ^ In file included from terminal.c:13: ./terminal.h:22:13: 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] extern void vt_bold(); /* Toggle bold display */ ^ terminal.c:234:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_underline(on) ^ In file included from terminal.c:13: ./terminal.h:23:13: 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] extern void vt_underline(); /* Toggle underlined display */ ^ terminal.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_blink(on) ^ In file included from terminal.c:13: ./terminal.h:24:13: 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] extern void vt_blink(); /* Toggle blinking display */ ^ terminal.c:244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_reverse(on) ^ In file included from terminal.c:13: ./terminal.h:25:13: 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] extern void vt_reverse(); /* Toggle reversed display */ ^ terminal.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x49 warning s[-Wdeprecated-non-prototype] generated . void vt_widemode(on) ^ In file included from terminal.c:13: ./terminal.h:36:13: 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] extern void vt_widemode(); /* Set and reset 132 column mode */ ^ terminal.c:276:23: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ( (termtype=getenv("TERM")) == NULL ) ^ terminal.c:268:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *vt_initterm(terminal_type, rows, cols) ^ In file included from terminal.c:13: ./terminal.h:6:14: 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] extern char *vt_initterm(); /* Initialize the termcap, return NULL i... ^ terminal.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_goto(row, col) ^ In file included from terminal.c:13: ./terminal.h:8:13: 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] extern void vt_goto(); /* Goto a specific x y coordinate */ ^ terminal.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_up(numrows) ^ In file included from terminal.c:13: ./terminal.h:9:13: 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] extern void vt_up(); /* Move cursor up */ ^ terminal.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_down(numrows) ^ In file included from terminal.c:13: ./terminal.h:10:13: 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] extern void vt_down(); /* Move cursor down */ ^ terminal.c:315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_right(numcols) ^ In file included from terminal.c:13: ./terminal.h:11:13: 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] extern void vt_right(); /* Move cursor right */ ^ terminal.c:320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_left(numcols) ^ In file included from terminal.c:13: ./terminal.h:12:13: 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] extern void vt_left(); /* Move cursor left */ ^ terminal.c:349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_delunder(num) ^ In file included from terminal.c:13: ./terminal.h:20:13: 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] extern void vt_delunder(); /* Delete character under cursor */ ^ terminal.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_delline(num) ^ In file included from terminal.c:13: ./terminal.h:19:13: 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] extern void vt_delline(); /* Delete line under cursor */ ^ terminal.c:359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_insline(num) ^ In file included from terminal.c:13: ./terminal.h:21:13: 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] extern void vt_insline(); /* Insert open line under cursor */ ^ terminal.c:364:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_setattr(textattr) ^ In file included from terminal.c:13: ./terminal.h:26:13: 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] extern void vt_setattr(); /* Set display attributes */ ^ terminal.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_setfg(color) ^ In file included from terminal.c:13: ./terminal.h:27:13: 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] clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_UTHOST -DHAVE_TERMIO_H -DHAVE_UNISTD_H -DNEED_SELECT_H -DHAVE_WAIT4 -DSHELL=\"/bin/csh\" -DPTYCHAR=\"\" -DHEXDIGIT=\"\" -c -o vttest.o vttest.c extern void vt_setfg(); /* Set foreground color */ ^ terminal.c:383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_setbg(color) ^ In file included from terminal.c:13: ./terminal.h:28:13: 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] extern void vt_setbg(); /* Set background color */ ^ terminal.c:388:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_altcharset(charset, type) ^ In file included from terminal.c:13: ./terminal.h:32:13: 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] extern void vt_altcharset(); /* Toggle alternate character set (graphics) */ ^ terminal.c:405:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_setscroll(upper, lower) ^ In file included from terminal.c:13: ./terminal.h:30:13: 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] extern void vt_setscroll(); /* Set scrolling region */ ^ terminal.c:418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_keystate(application) ^ In file included from terminal.c:13: ./terminal.h:35:13: 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] extern void vt_keystate(); /* Set and reset application mode keys */ ^ terminal.c:427:20: error: parameter 'numcols' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] void vt_insertchar(numcols) ^ terminal.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void vt_insertchar(numcols) ^ In file included from terminal.c:13: ./terminal.h:38:13: 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] extern void vt_insertchar(); /* Insert character in line */ ^ 46 warnings and 1 error generated. make: *** [: terminal.o] Error 1 make: *** Waiting for unfinished jobs.... 120 warnings generated. 38 warnings generated. * ERROR: app-misc/splitvt-1.6.6-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/splitvt-1.6.6-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/splitvt-1.6.6-r3::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:splitvt-1.6.6-r3:20220917-200029.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6' * S: '/var/tmp/portage/app-misc/splitvt-1.6.6-r3/work/splitvt-1.6.6'