=> Building misc/window Started : Friday, 8 MAR 2019 at 00:51:08 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/window XDG_CONFIG_HOME=/construction/misc/window HOME=/construction/misc/window TMPDIR="/tmp" PATH=/construction/misc/window/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/misc/window XDG_CONFIG_HOME=/construction/misc/window HOME=/construction/misc/window TMPDIR="/tmp" PATH=/construction/misc/window/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- LDADD="-lncurses -lutil" DESTDIR=/construction/misc/window/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/window" EXAMPLESDIR="share/examples/window" DATADIR="share/window" WWWDIR="www/window" ETCDIR="etc/window" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/window DOCSDIR=/usr/local/share/doc/window EXAMPLESDIR=/usr/local/share/examples/window WWWDIR=/usr/local/www/window ETCDIR=/usr/local/etc/window -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD4CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> window-1.0 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> window-1.0 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of window-1.0 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD4CLAUSE accepted by the user ===> Fetching all distfiles required by window-1.0 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD4CLAUSE accepted by the user ===> Fetching all distfiles required by window-1.0 for building => SHA256 Checksum OK for window-1.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD4CLAUSE accepted by the user ===> Fetching all distfiles required by window-1.0 for building ===> Extracting for window-1.0 => SHA256 Checksum OK for window-1.0.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for window-1.0 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> window-1.0 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190112.txz Installing ncurses-6.1.20190112... Extracting ncurses-6.1.20190112: .......... done ===> window-1.0 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of window-1.0 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for window-1.0 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for window-1.0 --- objwarn --- --- char.o --- --- cmd.o --- --- cmd1.o --- --- cmd2.o --- --- objwarn --- Warning: Object directory not changed from original /construction/misc/window/window --- char.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c char.c --- cmd.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd.c --- cmd3.o --- --- cmd1.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd1.c --- cmd2.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd2.c --- cmd3.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd3.c --- cmd.o --- cmd.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] docmd() ^~~~~ cmd.c: In function 'docmd': cmd.c:48:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ cmd.c:57:5: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs("Command: ", cmdwin); ^~~~~~ wwquit cmd.c:61:5: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ cmd.c:65:4: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc('\n', cmdwin); ^~~~~~ wwgetc cmd.c:82:5: warning: implicit declaration of function 'error'; did you mean 'wwerror'? [-Wimplicit-function-declaration] error("No window."); ^~~~~ wwerror cmd.c:93:4: warning: implicit declaration of function 'setselwin'; did you mean 'getwin'? [-Wimplicit-function-declaration] setselwin(w); ^~~~~~~~~ getwin cmd.c:94:8: warning: implicit declaration of function 'checkproc' [-Wimplicit-function-declaration] if (checkproc(selwin) >= 0) ^~~~~~~~~ cmd.c:111:5: warning: implicit declaration of function 'closewin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] closewin(w); ^~~~~~~~ vtowin cmd.c:114:4: warning: implicit declaration of function 'c_window' [-Wimplicit-function-declaration] c_window(); ^~~~~~~~ cmd.c:118:5: warning: implicit declaration of function 'c_move'; did you mean 'memmove'? [-Wimplicit-function-declaration] c_move(w); ^~~~~~ memmove cmd.c:122:5: warning: implicit declaration of function 'movewin'; did you mean 'openwin'? [-Wimplicit-function-declaration] movewin(w, w->ww_alt.t, w->ww_alt.l); ^~~~~~~ openwin cmd.c:126:5: warning: implicit declaration of function 'c_size'; did you mean 'ctime'? [-Wimplicit-function-declaration] c_size(w); ^~~~~~ ctime --- cmd3.o --- cmd3.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] setescape(esc) ^~~~~~~~~ cmd3.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] setlabel(w, label) ^~~~~~~~ --- cmd.o --- cmd.c:130:5: warning: implicit declaration of function 'sizewin' [-Wimplicit-function-declaration] sizewin(w, w->ww_alt.nr, w->ww_alt.nc); ^~~~~~~ cmd.c:133:4: warning: implicit declaration of function 'c_yank' [-Wimplicit-function-declaration] c_yank(); ^~~~~~ cmd.c:136:4: warning: implicit declaration of function 'c_put' [-Wimplicit-function-declaration] c_put(); ^~~~~ cmd.c:139:4: warning: implicit declaration of function 'c_colon' [-Wimplicit-function-declaration] c_colon(); ^~~~~~~ cmd.c:142:11: warning: implicit declaration of function 'wwwrite'; did you mean 'wwquit'? [-Wimplicit-function-declaration] (void) wwwrite(selwin, "\b", 1); ^~~~~~~ wwquit cmd.c:154:4: warning: implicit declaration of function 'wwscroll'; did you mean 'strtoll'? [-Wimplicit-function-declaration] wwscroll(selwin, 1); ^~~~~~~~ strtoll cmd.c:172:4: warning: implicit declaration of function 'stopwin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] stopwin(selwin); ^~~~~~~ vtowin cmd.c:175:4: warning: implicit declaration of function 'startwin'; did you mean 'strtouq'? [-Wimplicit-function-declaration] startwin(selwin); ^~~~~~~~ strtouq cmd.c:178:4: warning: implicit declaration of function 'wwredraw'; did you mean 'wwredrawwin'? [-Wimplicit-function-declaration] wwredraw(); ^~~~~~~~ wwredrawwin cmd.c:181:4: warning: implicit declaration of function 'c_help' [-Wimplicit-function-declaration] c_help(); ^~~~~~ cmd.c:188:4: warning: implicit declaration of function 'wwsuspend'; did you mean 'wwopen'? [-Wimplicit-function-declaration] wwsuspend(); ^~~~~~~~~ wwopen cmd.c:191:4: warning: implicit declaration of function 'c_quit'; did you mean 'wwquit'? [-Wimplicit-function-declaration] c_quit(); ^~~~~~ wwquit cmd.c:196:5: warning: implicit declaration of function 'c_debug' [-Wimplicit-function-declaration] c_debug(); ^~~~~~~ cmd.c:202:13: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] (void) write(selwin->ww_pty, ^~~~~ cmd.c:208:6: warning: implicit declaration of function 'wwbell'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwbell(); ^~~~~~ wwgetc cmd.c:214:3: warning: implicit declaration of function 'setcmd'; did you mean 'setjmp'? [-Wimplicit-function-declaration] setcmd(0); ^~~~~~ setjmp cmd.c: At top level: cmd.c:247:1: warning: return type defaults to 'int' [-Wimplicit-int] checkproc(w) ^~~~~~~~~ cmd.c:257:1: warning: return type defaults to 'int' [-Wimplicit-int] setcmd(new) ^~~~~~ cmd.c: In function 'setcmd': cmd.c:262:4: warning: implicit declaration of function 'wwadd' [-Wimplicit-function-declaration] wwadd(cmdwin, &wwhead); ^~~~~ cmd.c:264:4: warning: implicit declaration of function 'wwcursor'; did you mean 'wwerror'? [-Wimplicit-function-declaration] wwcursor(selwin, 1); ^~~~~~~~ wwerror cmd.c:268:4: warning: implicit declaration of function 'wwdelete'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwdelete(cmdwin); ^~~~~~~~ wwupdate cmd.c:269:4: warning: implicit declaration of function 'reframe'; did you mean 'devname'? [-Wimplicit-function-declaration] reframe(); ^~~~~~~ devname cmd.c: At top level: cmd.c:278:1: warning: return type defaults to 'int' [-Wimplicit-int] setterse(new) ^~~~~~~~ cmd.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] setselwin(w) ^~~~~~~~~ cmd.c: In function 'setselwin': cmd.c:297:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd.c:293:1: note: declared here setselwin(w) ^~~~~~~~~ cmd.c:301:3: warning: implicit declaration of function 'front' [-Wimplicit-function-declaration] front(selwin, 1); ^~~~~ --- cmd4.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd4.c --- cmd5.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd5.c --- cmd2.o --- cmd2.c:105:1: warning: return type defaults to 'int' [-Wimplicit-int] c_help() ^~~~~~ cmd2.c: In function 'c_help': cmd2.c:110:3: warning: implicit declaration of function 'error'; did you mean 'wwerror'? [-Wimplicit-function-declaration] error("Can't open help window: %s.", wwerror()); ^~~~~ wwerror cmd2.c:111:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd2.c:105:1: note: declared here c_help() ^~~~~~ cmd2.c:113:2: warning: implicit declaration of function 'wwprintf'; did you mean 'wwrint'? [-Wimplicit-function-declaration] wwprintf(w, "The escape character is %c.\n", escapec); ^~~~~~~~ wwrint cmd2.c:115:6: warning: implicit declaration of function 'help_print' [-Wimplicit-function-declaration] if (help_print(w, "Short commands", help_shortcmd) >= 0) ^~~~~~~~~~ cmd2.c:117:2: warning: implicit declaration of function 'closeiwin'; did you mean 'openiwin'? [-Wimplicit-function-declaration] closeiwin(w); ^~~~~~~~~ openiwin cmd2.c: At top level: cmd2.c:120:1: warning: return type defaults to 'int' [-Wimplicit-int] help_print(w, name, list) ^~~~~~~~~~ cmd2.c: In function 'help_print': cmd2.c:127:11: warning: implicit declaration of function 'more' [-Wimplicit-function-declaration] switch (more(w, 0)) { ^~~~ cmd2.c:129:4: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs(*list++, w); ^~~~~~ wwquit cmd2.c:130:4: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc('\n', w); ^~~~~~ wwgetc cmd2.c: At top level: cmd2.c:141:1: warning: return type defaults to 'int' [-Wimplicit-int] c_quit() ^~~~~~ cmd2.c: In function 'c_quit': cmd2.c:145:2: warning: implicit declaration of function 'setterse' [-Wimplicit-function-declaration] setterse(0); ^~~~~~~~ cmd2.c:149:3: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ --- cmd4.o --- cmd4.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] c_colon() ^~~~~~~ cmd4.c: In function 'c_colon': cmd4.c:50:2: warning: implicit declaration of function 'setterse' [-Wimplicit-function-declaration] setterse(0); ^~~~~~~~ cmd4.c:51:2: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc(':', cmdwin); ^~~~~~ wwgetc cmd4.c:52:2: warning: implicit declaration of function 'wwgets'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwgets(buf, wwncol - 3, cmdwin); ^~~~~~ wwgetc cmd4.c:56:6: warning: implicit declaration of function 'dolongcmd'; did you mean '_longjmp'? [-Wimplicit-function-declaration] if (dolongcmd(buf, (struct value *)0, 0) < 0) ^~~~~~~~~ _longjmp cmd4.c:57:3: warning: implicit declaration of function 'error'; did you mean 'wwerror'? [-Wimplicit-function-declaration] error("Out of memory."); ^~~~~ wwerror --- cmd5.o --- cmd5.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] c_move(w) ^~~~~~ cmd5.c: In function 'c_move': cmd5.c:58:3: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs("New window position: ", cmdwin); ^~~~~~ wwquit cmd5.c:61:2: warning: implicit declaration of function 'wwadd' [-Wimplicit-function-declaration] wwadd(boxwin, framewin->ww_back); ^~~~~ cmd5.c:63:3: warning: implicit declaration of function 'wwbox'; did you mean 'wwunbox'? [-Wimplicit-function-declaration] wwbox(boxwin, row - 1, col - 1, w->ww_w.nr + 2, w->ww_w.nc + 2); ^~~~~ wwunbox cmd5.c:64:3: warning: implicit declaration of function 'getminmax'; did you mean 'getwin'? [-Wimplicit-function-declaration] getminmax(row, w->ww_w.nr, 1, wwnrow, ^~~~~~~~~ getwin cmd5.c:70:4: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ cmd5.c:71:11: warning: implicit declaration of function 'getpos'; did you mean 'getwin'? [-Wimplicit-function-declaration] switch (getpos(&row, &col, minrow, mincol, maxrow, maxcol)) { ^~~~~~ getwin In file included from defs.h:40, from cmd5.c:43: ww.h:252:20: warning: implicit declaration of function 'wwunframe'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] #define wwunbox(w) wwunframe(w) ^~~~~~~~~ cmd5.c:73:4: note: in expansion of macro 'wwunbox' wwunbox(boxwin); ^~~~~~~ cmd5.c:74:4: warning: implicit declaration of function 'wwdelete'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwdelete(boxwin); ^~~~~~~~ wwupdate cmd5.c:75:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd5.c:49:1: note: declared here c_move(w) ^~~~~~ cmd5.c:88:3: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc('\n', cmdwin); ^~~~~~ wwgetc cmd5.c:90:2: warning: implicit declaration of function 'movewin'; did you mean 'openwin'? [-Wimplicit-function-declaration] movewin(w, row, col); ^~~~~~~ openwin cmd5.c: At top level: cmd5.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] movewin(w, row, col) ^~~~~~~ cmd5.c: In function 'movewin': cmd5.c:93:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] cmd5.c:93:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] cmd5.c:101:2: warning: implicit declaration of function 'wwmove'; did you mean 'c_move'? [-Wimplicit-function-declaration] wwmove(w, row, col); ^~~~~~ c_move cmd5.c:103:2: warning: implicit declaration of function 'reframe' [-Wimplicit-function-declaration] reframe(); ^~~~~~~ cmd5.c: At top level: cmd5.c:109:1: warning: return type defaults to 'int' [-Wimplicit-int] getminmax(x, n, a, b, curx, minx, maxx) ^~~~~~~~~ cmd5.c: In function 'getminmax': cmd5.c:110:10: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] register x, n, a, b; ^ cmd5.c:110:13: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register x, n, a, b; ^ cmd5.c:110:16: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] register x, n, a, b; ^ cmd5.c:110:19: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] register x, n, a, b; ^ --- cmd6.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd6.c --- cmd7.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c cmd7.c --- cmd1.o --- cmd1.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] c_window() ^~~~~~~~ cmd1.c: In function 'c_window': cmd1.c:51:12: warning: implicit declaration of function 'findid'; did you mean 'index'? [-Wimplicit-function-declaration] if ((id = findid()) < 0) ^~~~~~ index cmd1.c:52:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd1.c:46:1: note: declared here c_window() ^~~~~~~~ cmd1.c:54:3: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs("New window (upper left corner): ", cmdwin); ^~~~~~ wwquit cmd1.c:57:2: warning: implicit declaration of function 'wwadd' [-Wimplicit-function-declaration] wwadd(boxwin, framewin->ww_back); ^~~~~ cmd1.c:59:3: warning: implicit declaration of function 'wwbox'; did you mean 'wwunbox'? [-Wimplicit-function-declaration] wwbox(boxwin, row - 1, col - 1, 3, 3); ^~~~~ wwunbox cmd1.c:62:4: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ cmd1.c:63:11: warning: implicit declaration of function 'getpos'; did you mean 'getwin'? [-Wimplicit-function-declaration] switch (getpos(&row, &col, row > 1, 0, ^~~~~~ getwin In file included from defs.h:40, from cmd1.c:43: ww.h:252:20: warning: implicit declaration of function 'wwunframe'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] #define wwunbox(w) wwunframe(w) ^~~~~~~~~ cmd1.c:66:4: note: in expansion of macro 'wwunbox' wwunbox(boxwin); ^~~~~~~ cmd1.c:67:4: warning: implicit declaration of function 'wwdelete'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwdelete(boxwin); ^~~~~~~~ wwupdate cmd1.c:68:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd1.c:46:1: note: declared here c_window() ^~~~~~~~ cmd1.c:94:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd1.c:46:1: note: declared here c_window() ^~~~~~~~ cmd1.c:107:3: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc('\n', cmdwin); ^~~~~~ wwgetc cmd1.c: At top level: cmd1.c:113:1: warning: return type defaults to 'int' [-Wimplicit-int] getpos(row, col, minrow, mincol, maxrow, maxcol) ^~~~~~ cmd1.c: In function 'getpos': cmd1.c:170:4: warning: implicit declaration of function 'wwbell'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwbell(); ^~~~~~ wwgetc --- context.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c context.c --- cmd6.o --- cmd6.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] c_debug() ^~~~~~~ cmd6.c: In function 'c_debug': cmd6.c:56:3: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs("[m(smap) n(ns) o(os) s(string) v(nvis) w(win)]? ", cmdwin); ^~~~~~ wwquit cmd6.c:59:3: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ cmd6.c:61:3: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc('\n', cmdwin); ^~~~~~ wwgetc cmd6.c:64:3: warning: implicit declaration of function 'wwdumpsmap' [-Wimplicit-function-declaration] wwdumpsmap(); ^~~~~~~~~~ cmd6.c:67:3: warning: implicit declaration of function 'wwdumpns' [-Wimplicit-function-declaration] wwdumpns(); ^~~~~~~~ cmd6.c:70:3: warning: implicit declaration of function 'wwdumpos'; did you mean 'wwunbox'? [-Wimplicit-function-declaration] wwdumpos(); ^~~~~~~~ wwunbox cmd6.c:73:3: warning: implicit declaration of function 'debug_str' [-Wimplicit-function-declaration] debug_str(); ^~~~~~~~~ cmd6.c:77:4: warning: implicit declaration of function 'wwdumpnvis' [-Wimplicit-function-declaration] wwdumpnvis(w); ^~~~~~~~~~ cmd6.c:81:4: warning: implicit declaration of function 'wwdumpwin'; did you mean 'wwcurtowin'? [-Wimplicit-function-declaration] wwdumpwin(w); ^~~~~~~~~ wwcurtowin cmd6.c:84:3: warning: implicit declaration of function 'wwbell'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwbell(); ^~~~~~ wwgetc cmd6.c: At top level: cmd6.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] debug_str() ^~~~~~~~~ cmd6.c: In function 'debug_str': cmd6.c:95:3: warning: implicit declaration of function 'error'; did you mean 'wwerror'? [-Wimplicit-function-declaration] error("Can't open string window: %s.", wwerror()); ^~~~~ wwerror cmd6.c:96:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd6.c:89:1: note: declared here debug_str() ^~~~~~~~~ cmd6.c:99:7: warning: implicit declaration of function 'more' [-Wimplicit-function-declaration] if (more(w, 0) == 2) ^~~~ cmd6.c:101:3: warning: implicit declaration of function 'wwprintf'; did you mean 'wwrint'? [-Wimplicit-function-declaration] wwprintf(w, "(0x%x)\t\"%s\"\n", s->s_data, s->s_data); ^~~~~~~~ wwrint cmd6.c:103:2: warning: implicit declaration of function 'waitnl'; did you mean 'atol'? [-Wimplicit-function-declaration] waitnl(w); ^~~~~~ atol cmd6.c:105:2: warning: implicit declaration of function 'closeiwin'; did you mean 'openiwin'? [-Wimplicit-function-declaration] closeiwin(w); ^~~~~~~~~ openiwin --- cmd7.o --- cmd7.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] c_size(w) ^~~~~~ --- context.o --- context.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] cx_alloc() ^~~~~~~~ context.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int] cx_free() ^~~~~~~ context.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] cx_beginfile(filename) ^~~~~~~~~~~~ --- cmd7.o --- cmd7.c: In function 'c_size': --- context.o --- context.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] cx_beginbuf(buf, arg, narg) ^~~~~~~~~~~ --- cmd7.o --- cmd7.c:57:3: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs("New window size (lower right corner): ", cmdwin); ^~~~~~ wwquit --- context.o --- context.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] cx_end() ^~~~~~ --- cmd7.o --- cmd7.c:60:2: warning: implicit declaration of function 'wwadd' [-Wimplicit-function-declaration] wwadd(boxwin, framewin->ww_back); ^~~~~ cmd7.c:62:3: warning: implicit declaration of function 'wwbox'; did you mean 'wwunbox'? [-Wimplicit-function-declaration] wwbox(boxwin, w->ww_w.t - 1, w->ww_w.l - 1, ^~~~~ wwunbox cmd7.c:66:4: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ cmd7.c:67:11: warning: implicit declaration of function 'getpos'; did you mean 'getwin'? [-Wimplicit-function-declaration] switch (getpos(&row, &col, w->ww_w.t, w->ww_w.l, ^~~~~~ getwin In file included from defs.h:40, from cmd7.c:44: ww.h:252:20: warning: implicit declaration of function 'wwunframe'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] #define wwunbox(w) wwunframe(w) ^~~~~~~~~ cmd7.c:70:4: note: in expansion of macro 'wwunbox' wwunbox(boxwin); ^~~~~~~ cmd7.c:71:4: warning: implicit declaration of function 'wwdelete'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwdelete(boxwin); ^~~~~~~~ wwupdate cmd7.c:72:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd7.c:51:1: note: declared here c_size(w) ^~~~~~ cmd7.c:85:3: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc('\n', cmdwin); ^~~~~~ wwgetc cmd7.c:87:2: warning: implicit declaration of function 'sizewin' [-Wimplicit-function-declaration] sizewin(w, row - w->ww_w.t + 1, col - w->ww_w.l + 1); ^~~~~~~ cmd7.c: At top level: cmd7.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] c_yank() ^~~~~~ cmd7.c: In function 'c_yank': cmd7.c:110:2: warning: implicit declaration of function 'wwcursor'; did you mean 'wwerror'? [-Wimplicit-function-declaration] wwcursor(w, 0); ^~~~~~~~ wwerror cmd7.c:142:4: warning: implicit declaration of function 'yank_highlight' [-Wimplicit-function-declaration] yank_highlight(row1, col1, r, c); ^~~~~~~~~~~~~~ cmd7.c:162:2: warning: implicit declaration of function 'unyank'; did you mean 'c_yank'? [-Wimplicit-function-declaration] unyank(); ^~~~~~ c_yank cmd7.c:165:3: warning: implicit declaration of function 'yank_line' [-Wimplicit-function-declaration] yank_line(r, c, w->ww_b.r); ^~~~~~~~~ cmd7.c: At top level: cmd7.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] yank_highlight(row1, col1, row2, col2) ^~~~~~~~~~~~~~ cmd7.c: In function 'yank_highlight': cmd7.c:176:1: warning: type of 'row1' defaults to 'int' [-Wimplicit-int] cmd7.c:176:1: warning: type of 'col1' defaults to 'int' [-Wimplicit-int] cmd7.c:176:1: warning: type of 'row2' defaults to 'int' [-Wimplicit-int] cmd7.c:176:1: warning: type of 'col2' defaults to 'int' [-Wimplicit-int] cmd7.c:182:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd7.c:176:1: note: declared here yank_highlight(row1, col1, row2, col2) ^~~~~~~~~~~~~~ cmd7.c:193:3: warning: implicit declaration of function 'yank_highlight_line'; did you mean 'yank_highlight'? [-Wimplicit-function-declaration] yank_highlight_line(r, c, w->ww_b.r); ^~~~~~~~~~~~~~~~~~~ yank_highlight cmd7.c: At top level: cmd7.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] yank_highlight_line(r, c, cend) ^~~~~~~~~~~~~~~~~~~ cmd7.c: In function 'yank_highlight_line': cmd7.c:199:1: warning: type of 'r' defaults to 'int' [-Wimplicit-int] cmd7.c:199:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] cmd7.c:199:1: warning: type of 'cend' defaults to 'int' [-Wimplicit-int] cmd7.c:205:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd7.c:199:1: note: declared here yank_highlight_line(r, c, cend) ^~~~~~~~~~~~~~~~~~~ cmd7.c: At top level: cmd7.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] unyank() ^~~~~~ cmd7.c:235:1: warning: return type defaults to 'int' [-Wimplicit-int] yank_line(r, c, cend) ^~~~~~~~~ cmd7.c: In function 'yank_line': cmd7.c:235:1: warning: type of 'r' defaults to 'int' [-Wimplicit-int] cmd7.c:235:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] cmd7.c:235:1: warning: type of 'cend' defaults to 'int' [-Wimplicit-int] cmd7.c:244:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd7.c:235:1: note: declared here yank_line(r, c, cend) ^~~~~~~~~ cmd7.c:246:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ cmd7.c:235:1: note: declared here yank_line(r, c, cend) ^~~~~~~~~ cmd7.c: At top level: cmd7.c:268:1: warning: return type defaults to 'int' [-Wimplicit-int] c_put() ^~~~~ cmd7.c: In function 'c_put': cmd7.c:273:10: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] (void) write(selwin->ww_pty, yp->line, yp->length); ^~~~~ --- error.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c error.c --- lcmd.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c lcmd.c --- error.o --- error.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] error(fmt, a, b, c, d, e, f, g, h) ^~~~~ error.c: In function 'error': error.c:51:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'e' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'f' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'g' defaults to 'int' [-Wimplicit-int] error.c:51:1: warning: type of 'h' defaults to 'int' [-Wimplicit-int] error.c:61:4: warning: implicit declaration of function 'wwbell'; did you mean 'ftell'? [-Wimplicit-function-declaration] wwbell(); ^~~~~~ ftell error.c:63:4: warning: implicit declaration of function 'wwprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration] wwprintf(cmdwin, fmt, a, b, c, d, e, f, g, h); ^~~~~~~~ asprintf error.c:64:4: warning: implicit declaration of function 'wwputs'; did you mean 'puts'? [-Wimplicit-function-declaration] wwputs(" ", cmdwin); ^~~~~~ puts error.c:66:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ error.c:51:1: note: declared here error(fmt, a, b, c, d, e, f, g, h) ^~~~~ error.c:69:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ error.c:51:1: note: declared here error(fmt, a, b, c, d, e, f, g, h) ^~~~~ error.c:77:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ error.c:51:1: note: declared here error(fmt, a, b, c, d, e, f, g, h) ^~~~~ error.c:80:6: warning: implicit declaration of function 'more' [-Wimplicit-function-declaration] if (more(w, 0) == 2) { ^~~~ error.c:82:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ error.c:51:1: note: declared here error(fmt, a, b, c, d, e, f, g, h) ^~~~~ --- lcmd1.o --- --- error.o --- error.c:86:2: warning: implicit declaration of function 'wwputc'; did you mean 'putc'? [-Wimplicit-function-declaration] wwputc('\n', w); ^~~~~~ putc error.c: At top level: error.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] err_end() ^~~~~~~ error.c: In function 'err_end': error.c:93:4: warning: implicit declaration of function 'waitnl'; did you mean 'atol'? [-Wimplicit-function-declaration] waitnl(cx.x_errwin); ^~~~~~ atol error.c:94:3: warning: implicit declaration of function 'closeiwin'; did you mean 'openiwin'? [-Wimplicit-function-declaration] closeiwin(cx.x_errwin); ^~~~~~~~~ openiwin --- lcmd1.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c lcmd1.c --- lcmd2.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c lcmd2.c --- main.o --- --- lcmd.o --- lcmd.c: In function 'lcmd_lookup': lcmd.c:129:7: warning: implicit declaration of function 'str_match'; did you mean 'strcat'? [-Wimplicit-function-declaration] if (str_match(name, p->lc_name, p->lc_minlen)) ^~~~~~~~~ strcat lcmd.c: At top level: lcmd.c:134:1: warning: return type defaults to 'int' [-Wimplicit-int] dosource(filename) ^~~~~~~~ lcmd.c: In function 'dosource': lcmd.c:137:6: warning: implicit declaration of function 'cx_beginfile' [-Wimplicit-function-declaration] if (cx_beginfile(filename) < 0) ^~~~~~~~~~~~ lcmd.c:139:2: warning: implicit declaration of function 'p_start'; did you mean 'v_str'? [-Wimplicit-function-declaration] p_start(); ^~~~~~~ v_str lcmd.c:140:2: warning: implicit declaration of function 'err_end' [-Wimplicit-function-declaration] err_end(); ^~~~~~~ lcmd.c:141:2: warning: implicit declaration of function 'cx_end' [-Wimplicit-function-declaration] cx_end(); ^~~~~~ lcmd.c: At top level: lcmd.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] dolongcmd(buffer, arg, narg) ^~~~~~~~~ lcmd.c: In function 'dolongcmd': lcmd.c:150:6: warning: implicit declaration of function 'cx_beginbuf' [-Wimplicit-function-declaration] if (cx_beginbuf(buffer, arg, narg) < 0) ^~~~~~~~~~~ --- main.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c main.c --- lcmd2.o --- lcmd2.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] l_iostat(v, a) ^~~~~~~~ lcmd2.c: In function 'l_iostat': lcmd2.c:64:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("Can't open statistics window: %s.", wwerror()); ^~~~~ perror lcmd2.c:65:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:58:1: note: declared here l_iostat(v, a) ^~~~~~~~ lcmd2.c:67:2: warning: implicit declaration of function 'wwprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration] wwprintf(w, "ttflush\twrite\terror\tzero\tchar\n"); ^~~~~~~~ asprintf lcmd2.c:101:2: warning: implicit declaration of function 'waitnl' [-Wimplicit-function-declaration] waitnl(w); ^~~~~~ lcmd2.c:102:2: warning: implicit declaration of function 'closeiwin'; did you mean 'openiwin'? [-Wimplicit-function-declaration] closeiwin(w); ^~~~~~~~~ openiwin lcmd2.c: At top level: lcmd2.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] l_time(v, a) ^~~~~~ lcmd2.c: In function 'l_time': lcmd2.c:122:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:111:1: note: declared here l_time(v, a) ^~~~~~ lcmd2.c:132:7: warning: implicit declaration of function 'str_match'; did you mean 'str_cat'? [-Wimplicit-function-declaration] && str_match(a->v_str, "children", 1) ^~~~~~~~~ str_cat lcmd2.c: At top level: lcmd2.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] l_list(v, a) ^~~~~~ lcmd2.c: In function 'l_list': lcmd2.c:192:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ lcmd2.c:200:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:188:1: note: declared here l_list(v, a) ^~~~~~ lcmd2.c:204:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:188:1: note: declared here l_list(v, a) ^~~~~~ lcmd2.c: At top level: lcmd2.c:221:1: warning: return type defaults to 'int' [-Wimplicit-int] l_variable(v, a) ^~~~~~~~~~ lcmd2.c: In function 'l_variable': lcmd2.c:229:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:221:1: note: declared here l_variable(v, a) ^~~~~~~~~~ In file included from lcmd2.c:50: var.h:57:25: warning: implicit declaration of function 'var_walk1'; did you mean 'var_walk'? [-Wimplicit-function-declaration] #define var_walk(f, a) var_walk1(var_head, f, a) ^~~~~~~~~ lcmd2.c:231:6: note: in expansion of macro 'var_walk' if (var_walk(printvar, (long)w) >= 0) ^~~~~~~~ lcmd2.c: At top level: lcmd2.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] printvar(w, r) ^~~~~~~~ lcmd2.c: In function 'printvar': lcmd2.c:240:6: warning: implicit declaration of function 'more' [-Wimplicit-function-declaration] if (more(w, 0) == 2) ^~~~ --- lcmd1.o --- lcmd1.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c: At top level: lcmd2.c:262:1: warning: return type defaults to 'int' [-Wimplicit-int] l_def_shell(v, a) ^~~~~~~~~~~ lcmd2.c: In function 'l_def_shell': lcmd2.c:271:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- lcmd1.o --- lcmd1.c: In function 'l_window': --- lcmd2.o --- lcmd2.c:262:1: note: declared here l_def_shell(v, a) ^~~~~~~~~~~ --- lcmd1.o --- lcmd1.c:79:12: warning: implicit declaration of function 'findid'; did you mean 'index'? [-Wimplicit-function-declaration] if ((id = findid()) < 0) ^~~~~~ index lcmd1.c:80:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c:287:4: warning: implicit declaration of function 'p_memerror'; did you mean 'perror'? [-Wimplicit-function-declaration] p_memerror(); ^~~~~~~~~~ perror lcmd2.c: At top level: lcmd2.c:303:1: warning: return type defaults to 'int' [-Wimplicit-int] l_alias(v, a) ^~~~~~~ --- lcmd1.o --- lcmd1.c:92:16: warning: implicit declaration of function 'vtobool' [-Wimplicit-function-declaration] if ((haspty = vtobool(++a, 1, -1)) < 0) ^~~~~~~ lcmd1.c:93:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ lcmd1.c:95:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c: In function 'l_alias': --- lcmd1.o --- lcmd1.c:97:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c:312:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ --- lcmd1.o --- lcmd1.c:99:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c:303:1: note: declared here l_alias(v, a) ^~~~~~~ --- lcmd1.o --- lcmd1.c:101:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c:323:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:303:1: note: declared here l_alias(v, a) ^~~~~~~ lcmd2.c:331:13: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ --- lcmd1.o --- lcmd1.c:118:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:67:1: note: declared here l_window(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c:338:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:303:1: note: declared here l_alias(v, a) ^~~~~~~ --- lcmd1.o --- lcmd1.c: At top level: lcmd1.c:131:1: warning: return type defaults to 'int' [-Wimplicit-int] l_def_nline(v, a) ^~~~~~~~~~~ --- lcmd2.o --- lcmd2.c:348:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:303:1: note: declared here l_alias(v, a) ^~~~~~~ --- lcmd1.o --- lcmd1.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] l_smooth(v, a) ^~~~~~~~ --- lcmd2.o --- lcmd2.c: At top level: lcmd2.c:355:1: warning: return type defaults to 'int' [-Wimplicit-int] printalias(w, a) ^~~~~~~~~~ --- lcmd1.o --- lcmd1.c: In function 'l_smooth': lcmd1.c:154:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:146:1: note: declared here l_smooth(v, a) ^~~~~~~~ lcmd1.c: At top level: --- lcmd2.o --- lcmd2.c:370:1: warning: return type defaults to 'int' [-Wimplicit-int] l_unalias(v, a) ^~~~~~~~~ --- lcmd1.o --- lcmd1.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] l_def_smooth(v, a) ^~~~~~~~~~~~ lcmd1.c:177:1: warning: return type defaults to 'int' [-Wimplicit-int] l_select(v, a) ^~~~~~~~ lcmd1.c: In function 'l_select': lcmd1.c:185:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:177:1: note: declared here l_select(v, a) ^~~~~~~~ lcmd1.c:187:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:177:1: note: declared here l_select(v, a) ^~~~~~~~ lcmd1.c:188:2: warning: implicit declaration of function 'setselwin'; did you mean 'getdelim'? [-Wimplicit-function-declaration] setselwin(w); ^~~~~~~~~ getdelim lcmd1.c: At top level: lcmd1.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] l_debug(v, a) ^~~~~~~ lcmd1.c:209:1: warning: return type defaults to 'int' [-Wimplicit-int] l_escape(v, a) ^~~~~~~~ lcmd1.c: In function 'l_escape': lcmd1.c:217:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("Out of memory."); ^~~~~ perror lcmd1.c:218:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:209:1: note: declared here l_escape(v, a) ^~~~~~~~ lcmd1.c:222:3: warning: implicit declaration of function 'setescape'; did you mean 'l_escape'? [-Wimplicit-function-declaration] setescape(a->v_str); ^~~~~~~~~ l_escape lcmd1.c: At top level: lcmd1.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] l_label(v, a) ^~~~~~~ lcmd1.c: In function 'l_label': lcmd1.c:239:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:232:1: note: declared here l_label(v, a) ^~~~~~~ lcmd1.c:240:32: warning: implicit declaration of function 'setlabel'; did you mean 'l_label'? [-Wimplicit-function-declaration] if ((++a)->v_type != V_ERR && setlabel(w, a->v_str) < 0) ^~~~~~~~ l_label lcmd1.c:242:2: warning: implicit declaration of function 'reframe'; did you mean 'rename'? [-Wimplicit-function-declaration] reframe(); ^~~~~~~ rename lcmd1.c: At top level: lcmd1.c:251:1: warning: return type defaults to 'int' [-Wimplicit-int] l_foreground(v, a) ^~~~~~~~~~~~ lcmd1.c: In function 'l_foreground': lcmd1.c:258:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:251:1: note: declared here l_foreground(v, a) ^~~~~~~~~~~~ lcmd1.c:263:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:251:1: note: declared here l_foreground(v, a) ^~~~~~~~~~~~ lcmd1.c:264:2: warning: implicit declaration of function 'deletewin'; did you mean 'getwin'? [-Wimplicit-function-declaration] deletewin(w); ^~~~~~~~~ getwin lcmd1.c:265:2: warning: implicit declaration of function 'addwin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] addwin(w, flag); ^~~~~~ vtowin lcmd1.c: At top level: lcmd1.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] l_terse(v, a) ^~~~~~~ lcmd1.c: In function 'l_terse': lcmd1.c:279:2: warning: implicit declaration of function 'setterse'; did you mean 'l_terse'? [-Wimplicit-function-declaration] setterse(vtobool(a, terse, terse)); ^~~~~~~~ l_terse lcmd1.c: At top level: lcmd1.c:287:1: warning: return type defaults to 'int' [-Wimplicit-int] l_source(v, a) ^~~~~~~~ lcmd1.c: In function 'l_source': lcmd1.c:291:28: warning: implicit declaration of function 'dosource'; did you mean 'l_source'? [-Wimplicit-function-declaration] if (a->v_type != V_ERR && dosource(a->v_str) < 0) { ^~~~~~~~ l_source lcmd1.c: At top level: lcmd1.c:305:1: warning: return type defaults to 'int' [-Wimplicit-int] l_write(v, a) ^~~~~~~ lcmd1.c: In function 'l_write': lcmd1.c:313:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:305:1: note: declared here l_write(v, a) ^~~~~~~ lcmd1.c:317:11: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] (void) write(w->ww_pty, buf, strlen(buf)); ^~~~~ fwrite lcmd1.c: At top level: lcmd1.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] l_close(v, a) ^~~~~~~ lcmd1.c: In function 'l_close': lcmd1.c:337:28: warning: implicit declaration of function 'str_match'; did you mean 'str_cat'? [-Wimplicit-function-declaration] if (a->v_type == V_STR && str_match(a->v_str, "all", 3)) ^~~~~~~~~ str_cat lcmd1.c:338:3: warning: implicit declaration of function 'closewin'; did you mean 'fcloseall'? [-Wimplicit-function-declaration] closewin((struct ww *)0); ^~~~~~~~ fcloseall lcmd1.c: At top level: lcmd1.c:350:1: warning: return type defaults to 'int' [-Wimplicit-int] l_cursormodes(v, a) ^~~~~~~~~~~~~ lcmd1.c: In function 'l_cursormodes': lcmd1.c:357:3: warning: implicit declaration of function 'wwsetcursormodes'; did you mean 'l_cursormodes'? [-Wimplicit-function-declaration] wwsetcursormodes(a->v_num); ^~~~~~~~~~~~~~~~ l_cursormodes lcmd1.c: At top level: lcmd1.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] l_unset(v, a) ^~~~~~~ lcmd1.c: In function 'l_unset': lcmd1.c:372:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:365:1: note: declared here l_unset(v, a) ^~~~~~~ lcmd1.c:377:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd1.c:365:1: note: declared here l_unset(v, a) ^~~~~~~ In file included from lcmd1.c:48: var.h:55:23: warning: implicit declaration of function 'var_unset1'; did you mean 'var_unset'? [-Wimplicit-function-declaration] #define var_unset(n) var_unset1(&var_head, n) ^~~~~~~~~~ lcmd1.c:382:13: note: in expansion of macro 'var_unset' v->v_num = var_unset(a->v_str); ^~~~~~~~~ lcmd1.c: At top level: lcmd1.c:408:1: warning: return type defaults to 'int' [-Wimplicit-int] vtobool(v, def, err) ^~~~~~~ --- mloop.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c mloop.c --- lcmd2.o --- In file included from lcmd2.c:52: lcmd2.c: In function 'l_unalias': alias.h:50:25: warning: implicit declaration of function 'var_unset1'; did you mean 'var_unset'? [-Wimplicit-function-declaration] #define alias_unset(n) var_unset1(&alias_head, n) ^~~~~~~~~~ lcmd2.c:374:14: note: in expansion of macro 'alias_unset' v->v_num = alias_unset(a->v_str); ^~~~~~~~~~~ lcmd2.c: At top level: lcmd2.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] l_echo(v, a) ^~~~~~ lcmd2.c: In function 'l_echo': lcmd2.c:393:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ lcmd2.c:385:1: note: declared here l_echo(v, a) ^~~~~~ lcmd2.c:397:11: warning: implicit declaration of function 'wwwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration] (void) wwwrite(w, buf, strlen(buf)); ^~~~~~~ fwrite --- mloop.o --- mloop.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] mloop() ^~~~~ mloop.c: In function 'mloop': mloop.c:50:4: warning: implicit declaration of function 'docmd' [-Wimplicit-function-declaration] docmd(); ^~~~~ mloop.c:53:5: warning: implicit declaration of function 'closewin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] closewin(wwcurwin); ^~~~~~~~ vtowin mloop.c:54:4: warning: implicit declaration of function 'setcmd'; did you mean 'setjmp'? [-Wimplicit-function-declaration] setcmd(1); ^~~~~~ setjmp mloop.c:57:4: warning: implicit declaration of function 'error'; did you mean 'wwerror'? [-Wimplicit-function-declaration] error("Process died."); ^~~~~ wwerror mloop.c:61:13: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ mloop.c:64:5: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ mloop.c:70:6: warning: implicit declaration of function 'startwin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] startwin(w); ^~~~~~~~ vtowin mloop.c:76:12: warning: implicit declaration of function 'write'; did you mean 'wwrint'? [-Wimplicit-function-declaration] (void) write(w->ww_pty, wwibp, n); ^~~~~ wwrint --- main.o --- main.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ main.c: In function 'main': main.c:61:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] main.c:87:13: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] (void) usage(); ^~~~~ main.c:92:5: warning: implicit declaration of function 'setescape'; did you mean 'setstate'? [-Wimplicit-function-declaration] setescape(next(argv)); ^~~~~~~~~ setstate main.c:128:6: warning: implicit declaration of function 'wwinit'; did you mean 'wwquit'? [-Wimplicit-function-declaration] if (wwinit() < 0) { ^~~~~~ wwquit main.c:155:10: warning: implicit declaration of function 'wwsettty'; did you mean 'wwsetintr'? [-Wimplicit-function-declaration] (void) wwsettty(0, &wwnewtty); ^~~~~~~~ wwsetintr main.c:159:3: warning: implicit declaration of function 'wwflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] wwflush(); ^~~~~~~ fflush main.c:173:2: warning: implicit declaration of function 'wwadd' [-Wimplicit-function-declaration] wwadd(framewin, &wwhead); ^~~~~ In file included from defs.h:40, from main.c:49: ww.h:255:20: warning: implicit declaration of function 'wwupdate1'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] #define wwupdate() wwupdate1(0, wwnrow); ^~~~~~~~~ main.c:181:2: note: in expansion of macro 'wwupdate' wwupdate(); ^~~~~~~~ main.c:183:2: warning: implicit declaration of function 'setvars'; did you mean 'setvbuf'? [-Wimplicit-function-declaration] setvars(); ^~~~~~~ setvbuf main.c:185:2: warning: implicit declaration of function 'setterse'; did you mean 'setstate'? [-Wimplicit-function-declaration] setterse(tflag); ^~~~~~~~ setstate main.c:186:2: warning: implicit declaration of function 'setcmd'; did you mean 'setjmp'? [-Wimplicit-function-declaration] setcmd(1); ^~~~~~ setjmp main.c:188:10: warning: implicit declaration of function 'dolongcmd'; did you mean '_longjmp'? [-Wimplicit-function-declaration] (void) dolongcmd(cmd, (struct value *)0, 0); ^~~~~~~~~ _longjmp main.c:190:16: warning: implicit declaration of function 'doconfig' [-Wimplicit-function-declaration] if (dflag || doconfig() < 0) ^~~~~~~~ main.c:191:4: warning: implicit declaration of function 'dodefault' [-Wimplicit-function-declaration] dodefault(); ^~~~~~~~~ main.c:195:2: warning: implicit declaration of function 'mloop'; did you mean 'malloc'? [-Wimplicit-function-declaration] mloop(); ^~~~~ malloc main.c:198:2: warning: implicit declaration of function 'wwend' [-Wimplicit-function-declaration] wwend(1); ^~~~~ main.c: At top level: main.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] usage() ^~~~~ --- parser1.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c parser1.c --- parser2.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c parser2.c parser2.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] p_function(name, v, flag) ^~~~~~~~~~ parser2.c: In function 'p_function': parser2.c:52:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] parser2.c:61:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ parser2.c:71:4: warning: implicit declaration of function 'p_error'; did you mean 'perror'? [-Wimplicit-function-declaration] p_error("%s: No such command or alias.", name); ^~~~~~~ perror parser2.c:79:10: warning: implicit declaration of function 's_gettok'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] (void) s_gettok(); ^~~~~~~~ fgetpos parser2.c:87:8: warning: implicit declaration of function 'p_expr0' [-Wimplicit-function-declaration] if (p_expr0(&t, flag) < 0) ^~~~~~~ parser2.c:102:8: warning: implicit declaration of function 'p_convstr' [-Wimplicit-function-declaration] if (p_convstr(&t) < 0) ^~~~~~~~~ parser2.c:106:8: warning: implicit declaration of function 'p_expr' [-Wimplicit-function-declaration] if (p_expr(&t, flag) < 0) { ^~~~~~ parser2.c:109:5: warning: implicit declaration of function 'p_synerror'; did you mean 'p_synerred'? [-Wimplicit-function-declaration] p_synerror(); ^~~~~~~~~~ p_synerred parser2.c:123:13: warning: implicit declaration of function 'str_match'; did you mean 'str_cat'? [-Wimplicit-function-declaration] !str_match(tmp, ap->arg_name, ^~~~~~~~~ str_cat parser2.c:193:9: warning: implicit declaration of function 'dolongcmd' [-Wimplicit-function-declaration] if (dolongcmd(a->a_buf, av, i) < 0) ^~~~~~~~~ parser2.c:194:6: warning: implicit declaration of function 'p_memerror'; did you mean 'perror'? [-Wimplicit-function-declaration] p_memerror(); ^~~~~~~~~~ perror parser2.c: At top level: parser2.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] p_assign(name, v, flag) ^~~~~~~~ --- parser1.o --- parser1.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] p_start() ^~~~~~~ parser1.c: In function 'p_start': parser1.c:49:9: warning: implicit declaration of function 's_gettok'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] (void) s_gettok(); ^~~~~~~~ fgetpos parser1.c:51:3: warning: implicit declaration of function 'p_statementlist' [-Wimplicit-function-declaration] p_statementlist(flag); ^~~~~~~~~~~~~~~ parser1.c:55:3: warning: implicit declaration of function 'p_synerror'; did you mean 'p_synerred'? [-Wimplicit-function-declaration] p_synerror(); ^~~~~~~~~~ p_synerred parser1.c: At top level: parser1.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] p_statementlist(flag) ^~~~~~~~~~~~~~~ parser1.c: In function 'p_statementlist': parser1.c:70:9: warning: implicit declaration of function 'p_statement'; did you mean 'p_statementlist'? [-Wimplicit-function-declaration] for (; p_statement(flag) >= 0; p_clearerr()) ^~~~~~~~~~~ p_statementlist parser1.c: At top level: parser1.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] p_statement(flag) ^~~~~~~~~~~ parser1.c: In function 'p_statement': parser1.c:82:10: warning: implicit declaration of function 'p_if' [-Wimplicit-function-declaration] return p_if(flag); ^~~~ parser1.c:84:10: warning: implicit declaration of function 'p_expression' [-Wimplicit-function-declaration] return p_expression(flag); ^~~~~~~~~~~~ parser1.c: At top level: parser1.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] p_if(flag) ^~~~ parser1.c: In function 'p_if': parser1.c:97:6: warning: implicit declaration of function 'p_expr' [-Wimplicit-function-declaration] if (p_expr(&t, flag) < 0) { ^~~~~~ parser1.c:106:3: warning: implicit declaration of function 'p_error'; did you mean 'perror'? [-Wimplicit-function-declaration] p_error("if: Numeric value required."); ^~~~~~~ perror parser1.c: At top level: parser1.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expression(flag) ^~~~~~~~~~~~ parser1.c: In function 'p_expression': parser1.c:168:27: warning: implicit declaration of function 'p_convstr' [-Wimplicit-function-declaration] if (token != T_ASSIGN && p_convstr(&t) < 0) ^~~~~~~~~ parser1.c: At top level: parser1.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] p_convstr(v) ^~~~~~~~~ parser1.c: In function 'p_convstr': parser1.c:194:3: warning: implicit declaration of function 'p_memerror'; did you mean 'perror'? [-Wimplicit-function-declaration] p_memerror(); ^~~~~~~~~~ perror parser1.c: At top level: parser1.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] p_synerror() ^~~~~~~~~~ parser1.c: In function 'p_synerror': parser1.c:206:3: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] error("Syntax error."); ^~~~~ perror parser1.c: At top level: parser1.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] p_error(msg, a, b, c) ^~~~~~~ parser1.c: In function 'p_error': parser1.c:211:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] parser1.c:211:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] parser1.c:211:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] parser1.c: At top level: parser1.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] p_memerror() ^~~~~~~~~~ --- parser3.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c parser3.c parser3.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr(v, flag) ^~~~~~ parser3.c: In function 'p_expr': parser3.c:67:6: warning: implicit declaration of function 'p_expr0'; did you mean 'p_expr'? [-Wimplicit-function-declaration] if (p_expr0(&t, flag) < 0) ^~~~~~~ p_expr parser3.c:76:3: warning: implicit declaration of function 'p_error'; did you mean 'perror'? [-Wimplicit-function-declaration] p_error("%d: Not a variable.", t.v_num); ^~~~~~~ perror parser3.c:81:8: warning: implicit declaration of function 'p_assign' [-Wimplicit-function-declaration] ret = p_assign(t.v_str, v, flag); ^~~~~~~~ parser3.c: At top level: parser3.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr0(v, flag) ^~~~~~~ parser3.c: In function 'p_expr0': parser3.c:97:6: warning: implicit declaration of function 'p_expr1'; did you mean 'p_expr0'? [-Wimplicit-function-declaration] if (p_expr1(v, flag) < 0) ^~~~~~~ p_expr0 --- parser4.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c parser4.c --- parser3.o --- parser3.c:113:9: warning: implicit declaration of function 's_gettok'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] (void) s_gettok(); ^~~~~~~~ fgetpos parser3.c:119:3: warning: implicit declaration of function 'p_synerror'; did you mean 'p_synerred'? [-Wimplicit-function-declaration] p_synerror(); ^~~~~~~~~~ p_synerred parser3.c: At top level: parser3.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr1(v, flag) ^~~~~~~ parser3.c: In function 'p_expr1': parser3.c:135:6: warning: implicit declaration of function 'p_expr2'; did you mean 'p_expr1'? [-Wimplicit-function-declaration] if (p_expr2(v, flag) < 0) ^~~~~~~ p_expr1 parser3.c: At top level: parser3.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr2(v, flag) ^~~~~~~ parser3.c: In function 'p_expr2': parser3.c:169:6: warning: implicit declaration of function 'p_expr3_10'; did you mean 'p_expr1'? [-Wimplicit-function-declaration] if (p_expr3_10(3, v, flag) < 0) ^~~~~~~~~~ p_expr1 --- parser5.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c parser5.c --- parser4.o --- parser4.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr3_10(level, v, flag) ^~~~~~~~~~ parser4.c: In function 'p_expr3_10': parser4.c:56:1: warning: type of 'level' defaults to 'int' [-Wimplicit-int] parser4.c:64:21: warning: implicit declaration of function 'p_expr11'; did you mean 'p_expr3_10'? [-Wimplicit-function-declaration] if ((level == 10 ? p_expr11(v, flag) ^~~~~~~~ p_expr3_10 parser4.c:147:10: warning: implicit declaration of function 's_gettok'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] (void) s_gettok(); ^~~~~~~~ fgetpos parser4.c:150:4: warning: implicit declaration of function 'p_synerror'; did you mean 'p_synerred'? [-Wimplicit-function-declaration] p_synerror(); ^~~~~~~~~~ p_synerred parser4.c:167:10: warning: implicit declaration of function 'p_convstr' [-Wimplicit-function-declaration] if (p_convstr(&r) < 0) ^~~~~~~~~ parser4.c:192:5: warning: implicit declaration of function 'p_error'; did you mean 'perror'? [-Wimplicit-function-declaration] p_error("%s: Numeric operands required.", ^~~~~~~ perror --- parser5.o --- parser5.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr11(v, flag) ^~~~~~~~ parser5.c: In function 'p_expr11': parser5.c:76:10: warning: implicit declaration of function 'p_expr12'; did you mean 'p_expr11'? [-Wimplicit-function-declaration] return p_expr12(v, flag); ^~~~~~~~ p_expr11 parser5.c:79:9: warning: implicit declaration of function 's_gettok'; did you mean 'fgetpos'? [-Wimplicit-function-declaration] (void) s_gettok(); ^~~~~~~~ fgetpos parser5.c:90:4: warning: implicit declaration of function 'p_error'; did you mean 'perror'? [-Wimplicit-function-declaration] p_error("%s: Numeric operand required.", opname); ^~~~~~~ perror parser5.c:128:4: warning: implicit declaration of function 'p_memerror'; did you mean 'perror'? [-Wimplicit-function-declaration] p_memerror(); ^~~~~~~~~~ perror parser5.c: At top level: parser5.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] p_expr12(v, flag) ^~~~~~~~ parser5.c: In function 'p_expr12': parser5.c:174:7: warning: implicit declaration of function 'p_expr'; did you mean 'p_expr12'? [-Wimplicit-function-declaration] if (p_expr(v, flag) < 0) { ^~~~~~ p_expr12 parser5.c:175:4: warning: implicit declaration of function 'p_synerror'; did you mean 'p_synerred'? [-Wimplicit-function-declaration] p_synerror(); ^~~~~~~~~~ p_synerred parser5.c:191:7: warning: implicit declaration of function 'p_convstr' [-Wimplicit-function-declaration] if (p_convstr(v) < 0) ^~~~~~~~~ parser5.c:194:7: warning: implicit declaration of function 'p_function' [-Wimplicit-function-declaration] if (p_function(cmd, v, flag) < 0) { ^~~~~~~~~~ --- scanner.o --- --- startup.o --- --- scanner.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c scanner.c --- startup.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c startup.c --- string.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c string.c --- startup.o --- startup.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] doconfig() ^~~~~~~~ --- ttf100.o --- --- startup.o --- startup.c: In function 'doconfig': startup.c:61:9: warning: implicit declaration of function 'dosource' [-Wimplicit-function-declaration] return dosource(buf); ^~~~~~~~ startup.c: At top level: startup.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] dodefault() ^~~~~~~~~ startup.c: In function 'dodefault': startup.c:70:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r = wwnrow / 2 - 1; ^ startup.c:74:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ startup.c:67:1: note: declared here dodefault() ^~~~~~~~~ startup.c:77:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ startup.c:67:1: note: declared here dodefault() ^~~~~~~~~ startup.c:78:2: warning: implicit declaration of function 'wwprintf'; did you mean 'asprintf'? [-Wimplicit-function-declaration] wwprintf(w, "Escape character is %s.\r\n", unctrl(escapec)); ^~~~~~~~ asprintf startup.c: At top level: startup.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] setvars() ^~~~~~~ --- ttf100.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttf100.c --- string.o --- string.c: In function 'str_ncpy': string.c:66:10: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ string.c: At top level: string.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] str_match(s, p, min) ^~~~~~~~~ string.c: In function 'str_match': string.c:116:10: warning: type defaults to 'int' in declaration of 'min' [-Wimplicit-int] register min; ^~~ In file included from string.c:44: string.c: In function 'str_alloc': mystring.h:58:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define str_offset ((unsigned)str_head.s_data - (unsigned)&str_head) ^ string.c:130:47: note: in expansion of macro 'str_offset' s = (struct mystring *) malloc((unsigned)l + str_offset); ^~~~~~~~~~ mystring.h:58:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define str_offset ((unsigned)str_head.s_data - (unsigned)&str_head) ^ string.c:130:47: note: in expansion of macro 'str_offset' s = (struct mystring *) malloc((unsigned)l + str_offset); ^~~~~~~~~~ string.c: At top level: string.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] str_free(str) ^~~~~~~~ --- scanner.o --- scanner.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] s_getc() ^~~~~~ scanner.c: In function 's_getc': scanner.c:53:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ scanner.c: At top level: scanner.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] s_ungetc(c) ^~~~~~~~ scanner.c: In function 's_ungetc': scanner.c:74:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] scanner.c: At top level: scanner.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] s_gettok() ^~~~~~~~ scanner.c: In function 's_gettok': scanner.c:95:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ scanner.c:96:11: warning: type defaults to 'int' in declaration of 'state' [-Wimplicit-int] register state = 0; ^~~~~ scanner.c:125:16: warning: implicit declaration of function 's_gettok1'; did you mean 's_gettok'? [-Wimplicit-function-declaration] switch (c = s_gettok1()) { ^~~~~~~~~ s_gettok scanner.c:294:5: warning: implicit declaration of function 'p_memerror'; did you mean 'perror'? [-Wimplicit-function-declaration] p_memerror(); ^~~~~~~~~~ perror scanner.c: At top level: scanner.c:513:1: warning: return type defaults to 'int' [-Wimplicit-int] s_gettok1() ^~~~~~~~~ scanner.c: In function 's_gettok1': scanner.c:515:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ scanner.c:516:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ --- ttf100.o --- ttf100.c:59:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_f100() ^~~~~~~ ttf100.c: In function 'tt_f100': ttf100.c:64:6: warning: implicit declaration of function 'tt_generic' [-Wimplicit-function-declaration] if (tt_generic() < 0) ^~~~~~~~~~ --- ttgeneric.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttgeneric.c --- tth19.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c tth19.c --- ttgeneric.o --- ttgeneric.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_setinsert(new) ^~~~~~~~~~~~~ In file included from ttgeneric.c:44: ttgeneric.c: In function 'gen_setinsert': tt.h:136:20: warning: implicit declaration of function 'ttwrite' [-Wimplicit-function-declaration] #define ttxputs(s) ttwrite((s)->ts_str, (s)->ts_n) ^~~~~~~ ttgeneric.c:128:4: note: in expansion of macro 'ttxputs' ttxputs(gen_IM); ^~~~~~~ ttgeneric.c: At top level: ttgeneric.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_setmodes(new) ^~~~~~~~~~~~ ttgeneric.c: In function 'gen_setmodes': ttgeneric.c:136:10: warning: type defaults to 'int' in declaration of 'new' [-Wimplicit-int] register new; ^~~ ttgeneric.c:138:11: warning: type defaults to 'int' in declaration of 'diff' [-Wimplicit-int] register diff; ^~~~ ttgeneric.c: At top level: ttgeneric.c:176:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_insline(n) ^~~~~~~~~~~ ttgeneric.c: In function 'gen_insline': ttgeneric.c:176:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttgeneric.c:181:3: warning: implicit declaration of function 'ttpgoto'; did you mean 'ttputc'? [-Wimplicit-function-declaration] ttpgoto(gen_ALn, 0, n, gen_LI - tt.tt_row); ^~~~~~~ ttputc In file included from ttgeneric.c:44: tt.h:135:23: warning: implicit declaration of function 'tputs'; did you mean 'tttputs'? [-Wimplicit-function-declaration] #define tttputs(s, n) tputs((s)->ts_str, (n), tttputc) ^~~~~ ttgeneric.c:184:4: note: in expansion of macro 'tttputs' tttputs(gen_AL, gen_LI - tt.tt_row); ^~~~~~~ ttgeneric.c: At top level: ttgeneric.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_delline(n) ^~~~~~~~~~~ ttgeneric.c: In function 'gen_delline': ttgeneric.c:187:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttgeneric.c: At top level: ttgeneric.c:198:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_putc(c) ^~~~~~~~ In file included from ttgeneric.c:44: ttgeneric.c: In function 'gen_putc': tt.h:147:8: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ ttgeneric.c:205:2: note: in expansion of macro 'ttputc' ttputc(c); ^~~~~~ ttgeneric.c: At top level: ttgeneric.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_write(p, n) ^~~~~~~~~ ttgeneric.c: In function 'gen_write': ttgeneric.c:217:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ttgeneric.c: At top level: ttgeneric.c:234:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_move(row, col) ^~~~~~~~ ttgeneric.c: In function 'gen_move': ttgeneric.c:238:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ttgeneric.c:234:1: note: declared here gen_move(row, col) ^~~~~~~~ ttgeneric.c:244:3: warning: implicit declaration of function 'gen_setscroll'; did you mean 'gen_setmodes'? [-Wimplicit-function-declaration] gen_setscroll(0, tt.tt_nrow - 1); ^~~~~~~~~~~~~ gen_setmodes ttgeneric.c:277:2: warning: implicit declaration of function 'tttgoto'; did you mean 'tttputc'? [-Wimplicit-function-declaration] tttgoto(gen_CM, col, row); ^~~~~~~ tttputc ttgeneric.c: At top level: ttgeneric.c:283:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_start() ^~~~~~~~~ ttgeneric.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_end() ^~~~~~~ ttgeneric.c:305:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_clreol() ^~~~~~~~~~ ttgeneric.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_clreos() ^~~~~~~~~~ ttgeneric.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_clear() ^~~~~~~~~ ttgeneric.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_inschar(c) ^~~~~~~~~~~ ttgeneric.c:347:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_insspace(n) ^~~~~~~~~~~~ ttgeneric.c: In function 'gen_insspace': ttgeneric.c:347:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttgeneric.c: At top level: ttgeneric.c:356:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_delchar(n) ^~~~~~~~~~~ ttgeneric.c: In function 'gen_delchar': ttgeneric.c:356:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttgeneric.c: At top level: ttgeneric.c:365:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_scroll_down(n) ^~~~~~~~~~~~~~~ ttgeneric.c: In function 'gen_scroll_down': ttgeneric.c:365:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttgeneric.c: At top level: ttgeneric.c:375:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_scroll_up(n) ^~~~~~~~~~~~~ ttgeneric.c: In function 'gen_scroll_up': ttgeneric.c:375:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttgeneric.c: At top level: ttgeneric.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] gen_setscroll(top, bot) ^~~~~~~~~~~~~ ttgeneric.c: In function 'gen_setscroll': ttgeneric.c:385:1: warning: type of 'top' defaults to 'int' [-Wimplicit-int] ttgeneric.c:385:1: warning: type of 'bot' defaults to 'int' [-Wimplicit-int] ttgeneric.c: At top level: ttgeneric.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_generic() ^~~~~~~~~~ ttgeneric.c: In function 'tt_generic': ttgeneric.c:438:11: warning: implicit declaration of function 'tgetflag'; did you mean 'tgetstr'? [-Wimplicit-function-declaration] gen_MI = tgetflag("mi"); ^~~~~~~~ tgetstr ttgeneric.c:447:11: warning: implicit declaration of function 'tgetnum'; did you mean 'tgetstr'? [-Wimplicit-function-declaration] gen_CO = tgetnum("co"); ^~~~~~~ tgetstr ttgeneric.c:488:40: warning: implicit declaration of function 'ttstrcmp'; did you mean 'strcat'? [-Wimplicit-function-declaration] if (gen_UG > 0 || gen_US && gen_SO && ttstrcmp(gen_US, gen_SO) == 0) ^~~~~~~~ strcat ttgeneric.c:492:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *) gen_IM); ^~~~ ttgeneric.c:492:3: warning: incompatible implicit declaration of built-in function 'free' ttgeneric.c:492:3: note: include '' or provide a declaration of 'free' ttgeneric.c:45:1: +#include ttgeneric.c:492:3: free((char *) gen_IM); ^~~~ ttgeneric.c:496:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) gen_EI); ^~~~ ttgeneric.c:496:3: note: include '' or provide a declaration of 'free' ttgeneric.c:500:3: warning: incompatible implicit declaration of built-in function 'free' free((char *) gen_IC); ^~~~ ttgeneric.c:500:3: note: include '' or provide a declaration of 'free' --- tth19.o --- tth19.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_setmodes(new) ^~~~~~~~~~~~ tth19.c: In function 'h19_setmodes': tth19.c:86:10: warning: type defaults to 'int' in declaration of 'new' [-Wimplicit-int] register new; ^~~ tth19.c:88:11: warning: type defaults to 'int' in declaration of 'diff' [-Wimplicit-int] register diff; ^~~~ In file included from tth19.c:44: tt.h:147:8: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ tt.h:153:19: note: in expansion of macro 'ttputc' #define ttctrl(c) ttputc(ctrl(c)) ^~~~~~ tt.h:154:19: note: in expansion of macro 'ttctrl' #define ttesc(c) (ttctrl('['), ttputc(c)) ^~~~~~ tth19.c:92:3: note: in expansion of macro 'ttesc' ttesc(new & WWM_REV ? 'p' : 'q'); ^~~~~ tth19.c: At top level: tth19.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_insline(n) ^~~~~~~~~~~ tth19.c: In function 'h19_insline': tth19.c:98:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tth19.c:76:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; \ ^ tth19.c:81:17: note: in expansion of macro 'PAD' #define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */ ^~~ tth19.c:102:3: note: in expansion of macro 'ILPAD' ILPAD(); ^~~~~ tth19.c: At top level: tth19.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_delline(n) ^~~~~~~~~~~ tth19.c: In function 'h19_delline': tth19.c:106:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tth19.c:76:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; \ ^ tth19.c:81:17: note: in expansion of macro 'PAD' #define ILPAD() PAD((NROW - tt.tt_row) * 10) /* 1 ms per char */ ^~~ tth19.c:110:3: note: in expansion of macro 'ILPAD' ILPAD(); ^~~~~ tth19.c: At top level: tth19.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_putc(c) ^~~~~~~~ tth19.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_write(p, n) ^~~~~~~~~ tth19.c: In function 'h19_write': tth19.c:128:10: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ tth19.c:134:2: warning: implicit declaration of function 'ttwrite'; did you mean 'h19_write'? [-Wimplicit-function-declaration] ttwrite(p, n); ^~~~~~~ h19_write tth19.c: At top level: tth19.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_move(row, col) ^~~~~~~~ tth19.c: In function 'h19_move': tth19.c:145:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ tth19.c:140:1: note: declared here h19_move(row, col) ^~~~~~~~ tth19.c: At top level: tth19.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_start() ^~~~~~~~~ tth19.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_end() ^~~~~~~ tth19.c:201:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_clreol() ^~~~~~~~~~ tth19.c:206:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_clreos() ^~~~~~~~~~ tth19.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_clear() ^~~~~~~~~ tth19.c:216:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_inschar(c) ^~~~~~~~~~~ tth19.c: In function 'h19_inschar': tth19.c:76:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; \ ^ tth19.c:80:17: note: in expansion of macro 'PAD' #define ICPAD() PAD((NCOL - tt.tt_col) * 1) /* 0.1 ms per char */ ^~~ tth19.c:225:3: note: in expansion of macro 'ICPAD' ICPAD(); ^~~~~ tth19.c: At top level: tth19.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_delchar(n) ^~~~~~~~~~~ tth19.c: In function 'h19_delchar': tth19.c:230:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tth19.c: At top level: tth19.c:236:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_scroll_down(n) ^~~~~~~~~~~~~~~ tth19.c: In function 'h19_scroll_down': tth19.c:236:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tth19.c: At top level: tth19.c:243:1: warning: return type defaults to 'int' [-Wimplicit-int] h19_scroll_up(n) ^~~~~~~~~~~~~ tth19.c: In function 'h19_scroll_up': tth19.c:243:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tth19.c: At top level: tth19.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_h19() ^~~~~~ --- tth29.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c tth29.c tth29.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] h29_setmodes(new) ^~~~~~~~~~~~ tth29.c: In function 'h29_setmodes': tth29.c:64:10: warning: type defaults to 'int' in declaration of 'new' [-Wimplicit-int] register new; ^~~ tth29.c:66:11: warning: type defaults to 'int' in declaration of 'modes' [-Wimplicit-int] register modes = '0'; ^~~~~ In file included from tth29.c:44: tt.h:147:8: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ tt.h:153:19: note: in expansion of macro 'ttputc' #define ttctrl(c) ttputc(ctrl(c)) ^~~~~~ tt.h:154:19: note: in expansion of macro 'ttctrl' #define ttesc(c) (ttctrl('['), ttputc(c)) ^~~~~~ tth29.c:78:2: note: in expansion of macro 'ttesc' ttesc('s'); ^~~~~ tth29.c: At top level: tth29.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_h29() ^~~~~~ tth29.c: In function 'tt_h29': tth29.c:91:6: warning: implicit declaration of function 'tt_h19'; did you mean 'tt_h29'? [-Wimplicit-function-declaration] if (tt_h19() < 0) ^~~~~~ tt_h29 --- ttinit.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttinit.c ttinit.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] ttinit() ^~~~~~ ttinit.c: In function 'ttinit': ttinit.c:107:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (strncmp(tp->tt_name, wwterm, tp->tt_len) == 0) ^~~~~~~ ttinit.c:117:6: warning: implicit declaration of function 'wwgetttysize'; did you mean 'getbsize'? [-Wimplicit-function-declaration] if (wwgetttysize(0, &tt.tt_nrow, &tt.tt_ncol) < 0) ^~~~~~~~~~~~ getbsize --- ttoutput.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttoutput.c ttoutput.c:55:1: warning: return type defaults to 'int' [-Wimplicit-int] ttflush() ^~~~~~~ ttoutput.c: In function 'ttflush': ttoutput.c:58:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n = tt_obp - tt_ob; ^ ttoutput.c:61:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ttoutput.c:55:1: note: declared here ttflush() ^~~~~~~ ttoutput.c:66:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ttoutput.c:55:1: note: declared here ttflush() ^~~~~~~ ttoutput.c: At top level: ttoutput.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] ttputs(s) ^~~~~~ ttoutput.c:96:1: warning: return type defaults to 'int' [-Wimplicit-int] ttwrite(s, n) ^~~~~~~ ttoutput.c: In function 'ttwrite': ttoutput.c:98:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ttoutput.c:138:13: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] register m; ^ --- tttermcap.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c tttermcap.c tttermcap.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] tttputc(c) ^~~~~~~ tttermcap.c: In function 'tttputc': tttermcap.c:49:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] In file included from tttermcap.c:43: tt.h:147:8: warning: implicit declaration of function 'ttflush' [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ tttermcap.c:51:2: note: in expansion of macro 'ttputc' ttputc(c); ^~~~~~ tttermcap.c: At top level: tttermcap.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] ttxputc(c) ^~~~~~~ tttermcap.c: In function 'ttxputc': tttermcap.c:54:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] tttermcap.c: In function 'ttxgetstr': tttermcap.c:87:2: warning: implicit declaration of function 'tputs'; did you mean 'tttputs'? [-Wimplicit-function-declaration] tputs(buf, 1, ttxputc); ^~~~~ tttputs tttermcap.c: At top level: tttermcap.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] tttgoto(s, col, row) ^~~~~~~ tttermcap.c: In function 'tttgoto': tttermcap.c:93:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] tttermcap.c:93:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] tttermcap.c:98:2: warning: implicit declaration of function 'ttputs'; did you mean 'tttputs'? [-Wimplicit-function-declaration] ttputs(tgoto(p, col, row)); ^~~~~~ tttputs tttermcap.c: At top level: tttermcap.c:103:1: warning: return type defaults to 'int' [-Wimplicit-int] ttpgoto(s, col, row, n) ^~~~~~~ tttermcap.c: In function 'ttpgoto': tttermcap.c:103:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] tttermcap.c:103:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] tttermcap.c:103:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] tttermcap.c: At top level: tttermcap.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] ttstrcmp(a, b) ^~~~~~~~ tttermcap.c: In function 'ttstrcmp': tttermcap.c:115:10: warning: implicit declaration of function 'bcmp' [-Wimplicit-function-declaration] if (r = bcmp(a->ts_str, b->ts_str, ^~~~ --- tttvi925.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c tttvi925.c --- ttwyse60.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttwyse60.c --- ttwyse75.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttwyse75.c --- tttvi925.o --- tttvi925.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_tvi925() ^~~~~~~~~ tttvi925.c: In function 'tt_tvi925': tttvi925.c:61:6: warning: implicit declaration of function 'tt_generic' [-Wimplicit-function-declaration] if (tt_generic() < 0) ^~~~~~~~~~ --- ttwyse75.o --- ttwyse75.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_wyse75() ^~~~~~~~~ ttwyse75.c: In function 'tt_wyse75': ttwyse75.c:69:6: warning: implicit declaration of function 'tt_generic' [-Wimplicit-function-declaration] if (tt_generic() < 0) ^~~~~~~~~~ --- ttwyse60.o --- ttwyse60.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_wyse60() ^~~~~~~~~ ttwyse60.c: In function 'tt_wyse60': ttwyse60.c:69:6: warning: implicit declaration of function 'tt_generic' [-Wimplicit-function-declaration] if (tt_generic() < 0) ^~~~~~~~~~ --- ttzapple.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttzapple.c --- ttzentec.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c ttzentec.c --- var.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c var.c --- ttzentec.o --- ttzentec.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_zentec() ^~~~~~~~~ ttzentec.c: In function 'tt_zentec': ttzentec.c:63:6: warning: implicit declaration of function 'tt_generic'; did you mean 'tt_zentec'? [-Wimplicit-function-declaration] if (tt_generic() < 0) ^~~~~~~~~~ tt_zentec --- var.o --- var.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] var_unset1(head, name) ^~~~~~~~~~ var.c: In function 'var_lookup1': var.c:135:11: warning: type defaults to 'int' in declaration of 'cmp' [-Wimplicit-int] register cmp; ^~~ var.c:138:14: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if ((cmp = strcmp(name, (*p)->r_name)) < 0) ^~~~~~ var.c: At top level: var.c:148:1: warning: return type defaults to 'int' [-Wimplicit-int] var_walk1(r, func, a) ^~~~~~~~~ --- ttzapple.o --- ttzapple.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_setmodes(new) ^~~~~~~~~~~ ttzapple.c: In function 'zz_setmodes': ttzapple.c:73:1: warning: type of 'new' defaults to 'int' [-Wimplicit-int] In file included from ttzapple.c:44: tt.h:147:8: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ tt.h:153:19: note: in expansion of macro 'ttputc' #define ttctrl(c) ttputc(ctrl(c)) ^~~~~~ tt.h:154:19: note: in expansion of macro 'ttctrl' #define ttesc(c) (ttctrl('['), ttputc(c)) ^~~~~~ ttzapple.c:77:4: note: in expansion of macro 'ttesc' ttesc('+'); ^~~~~ ttzapple.c: At top level: ttzapple.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_insline(n) ^~~~~~~~~~ ttzapple.c: In function 'zz_insline': ttzapple.c:84:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:94:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_delline(n) ^~~~~~~~~~ ttzapple.c: In function 'zz_delline': ttzapple.c:94:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_putc(c) ^~~~~~~ ttzapple.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_write(p, n) ^~~~~~~~ ttzapple.c: In function 'zz_write': ttzapple.c:116:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ttzapple.c:120:2: warning: implicit declaration of function 'ttwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration] ttwrite(p, n); ^~~~~~~ fwrite ttzapple.c: At top level: ttzapple.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_move(row, col) ^~~~~~~ ttzapple.c: In function 'zz_move': ttzapple.c:127:11: warning: type defaults to 'int' in declaration of 'row' [-Wimplicit-int] register row, col; ^~~ ttzapple.c:127:16: warning: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] register row, col; ^~~ ttzapple.c:129:11: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int] register x; ^ ttzapple.c:134:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ttzapple.c:126:1: note: declared here zz_move(row, col) ^~~~~~~ ttzapple.c: At top level: ttzapple.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_start() ^~~~~~~~ --- win.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c win.c --- ttzapple.o --- ttzapple.c: In function 'zz_start': ttzapple.c:233:2: warning: implicit declaration of function 'zz_setscroll'; did you mean 'zz_start'? [-Wimplicit-function-declaration] zz_setscroll(0, NROW - 1); ^~~~~~~~~~~~ zz_start ttzapple.c:234:2: warning: implicit declaration of function 'zz_clear'; did you mean 'zz_start'? [-Wimplicit-function-declaration] zz_clear(); ^~~~~~~~ zz_start ttzapple.c: At top level: ttzapple.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_reset() ^~~~~~~~ ttzapple.c:246:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_end() ^~~~~~ ttzapple.c:255:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_clreol() ^~~~~~~~~ ttzapple.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_clreos() ^~~~~~~~~ ttzapple.c:265:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_clear() ^~~~~~~~ ttzapple.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_insspace(n) ^~~~~~~~~~~ ttzapple.c: In function 'zz_insspace': ttzapple.c:271:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:281:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_delchar(n) ^~~~~~~~~~ ttzapple.c: In function 'zz_delchar': ttzapple.c:281:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_scroll_down(n) ^~~~~~~~~~~~~~ ttzapple.c: In function 'zz_scroll_down': ttzapple.c:291:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:304:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_scroll_up(n) ^~~~~~~~~~~~ ttzapple.c: In function 'zz_scroll_up': ttzapple.c:304:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:314:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_setscroll(top, bot) ^~~~~~~~~~~~ ttzapple.c: In function 'zz_setscroll': ttzapple.c:314:1: warning: type of 'top' defaults to 'int' [-Wimplicit-int] ttzapple.c:314:1: warning: type of 'bot' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_set_token(t, s, n) ^~~~~~~~~~~~ ttzapple.c: In function 'zz_set_token': ttzapple.c:325:1: warning: type of 't' defaults to 'int' [-Wimplicit-int] ttzapple.c:325:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c:334:3: warning: implicit declaration of function 'ttputs'; did you mean 'tttputs'? [-Wimplicit-function-declaration] ttputs(buf); ^~~~~~ tttputs ttzapple.c: At top level: ttzapple.c:345:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_put_token(t, s, n) ^~~~~~~~~~~~ ttzapple.c: In function 'zz_put_token': ttzapple.c:345:1: warning: type of 't' defaults to 'int' [-Wimplicit-int] ttzapple.c:345:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:360:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_rint(p, n) ^~~~~~~ ttzapple.c: In function 'zz_rint': ttzapple.c:360:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] ttzapple.c:363:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ ttzapple.c:369:12: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c = (unsigned char) *p++; ^ ttzapple.c: At top level: ttzapple.c:416:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_checksum(p, n) ^~~~~~~~~~~ ttzapple.c: In function 'zz_checksum': ttzapple.c:418:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ ttzapple.c:421:12: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c = *p++ & 0x7f; ^ ttzapple.c: At top level: ttzapple.c:427:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_compress(flag) ^~~~~~~~~~~ ttzapple.c: In function 'zz_compress': ttzapple.c:427:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] ttzapple.c: At top level: ttzapple.c:435:1: warning: return type defaults to 'int' [-Wimplicit-int] zz_checkpoint() ^~~~~~~~~~~~~ ttzapple.c:447:1: warning: return type defaults to 'int' [-Wimplicit-int] tt_zapple() ^~~~~~~~~ --- wwadd.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwadd.c --- wwalloc.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwalloc.c --- wwadd.o --- wwadd.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] wwadd(w1, w2) ^~~~~ wwadd.c: In function 'wwadd': wwadd.c:52:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwadd.c:64:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j; ^ --- wwalloc.o --- wwalloc.c: In function 'wwalloc': wwalloc.c:47:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] wwalloc(row, col, nrow, ncol, size) ^~~~~~~ wwalloc.c:47:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] wwalloc.c:47:1: warning: type of 'nrow' defaults to 'int' [-Wimplicit-int] wwalloc.c:47:1: warning: type of 'ncol' defaults to 'int' [-Wimplicit-int] wwalloc.c:47:1: warning: type of 'size' defaults to 'int' [-Wimplicit-int] wwalloc.c: At top level: wwalloc.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] wwfree(p, row) ^~~~~~ wwalloc.c: In function 'wwfree': wwalloc.c:70:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] --- win.o --- win.c: In function 'openwin': win.c:66:1: warning: type of 'id' defaults to 'int' [-Wimplicit-int] openwin(id, row, col, nrow, ncol, nline, label, haspty, hasframe, shf, sh) ^~~~~~~ win.c:66:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] win.c:66:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] win.c:66:1: warning: type of 'nrow' defaults to 'int' [-Wimplicit-int] win.c:66:1: warning: type of 'ncol' defaults to 'int' [-Wimplicit-int] win.c:66:1: warning: type of 'nline' defaults to 'int' [-Wimplicit-int] win.c:73:22: warning: implicit declaration of function 'findid'; did you mean 'index'? [-Wimplicit-function-declaration] if (id < 0 && (id = findid()) < 0) ^~~~~~ index win.c:77:3: warning: implicit declaration of function 'error'; did you mean 'wwerror'? [-Wimplicit-function-declaration] error("Illegal window position."); ^~~~~ wwerror win.c:89:20: warning: implicit declaration of function 'setlabel'; did you mean 'setstate'? [-Wimplicit-function-declaration] if (label != 0 && setlabel(w, label) < 0) ^~~~~~~~ setstate win.c:91:2: warning: implicit declaration of function 'wwcursor'; did you mean 'wwerror'? [-Wimplicit-function-declaration] wwcursor(w, 1); ^~~~~~~~ wwerror win.c:97:2: warning: implicit declaration of function 'setselwin'; did you mean 'getwin'? [-Wimplicit-function-declaration] setselwin((struct ww *)0); ^~~~~~~~~ getwin win.c:98:2: warning: implicit declaration of function 'addwin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] addwin(w, 0); ^~~~~~ vtowin win.c:100:6: warning: implicit declaration of function 'wwspawn'; did you mean 'wwopen'? [-Wimplicit-function-declaration] if (wwspawn(w, shf, sh) < 0) { ^~~~~~~ wwopen win.c:102:3: warning: implicit declaration of function 'closewin'; did you mean 'vtowin'? [-Wimplicit-function-declaration] closewin(w); ^~~~~~~~ vtowin win.c: At top level: win.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] findid() ^~~~~~ win.c: In function 'findid': win.c:110:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ win.c: In function 'findselwin': win.c:125:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ win.c: At top level: win.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] closewin(w) ^~~~~~~~ win.c: In function 'closewin': win.c:142:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ win.c:145:3: warning: implicit declaration of function 'closewin1'; did you mean 'closewin'? [-Wimplicit-function-declaration] closewin1(w); ^~~~~~~~~ closewin --- wwbox.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwbox.c --- wwchild.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwchild.c --- wwbox.o --- wwbox.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwbox(w, r, c, nr, nc) ^~~~~ wwbox.c: In function 'wwbox': wwbox.c:48:10: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c; ^ wwbox.c:48:13: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c; ^ wwbox.c:51:11: warning: type defaults to 'int' in declaration of 'r1' [-Wimplicit-int] register r1, c1; ^~ wwbox.c:51:15: warning: type defaults to 'int' in declaration of 'c1' [-Wimplicit-int] register r1, c1; ^~ wwbox.c:52:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwbox.c:56:2: warning: implicit declaration of function 'wwframec'; did you mean 'wwmaskc'? [-Wimplicit-function-declaration] wwframec(w, r, c, WWF_D|WWF_R); ^~~~~~~~ wwmaskc --- wwclose.o --- --- wwclreol.o --- --- wwclose.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwclose.c --- wwclreol.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwclreol.c wwclreol.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] wwclreol1(w, row, col, cleared) ^~~~~~~~~ wwclreol.c: In function 'wwclreol1': wwclreol.c:55:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwclreol.c:73:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwclreol.c:50:1: note: declared here wwclreol1(w, row, col, cleared) ^~~~~~~~~ --- win.o --- win.c:164:3: warning: implicit declaration of function 'reframe'; did you mean 'devname'? [-Wimplicit-function-declaration] reframe(); ^~~~~~~ devname win.c: In function 'openiwin': win.c:172:1: warning: type of 'nrow' defaults to 'int' [-Wimplicit-int] openiwin(nrow, label) ^~~~~~~~ win.c: At top level: win.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] closeiwin(w) ^~~~~~~~~ win.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] closewin1(w) ^~~~~~~~~ win.c: In function 'closewin1': win.c:212:3: warning: implicit declaration of function 'str_free'; did you mean 'strxfrm'? [-Wimplicit-function-declaration] str_free(w->ww_label); ^~~~~~~~ strxfrm win.c:213:2: warning: implicit declaration of function 'deletewin'; did you mean 'closewin'? [-Wimplicit-function-declaration] deletewin(w); ^~~~~~~~~ closewin win.c:214:2: warning: implicit declaration of function 'wwclose'; did you mean 'cgetclose'? [-Wimplicit-function-declaration] wwclose(w); ^~~~~~~ cgetclose win.c: At top level: win.c:224:1: warning: return type defaults to 'int' [-Wimplicit-int] front(w, doreframe) ^~~~~ win.c: In function 'front': win.c:228:53: warning: implicit declaration of function 'wwvisible' [-Wimplicit-function-declaration] if (w->ww_back != (isfg(w) ? framewin : fgwin) && !wwvisible(w)) { ^~~~~~~~~ win.c: At top level: win.c:241:1: warning: return type defaults to 'int' [-Wimplicit-int] addwin(w, fg) ^~~~~~ win.c: In function 'addwin': win.c:246:3: warning: implicit declaration of function 'wwadd' [-Wimplicit-function-declaration] wwadd(w, framewin); ^~~~~ win.c: At top level: win.c:257:1: warning: return type defaults to 'int' [-Wimplicit-int] deletewin(w) ^~~~~~~~~ win.c: In function 'deletewin': win.c:262:2: warning: implicit declaration of function 'wwdelete'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwdelete(w); ^~~~~~~~ wwupdate win.c: At top level: win.c:265:1: warning: return type defaults to 'int' [-Wimplicit-int] reframe() ^~~~~~~ win.c: In function 'reframe': win.c:269:2: warning: implicit declaration of function 'wwunframe'; did you mean 'reframe'? [-Wimplicit-function-declaration] wwunframe(framewin); ^~~~~~~~~ reframe win.c:272:4: warning: implicit declaration of function 'wwframe'; did you mean 'reframe'? [-Wimplicit-function-declaration] wwframe(w, framewin); ^~~~~~~ reframe win.c:273:4: warning: implicit declaration of function 'labelwin'; did you mean 'addwin'? [-Wimplicit-function-declaration] labelwin(w); ^~~~~~~~ addwin win.c: At top level: win.c:277:1: warning: return type defaults to 'int' [-Wimplicit-int] labelwin(w) ^~~~~~~~ win.c: In function 'labelwin': win.c:283:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ win.c:277:1: note: declared here labelwin(w) ^~~~~~~~ win.c:289:3: warning: implicit declaration of function 'wwlabel' [-Wimplicit-function-declaration] wwlabel(w, framewin, 1, buf, mode); ^~~~~~~ win.c: At top level: win.c:303:1: warning: return type defaults to 'int' [-Wimplicit-int] stopwin(w) ^~~~~~~ win.c: In function 'stopwin': win.c:306:39: warning: implicit declaration of function 'wwstoptty' [-Wimplicit-function-declaration] if (w->ww_pty >= 0 && w->ww_ispty && wwstoptty(w->ww_pty) < 0) ^~~~~~~~~ win.c: At top level: win.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] startwin(w) ^~~~~~~~ win.c: In function 'startwin': win.c:315:39: warning: implicit declaration of function 'wwstarttty'; did you mean 'startwin'? [-Wimplicit-function-declaration] if (w->ww_pty >= 0 && w->ww_ispty && wwstarttty(w->ww_pty) < 0) ^~~~~~~~~~ startwin win.c: At top level: win.c:321:1: warning: return type defaults to 'int' [-Wimplicit-int] sizewin(w, nrow, ncol) ^~~~~~~ win.c: In function 'sizewin': win.c:321:1: warning: type of 'nrow' defaults to 'int' [-Wimplicit-int] win.c:321:1: warning: type of 'ncol' defaults to 'int' [-Wimplicit-int] win.c:329:6: warning: implicit declaration of function 'wwsize'; did you mean 'wwrint'? [-Wimplicit-function-declaration] if (wwsize(w, nrow, ncol) < 0) ^~~~~~ wwrint win.c: At top level: win.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] waitnl(w) ^~~~~~ win.c: In function 'waitnl': win.c:338:9: warning: implicit declaration of function 'waitnl1'; did you mean 'waitnl'? [-Wimplicit-function-declaration] (void) waitnl1(w, "[Type any key to continue]"); ^~~~~~~ waitnl win.c: At top level: win.c:341:1: warning: return type defaults to 'int' [-Wimplicit-int] more(w, always) ^~~~ win.c: In function 'more': win.c:352:2: warning: implicit declaration of function 'wwputs'; did you mean 'wwquit'? [-Wimplicit-function-declaration] wwputs("\033E", w); ^~~~~~ wwquit win.c: At top level: win.c:357:1: warning: return type defaults to 'int' [-Wimplicit-int] waitnl1(w, prompt) ^~~~~~~ win.c: In function 'waitnl1': win.c:365:2: warning: implicit declaration of function 'wwprintf'; did you mean 'wwrint'? [-Wimplicit-function-declaration] wwprintf(w, "\033Y%c%c\033sA%s\033rA ", ^~~~~~~~ wwrint win.c:369:3: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ --- wwclose.o --- wwclose.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwclose(w) ^~~~~~~ wwclose.c: In function 'wwclose': wwclose.c:50:10: warning: implicit declaration of function 'close'; did you mean 'wwclose'? [-Wimplicit-function-declaration] (void) close(w->ww_pty); ^~~~~ wwclose wwclose.c:53:2: warning: implicit declaration of function 'wwfree'; did you mean 'wwopen'? [-Wimplicit-function-declaration] wwfree((char **)w->ww_win, w->ww_w.t); ^~~~~~ wwopen wwclose.c:57:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free((char *)(w->ww_nvis + w->ww_w.t)); ^~~~ wwclose.c:57:2: warning: incompatible implicit declaration of built-in function 'free' wwclose.c:57:2: note: include '' or provide a declaration of 'free' wwclose.c:44:1: +#include wwclose.c:57:2: free((char *)(w->ww_nvis + w->ww_w.t)); ^~~~ --- wwclreos.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwclreos.c --- wwcursor.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwcursor.c --- wwdata.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwdata.c --- wwclreos.o --- wwclreos.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwclreos(w, row, col) ^~~~~~~~ wwclreos.c: In function 'wwclreos': wwclreos.c:46:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] wwclreos.c:46:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] wwclreos.c:49:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ In file included from wwclreos.c:43: ww.h:253:25: warning: implicit declaration of function 'wwclreol1'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] #define wwclreol(w,r,c) wwclreol1((w), (r), (c), 0) ^~~~~~~~~ wwclreos.c:51:2: note: in expansion of macro 'wwclreol' wwclreol(w, row, col); ^~~~~~~~ wwclreos.c:56:3: warning: implicit declaration of function 'wwupdate1'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwupdate1(w->ww_i.t, w->ww_i.b); ^~~~~~~~~ wwupdate --- wwdelchar.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwdelchar.c --- wwdelete.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwdelete.c --- wwcursor.o --- wwcursor.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwcursor(w, on) ^~~~~~~~ wwcursor.c: In function 'wwcursor': wwcursor.c:45:1: warning: type of 'on' defaults to 'int' [-Wimplicit-int] wwcursor.c:52:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwcursor.c:45:1: note: declared here wwcursor(w, on) ^~~~~~~~ wwcursor.c:56:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwcursor.c:45:1: note: declared here wwcursor(w, on) ^~~~~~~~ wwcursor.c:64:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwcursor.c:45:1: note: declared here wwcursor(w, on) ^~~~~~~~ wwcursor.c: At top level: wwcursor.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] wwsetcursormodes(new) ^~~~~~~~~~~~~~~~ wwcursor.c: In function 'wwsetcursormodes': wwcursor.c:77:10: warning: type defaults to 'int' in declaration of 'new' [-Wimplicit-int] register new; ^~~ wwcursor.c:79:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwcursor.c:81:11: warning: type defaults to 'int' in declaration of 'old' [-Wimplicit-int] register old = wwcursormodes; ^~~ wwcursor.c:85:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwcursor.c:76:1: note: declared here wwsetcursormodes(new) ^~~~~~~~~~~~~~~~ --- wwdelete.o --- wwdelete.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdelete(w) ^~~~~~~~ wwdelete.c: In function 'wwdelete': wwdelete.c:51:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwdelete.c:54:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j; ^ wwdelete.c:77:3: warning: implicit declaration of function 'wwdelete1'; did you mean 'wwdelete'? [-Wimplicit-function-declaration] wwdelete1(w->ww_forw, ^~~~~~~~~ wwdelete wwdelete.c: At top level: wwdelete.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdelete1(w, t, b, l, r) ^~~~~~~~~ wwdelete.c: In function 'wwdelete1': wwdelete.c:85:1: warning: type of 't' defaults to 'int' [-Wimplicit-int] wwdelete.c:85:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] wwdelete.c:85:1: warning: type of 'l' defaults to 'int' [-Wimplicit-int] wwdelete.c:85:1: warning: type of 'r' defaults to 'int' [-Wimplicit-int] wwdelete.c:100:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwdelete.c:85:1: note: declared here wwdelete1(w, t, b, l, r) ^~~~~~~~~ wwdelete.c:104:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j; ^ wwdelete.c:130:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwdelete.c:85:1: note: declared here wwdelete1(w, t, b, l, r) ^~~~~~~~~ --- wwdelchar.o --- wwdelchar.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdelchar(w, row, col) ^~~~~~~~~ wwdelchar.c: In function 'wwdelchar': wwdelchar.c:46:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] wwdelchar.c:46:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] wwdelchar.c:49:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwdelchar.c:70:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwdelchar.c:46:1: note: declared here wwdelchar(w, row, col) ^~~~~~~~~ wwdelchar.c:90:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwdelchar.c:46:1: note: declared here wwdelchar(w, row, col) ^~~~~~~~~ wwdelchar.c:118:3: warning: implicit declaration of function 'xxdelchar'; did you mean 'wwdelchar'? [-Wimplicit-function-declaration] xxdelchar(row, col); ^~~~~~~~~ wwdelchar --- wwdelline.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwdelline.c wwdelline.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdelline(w, row) ^~~~~~~~~ wwdelline.c: In function 'wwdelline': wwdelline.c:49:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwdelline.c:67:12: warning: implicit declaration of function 'wwscroll1' [-Wimplicit-function-declaration] deleted = wwscroll1(w, row1, row2, 1, visible); ^~~~~~~~~ wwdelline.c:84:3: warning: implicit declaration of function 'wwclreol1'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] wwclreol1(w, w->ww_b.b - 1, w->ww_b.l, deleted); ^~~~~~~~~ wwclreol --- wwdump.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwdump.c --- wwend.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwend.c --- wwdump.o --- wwdump.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdumpwin(w) ^~~~~~~~~ wwdump.c: In function 'wwdumpwin': wwdump.c:53:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwdump.c:53:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwdump.c: At top level: wwdump.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdumpnvis(w) ^~~~~~~~~~ wwdump.c: In function 'wwdumpnvis': wwdump.c:67:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwdump.c: At top level: wwdump.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdumpsmap() ^~~~~~~~~~ wwdump.c: In function 'wwdumpsmap': wwdump.c:81:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwdump.c:81:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwdump.c: At top level: wwdump.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdumpns() ^~~~~~~~ wwdump.c: In function 'wwdumpns': wwdump.c:94:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwdump.c:94:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwdump.c: At top level: wwdump.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] wwdumpos() ^~~~~~~~ wwdump.c: In function 'wwdumpos': wwdump.c:108:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwdump.c:108:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ --- wwenviron.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwenviron.c --- wwend.o --- wwend.c: In function 'wwend': wwend.c:53:10: warning: implicit declaration of function 'alarm'; did you mean 'wwalarm'? [-Wimplicit-function-declaration] (void) alarm(0); ^~~~~ wwalarm wwend.c:56:2: warning: implicit declaration of function 'xxend'; did you mean 'wwend'? [-Wimplicit-function-declaration] xxend(); ^~~~~ wwend wwend.c:58:9: warning: implicit declaration of function 'wwsettty'; did you mean 'wwsetintr'? [-Wimplicit-function-declaration] (void) wwsettty(0, &wwoldtty); ^~~~~~~~ wwsetintr --- wwerror.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwerror.c --- wwflush.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwflush.c --- wwenviron.o --- wwenviron.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] wwenviron(wp) ^~~~~~~~~ wwenviron.c: In function 'wwenviron': wwenviron.c:57:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwenviron.c:71:12: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] if ((i = open(wp->ww_ttyname, 2)) < 0) ^~~~ popen wwenviron.c:73:7: warning: implicit declaration of function 'wwsettty'; did you mean 'wwsetintr'? [-Wimplicit-function-declaration] if (wwsettty(i, &wwwintty) < 0) ^~~~~~~~ wwsetintr wwenviron.c:75:7: warning: implicit declaration of function 'wwsetttysize'; did you mean 'wwsetcursor'? [-Wimplicit-function-declaration] if (wwsetttysize(i, wp->ww_w.nr, wp->ww_w.nc) < 0) ^~~~~~~~~~~~ wwsetcursor wwenviron.c:78:9: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration] (void) dup2(i, 0); ^~~~ wwenviron.c:81:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] (void) close(i); ^~~~~ pclose wwenviron.c:83:9: warning: implicit declaration of function 'setsid'; did you mean 'tcsetsid'? [-Wimplicit-function-declaration] (void) setsid(); ^~~~~~ tcsetsid wwenviron.c:99:9: warning: implicit declaration of function 'setenv'; did you mean 'getenv'? [-Wimplicit-function-declaration] (void) setenv("TERMCAP", buf, 1); ^~~~~~ getenv --- wwflush.o --- wwflush.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] wwflush() ^~~~~~~ wwflush.c: In function 'wwflush': wwflush.c:50:11: warning: type defaults to 'int' in declaration of 'row' [-Wimplicit-int] register row, col; ^~~ wwflush.c:50:16: warning: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] register row, col; ^~~ wwflush.c:60:2: warning: implicit declaration of function 'xxmove' [-Wimplicit-function-declaration] xxmove(row, col); ^~~~~~ wwflush.c:62:3: warning: implicit declaration of function 'xxflush'; did you mean 'wwflush'? [-Wimplicit-function-declaration] xxflush(0); ^~~~~~~ wwflush wwflush.c:63:3: warning: implicit declaration of function 'wwcheckpoint' [-Wimplicit-function-declaration] wwcheckpoint(); ^~~~~~~~~~~~ wwflush.c: At top level: wwflush.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] wwcheckpoint() ^~~~~~~~~~~~ wwflush.c: In function 'wwcheckpoint': wwflush.c:78:10: warning: implicit declaration of function 'alarm'; did you mean 'wwalarm'? [-Wimplicit-function-declaration] (void) alarm(3); ^~~~~ wwalarm wwflush.c:85:3: warning: implicit declaration of function 'wwcopyscreen'; did you mean 'wwopen'? [-Wimplicit-function-declaration] wwcopyscreen(wwcs, wwos); ^~~~~~~~~~~~ wwopen wwflush.c:87:3: warning: implicit declaration of function 'wwreset'; did you mean 'wwrint'? [-Wimplicit-function-declaration] wwreset(); ^~~~~~~ wwrint In file included from wwflush.c:43: ww.h:255:20: warning: implicit declaration of function 'wwupdate1'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] #define wwupdate() wwupdate1(0, wwnrow); ^~~~~~~~~ wwflush.c:88:3: note: in expansion of macro 'wwupdate' wwupdate(); ^~~~~~~~ wwflush.c: At top level: wwflush.c:97:1: warning: return type defaults to 'int' [-Wimplicit-int] wwcopyscreen(s1, s2) ^~~~~~~~~~~~ wwflush.c: In function 'wwcopyscreen': wwflush.c:100:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwflush.c:101:11: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int] register s = wwncol * sizeof **s1; ^ --- wwframe.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwframe.c --- wwgets.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwgets.c --- wwinit.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwinit.c --- wwinschar.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwinschar.c --- wwgets.o --- wwgets.c: In function 'rub': wwgets.c:52:10: warning: implicit declaration of function 'wwwrite'; did you mean 'wwquit'? [-Wimplicit-function-declaration] (void) wwwrite(w, "\b \b", 3); ^~~~~~~ wwquit wwgets.c: In function 'wwgets': wwgets.c:66:4: warning: implicit declaration of function 'wwiomux' [-Wimplicit-function-declaration] wwiomux(); ^~~~~~~ wwgets.c:100:5: warning: implicit declaration of function 'wwputc'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] wwputc(ctrl('g'), w); ^~~~~~ wwgetc wwgets.c:103:8: warning: implicit declaration of function 'wwputs'; did you mean 'wwgets'? [-Wimplicit-function-declaration] wwputs(unctrl(*p++ = c), w); ^~~~~~ wwgets --- wwinit.o --- wwinit.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] wwinit() ^~~~~~ wwinit.c: In function 'wwinit': wwinit.c:53:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwinit.c:53:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwinit.c:57:17: warning: implicit declaration of function 'getdtablesize'; did you mean 'getbsize'? [-Wimplicit-function-declaration] wwdtablesize = getdtablesize(); ^~~~~~~~~~~~~ getbsize wwinit.c:72:6: warning: implicit declaration of function 'wwgettty'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] if (wwgettty(0, &wwoldtty) < 0) ^~~~~~~~ wwgetc wwinit.c:117:6: warning: implicit declaration of function 'wwsettty'; did you mean 'wwsetintr'? [-Wimplicit-function-declaration] if (wwsettty(0, &wwnewtty) < 0) ^~~~~~~~ wwsetintr wwinit.c:204:6: warning: implicit declaration of function 'xxinit'; did you mean 'wwinit'? [-Wimplicit-function-declaration] if (xxinit() < 0) ^~~~~~ wwinit wwinit.c:266:3: warning: implicit declaration of function 'wwaddcap1' [-Wimplicit-function-declaration] wwaddcap1(WWT_REV, &kp); ^~~~~~~~~ wwinit.c:285:2: warning: implicit declaration of function 'wwaddcap' [-Wimplicit-function-declaration] wwaddcap("kb", &kp); ^~~~~~~~ wwinit.c:286:2: warning: implicit declaration of function 'wwaddcap2' [-Wimplicit-function-declaration] wwaddcap2("ku", &kp); ^~~~~~~~~ wwinit.c:320:21: warning: implicit declaration of function 'getpid'; did you mean 'getline'? [-Wimplicit-function-declaration] fcntl(0, F_SETOWN, getpid()); ^~~~~~ getline wwinit.c:323:2: warning: implicit declaration of function 'wwstart1'; did you mean 'wwalarm'? [-Wimplicit-function-declaration] wwstart1(); ^~~~~~~~ wwalarm wwinit.c: At top level: wwinit.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int] wwaddcap(cap, kp) ^~~~~~~~ wwinit.c:359:1: warning: return type defaults to 'int' [-Wimplicit-int] wwaddcap1(cap, kp) ^~~~~~~~~ wwinit.c:368:1: warning: return type defaults to 'int' [-Wimplicit-int] wwaddcap2(cap, kp) ^~~~~~~~~ wwinit.c:393:1: warning: return type defaults to 'int' [-Wimplicit-int] wwstart() ^~~~~~~ wwinit.c: In function 'wwstart': wwinit.c:395:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwinit.c: At top level: wwinit.c:404:1: warning: return type defaults to 'int' [-Wimplicit-int] wwstart1() ^~~~~~~~ wwinit.c: In function 'wwstart1': wwinit.c:406:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwinit.c:406:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwinit.c:414:2: warning: implicit declaration of function 'xxstart'; did you mean 'wwstart'? [-Wimplicit-function-declaration] xxstart(); ^~~~~~~ wwstart wwinit.c: At top level: wwinit.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] wwreset() ^~~~~~~ wwinit.c: In function 'wwreset': wwinit.c:425:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwinit.c:427:2: warning: implicit declaration of function 'xxreset'; did you mean 'wwreset'? [-Wimplicit-function-declaration] xxreset(); ^~~~~~~ wwreset --- wwframe.o --- wwframe.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] wwframe(w, wframe) ^~~~~~~ wwframe.c: In function 'wwframe': wwframe.c:53:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c; ^ wwframe.c:53:14: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c; ^ wwframe.c:57:11: warning: type defaults to 'int' in declaration of 'code' [-Wimplicit-int] register code; ^~~~ wwframe.c:84:6: warning: implicit declaration of function 'wwframec'; did you mean 'wwframe'? [-Wimplicit-function-declaration] wwframec(wframe, r, c, code|WWF_TOP); ^~~~~~~~ wwframe wwframe.c: At top level: wwframe.c:199:1: warning: return type defaults to 'int' [-Wimplicit-int] wwframec(f, r, c, code) ^~~~~~~~ wwframe.c: In function 'wwframec': wwframe.c:201:10: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r, c; ^ wwframe.c:201:13: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register r, c; ^ wwframe.c:208:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwframe.c:199:1: note: declared here wwframec(f, r, c, code) ^~~~~~~~ --- wwinschar.o --- wwinschar.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwinschar(w, row, col, c, m) ^~~~~~~~~ wwinschar.c: In function 'wwinschar': wwinschar.c:46:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] wwinschar.c:46:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] wwinschar.c:50:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwinschar.c:72:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwinschar.c:46:1: note: declared here wwinschar(w, row, col, c, m) ^~~~~~~~~ wwinschar.c:92:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwinschar.c:46:1: note: declared here wwinschar(w, row, col, c, m) ^~~~~~~~~ wwinschar.c:121:4: warning: implicit declaration of function 'xxinschar'; did you mean 'wwinschar'? [-Wimplicit-function-declaration] xxinschar(row, col, c, m); ^~~~~~~~~ wwinschar wwinschar.c:123:4: warning: implicit declaration of function 'xxinsspace' [-Wimplicit-function-declaration] xxinsspace(row, col); ^~~~~~~~~~ --- wwinsline.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwinsline.c --- wwiomux.o --- --- wwinsline.o --- wwinsline.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwinsline(w, row) ^~~~~~~~~ wwinsline.c: In function 'wwinsline': wwinsline.c:49:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwinsline.c:67:12: warning: implicit declaration of function 'wwscroll1' [-Wimplicit-function-declaration] deleted = wwscroll1(w, row1, row2, -1, visible); ^~~~~~~~~ --- wwiomux.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwiomux.c --- wwinsline.o --- wwinsline.c:84:3: warning: implicit declaration of function 'wwclreol1'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] wwclreol1(w, row, w->ww_b.l, deleted); ^~~~~~~~~ wwclreol --- wwiomux.o --- wwiomux.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] wwiomux() ^~~~~~~ wwiomux.c: In function 'wwiomux': wwiomux.c:67:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ wwiomux.c:76:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwiomux.c:63:1: note: declared here wwiomux() ^~~~~~~ In file included from wwiomux.c:43: ww.h:255:20: warning: implicit declaration of function 'wwupdate1'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] #define wwupdate() wwupdate1(0, wwnrow); ^~~~~~~~~ wwiomux.c:96:4: note: in expansion of macro 'wwupdate' wwupdate(); ^~~~~~~~ wwiomux.c:97:4: warning: implicit declaration of function 'wwflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] wwflush(); ^~~~~~~ tcflush wwiomux.c:103:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwiomux.c:63:1: note: declared here wwiomux() ^~~~~~~ wwiomux.c:145:9: warning: implicit declaration of function 'read'; did you mean 'creat'? [-Wimplicit-function-declaration] n = read(w->ww_pty, p, w->ww_obe - p); ^~~~ creat wwiomux.c:148:13: warning: implicit declaration of function 'close'; did you mean 'clock'? [-Wimplicit-function-declaration] (void) close(w->ww_pty); ^~~~~ clock wwiomux.c:188:8: warning: implicit declaration of function 'wwwrite'; did you mean 'wwquit'? [-Wimplicit-function-declaration] n = wwwrite(w, w->ww_obp, w->ww_obq - w->ww_obp); ^~~~~~~ wwquit --- wwlabel.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwlabel.c wwlabel.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] wwlabel(w, f, where, l, mode) ^~~~~~~ wwlabel.c: In function 'wwlabel': wwlabel.c:51:1: warning: type of 'where' defaults to 'int' [-Wimplicit-int] wwlabel.c:51:1: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] wwlabel.c:57:11: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j; ^ wwlabel.c:69:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwlabel.c:51:1: note: declared here wwlabel(w, f, where, l, mode) ^~~~~~~ wwlabel.c:73:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwlabel.c:51:1: note: declared here wwlabel(w, f, where, l, mode) ^~~~~~~ --- wwmisc.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwmisc.c --- wwmove.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwmove.c --- wwopen.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwopen.c --- wwmove.o --- wwmove.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] wwmove(w, row, col) ^~~~~~ wwmove.c: In function 'wwmove': wwmove.c:48:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] wwmove.c:48:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] wwmove.c:51:11: warning: type defaults to 'int' in declaration of 'dr' [-Wimplicit-int] register dr, dc; ^~ wwmove.c:51:15: warning: type defaults to 'int' in declaration of 'dc' [-Wimplicit-int] register dr, dc; ^~ wwmove.c:52:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwmove.c:87:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j = w->ww_i.l; ^ --- wwprintf.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwprintf.c --- wwopen.o --- wwopen.c: In function 'wwopen': wwopen.c:50:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] wwopen(flags, nrow, ncol, row, col, nline) ^~~~~~ wwopen.c:50:1: warning: type of 'nrow' defaults to 'int' [-Wimplicit-int] wwopen.c:50:1: warning: type of 'ncol' defaults to 'int' [-Wimplicit-int] wwopen.c:50:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] wwopen.c:50:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] wwopen.c:50:1: warning: type of 'nline' defaults to 'int' [-Wimplicit-int] wwopen.c:53:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwopen.c:53:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwopen.c:101:7: warning: implicit declaration of function 'wwgetpty'; did you mean 'wwgetc'? [-Wimplicit-function-declaration] if (wwgetpty(w) < 0) ^~~~~~~~ wwgetc wwopen.c:175:4: warning: implicit declaration of function 'wwfree'; did you mean 'free'? [-Wimplicit-function-declaration] wwfree(w->ww_win, w->ww_w.t); ^~~~~~ free wwopen.c:185:11: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] (void) close(w->ww_pty); ^~~~~ --- wwprintf.o --- wwprintf.c: In function 'wwprintf': wwprintf.c:54:9: warning: implicit declaration of function 'wwwrite'; did you mean 'wwprintf'? [-Wimplicit-function-declaration] (void) wwwrite(w, buf, vsprintf(buf, fmt, ap)); ^~~~~~~ wwprintf wwprintf.c:54:25: warning: implicit declaration of function 'vsprintf' [-Wimplicit-function-declaration] (void) wwwrite(w, buf, vsprintf(buf, fmt, ap)); ^~~~~~~~ --- wwmisc.o --- wwmisc.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] wwvisible(w) ^~~~~~~~~ wwmisc.c: In function 'wwvisible': wwmisc.c:53:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwmisc.c:54:11: warning: type defaults to 'int' in declaration of 'nvis' [-Wimplicit-int] register nvis = 0; ^~~~ wwmisc.c: At top level: wwmisc.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] wwbell() ^~~~~~ In file included from wwmisc.c:44: wwmisc.c: In function 'wwbell': tt.h:147:8: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ wwmisc.c:68:2: note: in expansion of macro 'ttputc' ttputc(ctrl('g')); ^~~~~~ --- wwpty.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwpty.c wwpty.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] wwgetpty(w) ^~~~~~~~ wwpty.c: In function 'wwgetpty': wwpty.c:62:6: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] if (openpty(&master, &slave, ttyname, NULL, NULL) == 0) { ^~~~~~~ openat wwpty.c:66:11: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] (void) close(w->ww_pty); ^~~~~ --- wwputc.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwputc.c --- wwputs.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwputs.c --- wwredraw.o --- --- wwredrawwin.o --- --- wwredraw.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwredraw.c --- wwredrawwin.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwredrawwin.c --- wwputc.o --- wwputc.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwputc(c, w) ^~~~~~ wwputc.c: In function 'wwputc': wwputc.c:49:9: warning: implicit declaration of function 'wwwrite'; did you mean 'wwquit'? [-Wimplicit-function-declaration] (void) wwwrite(w, &c, sizeof c); ^~~~~~~ wwquit --- wwrint.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwrint.c --- wwputs.o --- wwputs.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwputs(s, w) ^~~~~~ wwputs.c: In function 'wwputs': wwputs.c:53:9: warning: implicit declaration of function 'wwwrite'; did you mean 'wwquit'? [-Wimplicit-function-declaration] (void) wwwrite(w, s, p - s - 1); ^~~~~~~ wwquit --- wwredraw.o --- wwredraw.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwredraw() ^~~~~~~~ wwredraw.c: In function 'wwredraw': wwredraw.c:48:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwredraw.c:48:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ wwredraw.c:51:2: warning: implicit declaration of function 'xxclear' [-Wimplicit-function-declaration] xxclear(); ^~~~~~~ --- wwscroll.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwscroll.c --- wwsize.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwsize.c wwsize.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] wwsize(w, nrow, ncol) ^~~~~~ wwsize.c: In function 'wwsize': wwsize.c:49:1: warning: type of 'nrow' defaults to 'int' [-Wimplicit-int] wwsize.c:49:1: warning: type of 'ncol' defaults to 'int' [-Wimplicit-int] wwsize.c:52:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ wwsize.c:52:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ --- wwscroll.o --- wwscroll.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwscroll(w, n) ^~~~~~~~ wwscroll.c: In function 'wwscroll': wwscroll.c:50:11: warning: type defaults to 'int' in declaration of 'dir' [-Wimplicit-int] register dir; ^~~ wwscroll.c:51:11: warning: type defaults to 'int' in declaration of 'top' [-Wimplicit-int] register top; ^~~ --- wwsize.o --- wwsize.c:110:2: warning: implicit declaration of function 'wwfree'; did you mean 'free'? [-Wimplicit-function-declaration] wwfree((char **)w->ww_win, w->ww_w.t); ^~~~~~ free --- wwscroll.o --- wwscroll.c:54:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwscroll.c:46:1: note: declared here wwscroll(w, n) ^~~~~~~~ wwscroll.c:61:6: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] n = abs(top - w->ww_b.t); ^~~ wwscroll.c:64:11: warning: implicit declaration of function 'wwscroll1'; did you mean 'wwscroll'? [-Wimplicit-function-declaration] (void) wwscroll1(w, w->ww_i.t, w->ww_i.b, dir, 0); ^~~~~~~~~ wwscroll --- wwsize.o --- wwsize.c:176:3: warning: implicit declaration of function 'wwcursor'; did you mean 'wwerror'? [-Wimplicit-function-declaration] wwcursor(w, 1); ^~~~~~~~ wwerror --- wwscroll.o --- In file included from wwscroll.c:43: ww.h:254:24: warning: implicit declaration of function 'wwredrawwin1'; did you mean 'wwredrawwin'? [-Wimplicit-function-declaration] #define wwredrawwin(w) wwredrawwin1((w), (w)->ww_i.t, (w)->ww_i.b, 0) ^~~~~~~~~~~~ wwscroll.c:73:3: note: in expansion of macro 'wwredrawwin' wwredrawwin(w); ^~~~~~~~~~~ wwscroll.c: At top level: wwscroll.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] wwscroll1(w, row1, row2, dir, leaveit) ^~~~~~~~~ wwscroll.c: In function 'wwscroll1': wwscroll.c:87:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ --- wwsize.o --- wwsize.c:182:10: warning: implicit declaration of function 'wwsetttysize'; did you mean 'wwsize'? [-Wimplicit-function-declaration] (void) wwsetttysize(w->ww_pty, nrow, ncol); ^~~~~~~~~~~~ wwsize --- wwscroll.o --- wwscroll.c:126:2: warning: implicit declaration of function 'xxscroll'; did you mean 'wwscroll'? [-Wimplicit-function-declaration] xxscroll(dir, row1x, row2x); ^~~~~~~~ wwscroll --- wwspawn.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwspawn.c --- wwredrawwin.o --- wwredrawwin.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwredrawwin1(w, row1, row2, offset) ^~~~~~~~~~~~ wwredrawwin.c: In function 'wwredrawwin1': wwredrawwin.c:50:11: warning: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] register col; ^~~ --- wwrint.o --- wwrint.c: In function 'wwrint': wwrint.c:63:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ --- wwspawn.o --- wwspawn.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] wwspawn(wp, file, argv) ^~~~~~~ wwspawn.c: In function 'wwspawn': wwspawn.c:68:7: warning: implicit declaration of function 'wwenviron'; did you mean 'wwerror'? [-Wimplicit-function-declaration] if (wwenviron(wp) >= 0) ^~~~~~~~~ wwerror --- wwsuspend.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwsuspend.c --- wwterminfo.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwterminfo.c --- wwtty.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwtty.c --- wwsuspend.o --- wwsuspend.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] wwsuspend() ^~~~~~~~~ wwsuspend.c: In function 'wwsuspend': wwsuspend.c:52:2: warning: implicit declaration of function 'wwend'; did you mean 'wwopen'? [-Wimplicit-function-declaration] wwend(0); ^~~~~ wwopen wwsuspend.c:56:2: warning: implicit declaration of function 'wwstart'; did you mean 'wwalarm'? [-Wimplicit-function-declaration] wwstart(); ^~~~~~~ wwalarm --- wwtty.o --- wwtty.c:50:1: warning: return type defaults to 'int' [-Wimplicit-int] wwgettty(d, t) ^~~~~~~~ wwtty.c: In function 'wwgettty': wwtty.c:50:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] wwtty.c: At top level: wwtty.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] wwsettty(d, t) ^~~~~~~~ wwtty.c: In function 'wwsettty': wwtty.c:81:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] wwtty.c: At top level: wwtty.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] wwgetttysize(d, r, c) ^~~~~~~~~~~~ wwtty.c: In function 'wwgetttysize': wwtty.c:124:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] wwtty.c: At top level: wwtty.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] wwsetttysize(d, r, c) ^~~~~~~~~~~~ wwtty.c: In function 'wwsetttysize': wwtty.c:140:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] wwtty.c:140:1: warning: type of 'r' defaults to 'int' [-Wimplicit-int] wwtty.c:140:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] wwtty.c: At top level: wwtty.c:154:1: warning: return type defaults to 'int' [-Wimplicit-int] wwstoptty(d) ^~~~~~~~~ wwtty.c: In function 'wwstoptty': wwtty.c:154:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] wwtty.c: At top level: wwtty.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] wwstarttty(d) ^~~~~~~~~~ wwtty.c: In function 'wwstarttty': wwtty.c:169:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] --- wwunframe.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwunframe.c --- wwupdate.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwupdate.c --- wwunframe.o --- wwunframe.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] wwunframe(w) ^~~~~~~~~ wwunframe.c: In function 'wwunframe': wwunframe.c:51:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j; ^ wwunframe.c:76:3: warning: implicit declaration of function 'wwdelete1' [-Wimplicit-function-declaration] wwdelete1(w->ww_forw, ^~~~~~~~~ --- wwupdate.o --- wwupdate.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] wwupdate1(top, bot) ^~~~~~~~~ wwupdate.c: In function 'wwupdate1': wwupdate.c:46:1: warning: type of 'top' defaults to 'int' [-Wimplicit-int] wwupdate.c:46:1: warning: type of 'bot' defaults to 'int' [-Wimplicit-int] wwupdate.c:49:11: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register j; ^ wwupdate.c:58:12: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ wwupdate.c:62:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwupdate.c:46:1: note: declared here wwupdate1(top, bot) ^~~~~~~~~ wwupdate.c:93:12: warning: type defaults to 'int' in declaration of 'gain' [-Wimplicit-int] register gain = 0; ^~~~ wwupdate.c:94:12: warning: type defaults to 'int' in declaration of 'best_gain' [-Wimplicit-int] register best_gain = 0; ^~~~~~~~~ wwupdate.c:95:12: warning: type defaults to 'int' in declaration of 'best_col' [-Wimplicit-int] register best_col; ^~~~~~~~ wwupdate.c:99:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wwupdate.c:46:1: note: declared here wwupdate1(top, bot) ^~~~~~~~~ wwupdate.c:133:12: warning: type defaults to 'int' in declaration of 'gain' [-Wimplicit-int] register gain = 0; ^~~~ wwupdate.c:134:12: warning: type defaults to 'int' in declaration of 'best_gain' [-Wimplicit-int] register best_gain = 0; ^~~~~~~~~ wwupdate.c:136:12: warning: type defaults to 'int' in declaration of 'simple_gain' [-Wimplicit-int] register simple_gain = 0; ^~~~~~~~~~~ wwupdate.c:148:13: warning: type defaults to 'int' in declaration of 'g' [-Wimplicit-int] register g = gain + u->best_gain; ^ wwupdate.c:160:5: warning: implicit declaration of function 'xxclear' [-Wimplicit-function-declaration] xxclear(); ^~~~~~~ wwupdate.c:169:5: warning: implicit declaration of function 'xxclreos'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] xxclreos(i, j = wwupd[i].best_col); ^~~~~~~~ wwclreol --- wwwrite.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c wwwrite.c --- wwupdate.o --- wwupdate.c:202:4: warning: implicit declaration of function 'xxclreol'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] xxclreol(i, j = upd->best_col); ^~~~~~~~ wwclreol wwupdate.c:213:13: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ wwupdate.c:245:5: warning: implicit declaration of function 'xxwrite' [-Wimplicit-function-declaration] xxwrite(i, c, buf, n, m); ^~~~~~~ wwupdate.c:255:6: warning: implicit declaration of function 'xxinschar' [-Wimplicit-function-declaration] xxinschar(i, c, ns[-2].c_c, ^~~~~~~~~ wwupdate.c:258:6: warning: implicit declaration of function 'xxinsspace' [-Wimplicit-function-declaration] xxinsspace(i, c); ^~~~~~~~~~ --- xx.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c xx.c xx.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] xxinit() ^~~~~~ xx.c: In function 'xxinit': xx.c:51:6: warning: implicit declaration of function 'ttinit'; did you mean 'xxinit'? [-Wimplicit-function-declaration] if (ttinit() < 0) ^~~~~~ xxinit xx.c:55:26: warning: implicit declaration of function 'ccinit'; did you mean 'xxinit'? [-Wimplicit-function-declaration] if (tt.tt_ntoken > 0 && ccinit() < 0) ^~~~~~ xxinit xx.c: At top level: xx.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] xxstart() ^~~~~~~ xx.c: In function 'xxstart': xx.c:71:3: warning: implicit declaration of function 'ccstart'; did you mean 'xxstart'? [-Wimplicit-function-declaration] ccstart(); ^~~~~~~ xxstart xx.c:72:2: warning: implicit declaration of function 'xxreset1' [-Wimplicit-function-declaration] xxreset1(); /* might be a restart */ ^~~~~~~~ xx.c: At top level: xx.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] xxreset() ^~~~~~~ xx.c: In function 'xxreset': xx.c:78:3: warning: implicit declaration of function 'ccreset'; did you mean 'xxreset'? [-Wimplicit-function-declaration] ccreset(); ^~~~~~~ xxreset xx.c: At top level: xx.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] xxreset1() ^~~~~~~~ xx.c: In function 'xxreset1': xx.c:89:3: warning: implicit declaration of function 'xxfree'; did you mean 'free'? [-Wimplicit-function-declaration] xxfree(xp); ^~~~~~ free xx.c: At top level: xx.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] xxend() ^~~~~ xx.c: In function 'xxend': xx.c:106:3: warning: implicit declaration of function 'ccend'; did you mean 'xxend'? [-Wimplicit-function-declaration] ccend(); ^~~~~ xxend xx.c:108:2: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] ttflush(); ^~~~~~~ tcflush xx.c: At top level: xx.c:132:1: warning: return type defaults to 'int' [-Wimplicit-int] xxfree(xp) ^~~~~~ xx.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] xxmove(row, col) ^~~~~~ xx.c: In function 'xxmove': xx.c:139:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:139:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c: At top level: xx.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] xxscroll(dir, top, bot) ^~~~~~~~ xx.c: In function 'xxscroll': xx.c:151:1: warning: type of 'dir' defaults to 'int' [-Wimplicit-int] xx.c:151:1: warning: type of 'top' defaults to 'int' [-Wimplicit-int] xx.c:151:1: warning: type of 'bot' defaults to 'int' [-Wimplicit-int] xx.c:159:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xx.c:151:1: note: declared here xxscroll(dir, top, bot) ^~~~~~~~ xx.c: At top level: xx.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] xxinschar(row, col, c, m) ^~~~~~~~~ xx.c: In function 'xxinschar': xx.c:168:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:168:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c:168:1: warning: type of 'c' defaults to 'int' [-Wimplicit-int] xx.c:168:1: warning: type of 'm' defaults to 'int' [-Wimplicit-int] xx.c: At top level: xx.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] xxinsspace(row, col) ^~~~~~~~~~ xx.c: In function 'xxinsspace': xx.c:180:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:180:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c:187:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xx.c:180:1: note: declared here xxinsspace(row, col) ^~~~~~~~~~ xx.c: At top level: xx.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] xxdelchar(row, col) ^~~~~~~~~ xx.c: In function 'xxdelchar': xx.c:196:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:196:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c:203:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xx.c:196:1: note: declared here xxdelchar(row, col) ^~~~~~~~~ xx.c: At top level: xx.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] xxclear() ^~~~~~~ xx.c:221:1: warning: return type defaults to 'int' [-Wimplicit-int] xxclreos(row, col) ^~~~~~~~ xx.c: In function 'xxclreos': xx.c:221:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:221:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c: At top level: xx.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] xxclreol(row, col) ^~~~~~~~ xx.c: In function 'xxclreol': xx.c:230:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:230:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c: At top level: xx.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] xxwrite(row, col, p, n, m) ^~~~~~~ xx.c: In function 'xxwrite': xx.c:239:1: warning: type of 'row' defaults to 'int' [-Wimplicit-int] xx.c:239:1: warning: type of 'col' defaults to 'int' [-Wimplicit-int] xx.c:239:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] xx.c:239:1: warning: type of 'm' defaults to 'int' [-Wimplicit-int] xx.c:245:3: warning: implicit declaration of function 'xxflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] xxflush(0); ^~~~~~~ tcflush --- wwwrite.o --- wwwrite.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] wwwrite(w, p, n) ^~~~~~~ wwwrite.c: In function 'wwwrite': wwwrite.c:76:3: warning: implicit declaration of function 'wwcursor'; did you mean 'wwerror'? [-Wimplicit-function-declaration] wwcursor(w, 0); ^~~~~~~~ wwerror wwwrite.c:86:13: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ wwwrite.c:103:5: warning: implicit declaration of function 'wwinschar' [-Wimplicit-function-declaration] wwinschar(w, w->ww_cur.r, w->ww_cur.c, ^~~~~~~~~ wwwrite.c:116:15: warning: type defaults to 'int' in declaration of 'tmp' [-Wimplicit-int] register tmp = 8 - (i - w->ww_w.l & 7); ^~~ --- xxflush.o --- --- wwwrite.o --- wwwrite.c:50:3: warning: implicit declaration of function 'wwupdate1'; did you mean 'wwupdate'? [-Wimplicit-function-declaration] wwupdate1(w->ww_cur.r, w->ww_cur.r + 1) ^~~~~~~~~ wwwrite.c:162:5: note: in expansion of macro 'UPDATE' UPDATE(); ^~~~~~ wwwrite.c:166:14: warning: implicit declaration of function 'wwscroll1' [-Wimplicit-function-declaration] (void) wwscroll1(w, w->ww_i.t, ^~~~~~~~~ --- xxflush.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c xxflush.c --- wwwrite.o --- wwwrite.c:172:7: warning: implicit declaration of function 'wwdelline' [-Wimplicit-function-declaration] wwdelline(w, w->ww_b.t); ^~~~~~~~~ In file included from wwwrite.c:44: tt.h:147:8: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] : (ttflush(), *tt_obp++ = (c))) ^~~~~~~ wwwrite.c:185:5: note: in expansion of macro 'ttputc' ttputc(ctrl('g')); ^~~~~~ --- compress.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -c compress.c --- xxflush.o --- xxflush.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] xxflush(intr) ^~~~~~~ xxflush.c: In function 'xxflush': xxflush.c:48:11: warning: type defaults to 'int' in declaration of 'intr' [-Wimplicit-int] register intr; ^~~~ xxflush.c:59:4: warning: implicit declaration of function 'xxflush_scroll'; did you mean 'xxflush'? [-Wimplicit-function-declaration] xxflush_scroll(xp); ^~~~~~~~~~~~~~ xxflush xxflush.c:92:3: warning: implicit declaration of function 'xxfree' [-Wimplicit-function-declaration] xxfree(xp); ^~~~~~ xxflush.c:98:2: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] ttflush(); ^~~~~~~ tcflush xxflush.c: At top level: xxflush.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] xxflush_scroll(xp) ^~~~~~~~~~~~~~ xxflush.c: In function 'xxflush_scroll': xxflush.c:108:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xxflush.c:101:1: note: declared here xxflush_scroll(xp) ^~~~~~~~~~~~~~ xxflush.c:138:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xxflush.c:101:1: note: declared here xxflush_scroll(xp) ^~~~~~~~~~~~~~ xxflush.c:148:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ xxflush.c:101:1: note: declared here xxflush_scroll(xp) ^~~~~~~~~~~~~~ --- compress.o --- compress.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] ccinit() ^~~~~~ compress.c: In function 'ccinit': compress.c:171:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, j; ^ compress.c:171:14: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] register i, j; ^ compress.c: At top level: compress.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] ccstart() ^~~~~~~ compress.c: In function 'ccstart': compress.c:296:2: warning: implicit declaration of function 'ttflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] ttflush(); ^~~~~~~ tcflush compress.c:304:2: warning: implicit declaration of function 'ccreset'; did you mean 'cgetset'? [-Wimplicit-function-declaration] ccreset(); ^~~~~~~ cgetset compress.c: At top level: compress.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] ccreset() ^~~~~~~ compress.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] ccend() ^~~~~ compress.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] ccflush() ^~~~~~~ compress.c: In function 'ccflush': compress.c:352:6: warning: implicit declaration of function 'cc_sweep_phase' [-Wimplicit-function-declaration] n = cc_sweep_phase(cc_buffer, bufsize, cc_tokens); ^~~~~~~~~~~~~~ compress.c:353:2: warning: implicit declaration of function 'cc_compress_phase' [-Wimplicit-function-declaration] cc_compress_phase(cc_output, bufsize, cc_tokens, n); ^~~~~~~~~~~~~~~~~ compress.c:354:2: warning: implicit declaration of function 'cc_output_phase' [-Wimplicit-function-declaration] cc_output_phase(cc_buffer, cc_output, bufsize); ^~~~~~~~~~~~~~~ compress.c: At top level: compress.c:363:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_sweep_phase(buffer, bufsize, tokens) ^~~~~~~~~~~~~~ compress.c: In function 'cc_sweep_phase': compress.c:363:1: warning: type of 'bufsize' defaults to 'int' [-Wimplicit-int] compress.c:368:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, n; ^ compress.c:368:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register i, n; ^ compress.c:379:2: warning: implicit declaration of function 'cc_sweep0'; did you mean 'cc_sweep_phase'? [-Wimplicit-function-declaration] cc_sweep0(buffer, bufsize, tt.tt_token_min - 1); ^~~~~~~~~ cc_sweep_phase compress.c:397:7: warning: implicit declaration of function 'cc_sweep' [-Wimplicit-function-declaration] n = cc_sweep(buffer, bufsize, pp, i); ^~~~~~~~ compress.c: At top level: compress.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_sweep0(buffer, n, length) ^~~~~~~~~ compress.c: In function 'cc_sweep0': compress.c:420:1: warning: type of 'n' defaults to 'int' [-Wimplicit-int] compress.c:420:1: warning: type of 'length' defaults to 'int' [-Wimplicit-int] compress.c:425:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ compress.c: At top level: compress.c:450:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_sweep(buffer, bufsize, tokens, length) ^~~~~~~~ compress.c: In function 'cc_sweep': compress.c:453:11: warning: type defaults to 'int' in declaration of 'length' [-Wimplicit-int] register length; ^~~~~~ compress.c:450:1: warning: type of 'bufsize' defaults to 'int' [-Wimplicit-int] cc_sweep(buffer, bufsize, tokens, length) ^~~~~~~~ compress.c:457:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ compress.c:493:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n = length; ^ compress.c:512:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n = length; ^ compress.c:610:4: warning: implicit declaration of function 'cc_sweep_reverse'; did you mean 'cc_sweep_phase'? [-Wimplicit-function-declaration] cc_sweep_reverse(tokens, places); ^~~~~~~~~~~~~~~~ cc_sweep_phase compress.c: At top level: compress.c:626:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_sweep_reverse(pp, places) ^~~~~~~~~~~~~~~~ compress.c:646:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_compress_phase(output, bufsize, tokens, ntoken) ^~~~~~~~~~~~~~~~~ compress.c: In function 'cc_compress_phase': compress.c:646:1: warning: type of 'bufsize' defaults to 'int' [-Wimplicit-int] compress.c:646:1: warning: type of 'ntoken' defaults to 'int' [-Wimplicit-int] compress.c:650:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ compress.c:654:3: warning: implicit declaration of function 'cc_compress_phase1'; did you mean 'cc_compress_phase'? [-Wimplicit-function-declaration] cc_compress_phase1(output, tokens, ntoken, 0); ^~~~~~~~~~~~~~~~~~ cc_compress_phase compress.c:657:2: warning: implicit declaration of function 'cc_compress_cleanup'; did you mean 'cc_compress_phase'? [-Wimplicit-function-declaration] cc_compress_cleanup(output, bufsize); ^~~~~~~~~~~~~~~~~~~ cc_compress_phase compress.c: At top level: compress.c:660:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_compress_phase1(output, tokens, ntoken, flag) ^~~~~~~~~~~~~~~~~~ compress.c: In function 'cc_compress_phase1': compress.c:660:1: warning: type of 'ntoken' defaults to 'int' [-Wimplicit-int] compress.c:660:1: warning: type of 'flag' defaults to 'int' [-Wimplicit-int] compress.c:692:9: warning: implicit declaration of function 'cc_compress'; did you mean 'cc_compress_phase'? [-Wimplicit-function-declaration] pp += cc_compress(output, pp, flag); ^~~~~~~~~~~ cc_compress_phase compress.c: At top level: compress.c:711:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_compress_cleanup(output, bufsize) ^~~~~~~~~~~~~~~~~~~ compress.c: In function 'cc_compress_cleanup': compress.c:711:1: warning: type of 'bufsize' defaults to 'int' [-Wimplicit-int] compress.c:720:12: warning: type defaults to 'int' in declaration of 'length' [-Wimplicit-int] register length; ^~~~~~ compress.c: At top level: compress.c:746:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_compress(output, tokens, flag) ^~~~~~~~~~~ compress.c: In function 'cc_compress': compress.c:792:13: warning: type defaults to 'int' in declaration of 'score0' [-Wimplicit-int] register score0 = initial_score0; ^~~~~~ compress.c: At top level: compress.c:858:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_output_phase(buffer, output, bufsize) ^~~~~~~~~~~~~~~ compress.c: In function 'cc_output_phase': compress.c:861:11: warning: type defaults to 'int' in declaration of 'bufsize' [-Wimplicit-int] register bufsize; ^~~~~~~ compress.c:863:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i; ^ compress.c:891:4: warning: implicit declaration of function 'ttwrite'; did you mean 'fwrite'? [-Wimplicit-function-declaration] ttwrite(p->string, p->length); ^~~~~~~ fwrite compress.c: At top level: compress.c:899:1: warning: return type defaults to 'int' [-Wimplicit-int] cc_token_compare(p1, p2) ^~~~~~~~~~~~~~~~ --- wwwrite.o --- wwwrite.c:210:7: warning: implicit declaration of function 'wwinsline' [-Wimplicit-function-declaration] wwinsline(w, w->ww_b.t); ^~~~~~~~~ wwwrite.c:225:5: warning: implicit declaration of function 'wwclreos'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] wwclreos(w, w->ww_w.t, w->ww_w.l); ^~~~~~~~ wwclreol In file included from wwwrite.c:43: ww.h:253:25: warning: implicit declaration of function 'wwclreol1'; did you mean 'wwclreol'? [-Wimplicit-function-declaration] #define wwclreol(w,r,c) wwclreol1((w), (r), (c), 0) ^~~~~~~~~ wwwrite.c:236:5: note: in expansion of macro 'wwclreol' wwclreol(w, w->ww_cur.r, w->ww_cur.c); ^~~~~~~~ wwwrite.c:246:5: warning: implicit declaration of function 'wwdelchar' [-Wimplicit-function-declaration] wwdelchar(w, w->ww_cur.r, w->ww_cur.c); ^~~~~~~~~ wwwrite.c:263:5: warning: implicit declaration of function 'xxflush'; did you mean 'tcflush'? [-Wimplicit-function-declaration] xxflush(0); ^~~~~~~ tcflush --- window.1.gz --- gzip -cn window.1 > window.1.gz --- window --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -std=gnu99 -L/usr/local/lib -Wl,-rpath=/usr/local/lib -o window char.o cmd.o cmd1.o cmd2.o cmd3.o cmd4.o cmd5.o cmd6.o cmd7.o context.o error.o lcmd.o lcmd1.o lcmd2.o main.o mloop.o parser1.o parser2.o parser3.o parser4.o parser5.o scanner.o startup.o string.o ttf100.o ttgeneric.o tth19.o tth29.o ttinit.o ttoutput.o tttermcap.o tttvi925.o ttwyse60.o ttwyse75.o ttzapple.o ttzentec.o var.o win.o wwadd.o wwalloc.o wwbox.o wwchild.o wwclose.o wwclreol.o wwclreos.o wwcursor.o wwdata.o wwdelchar.o wwdelete.o wwdelline.o wwdump.o wwend.o wwenviron.o wwerror.o wwflush.o wwframe.o wwgets.o wwinit.o wwinschar.o wwinsline.o wwiomux.o wwlabel.o wwmisc.o wwmove.o wwopen.o wwprintf.o wwpty.o wwputc.o wwputs.o wwredraw.o wwredrawwin.o wwrint.o wwscroll.o wwsize.o wwspawn.o wwsuspend.o wwterminfo.o wwtty.o wwunframe.o wwupdate.o wwwrite.o xx.o xxflush.o compress.o -lncurses -lutil -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> window-1.0 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for window-1.0 ===> Generating temporary packing list install -s -m 555 /construction/misc/window/window/window /construction/misc/window/stage/usr/local/bin install -m 0644 /construction/misc/window/window/window.1 /construction/misc/window/stage/usr/local/man/man1 ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for window-1.0 file sizes/checksums [5]: . done packing files [5]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 00:51:19 UTC Duration: 00:00:11