Mock Version: 1.2.13 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ckermit.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-cb63e2dcf0f0e68b94a8116696cdbfa6c6145945/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ckermit.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Wed Mar 15 2005 Nalin Dahyabhai 8.0.211-1 warning: bogus date in %changelog: Thu Feb 08 2005 Peter Vrabec Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ckermit-9.0.302-7.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ckermit.spec '], chrootPath='/var/lib/mock/epel-1-armhfp-cb63e2dcf0f0e68b94a8116696cdbfa6c6145945/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ckermit.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: bogus date in %changelog: Wed Mar 15 2005 Nalin Dahyabhai 8.0.211-1 warning: bogus date in %changelog: Thu Feb 08 2005 Peter Vrabec Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.55fhna + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ckermit-9.0.302 + /usr/bin/mkdir -p ckermit-9.0.302 + cd ckermit-9.0.302 + /usr/bin/gzip -dc /builddir/build/SOURCES/cku302.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/README.fedora . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UIlEGA + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + /usr/bin/make linux 'KFLAGS=-O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'\''krb5_init_ets(__ctx)='\''' K4LIB= K4INC= K5LIB=-lutil K5INC=-I/usr/include/et SSLLIB= SSLINC= -j4 make[1]: Entering directory `/builddir/build/BUILD/ckermit-9.0.302' Making C-Kermit "9.0.302" for Linux 1.2 or later... IMPORTANT: Read the comments in the linux section of the makefile if you have trouble. make xermit KTARGET=${KTARGET:-linuxa} "CC = gcc" "CC2 = gcc" \ "CFLAGS = -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG \ -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX \ -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" "LNKFLAGS = " \ "LIBS = -lncurses -lutil -lresolv -lcrypt -llockdev -lm" make[2]: Entering directory `/builddir/build/BUILD/ckermit-9.0.302' gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcmai.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckclib.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckucmd.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusr.c ckclib.c: In function 'ckmatch': ckclib.c:1402:30: warning: variable 'xstar' set but not used [-Wunused-but-set-variable] int plen, dot, globbing, xstar = 0; ^ ckclib.c:1401:12: warning: variable 'patstart' set but not used [-Wunused-but-set-variable] char * patstart; /* Start of pattern */ ^ ckclib.c: In function 'ckround': ckclib.c:2082:26: warning: unused variable 'digits' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c:2082:20: warning: unused variable 'x' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c:2082:9: warning: unused variable 'i' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c: In function 'cksplit': ckclib.c:3016:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *ss++ && !flag) { ^ ckclib.c:3156:9: warning: value computed is not used [-Wunused-value] *s2++; ^ ckcmai.c: In function 'main': ckcmai.c:3160:9: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] c = time(NULL); ^ ckucmd.c: In function 'cmifi2': ckucmd.c:1729:23: warning: unused variable 'p' [-Wunused-variable] char *sv = NULL, *p = NULL; ^ ckucmd.c: In function 'cmdelta': ckucmd.c:3790:22: warning: unused variable 'd3' [-Wunused-variable] long d1 = 0, d2, d3; ^ ckucmd.c:3788:34: warning: unused variable 'zss' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3788:29: warning: unused variable 'zmm' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3788:24: warning: unused variable 'zhh' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3788:19: warning: unused variable 'zdd' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3788:14: warning: unused variable 'zmo' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckucmd.c:3788:9: warning: unused variable 'zyy' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^ ckuusr.c: In function 'doxsend': ckuusr.c:3945:12: warning: unused variable 'm' [-Wunused-variable] char * m; /* For making help messages */ ^ ckuusr.c: In function 'doxconn': ckuusr.c:5357:19: warning: unused variable 'macp' [-Wunused-variable] extern char * macp[]; ^ ckucmd.c: In function 'cmcvtdate': ckuusr.c:5356:19: warning: unused variable 'tfile' [-Wunused-variable] extern FILE * tfile[]; ^ ckucmd.c:4311:15: warning: unused variable 'minus' [-Wunused-variable] int i, k, n, minus = 0; ^ ckuusr.c: In function 'doadd': ckucmd.c:4311:12: warning: unused variable 'n' [-Wunused-variable] int i, k, n, minus = 0; ^ ckuusr.c:5582:15: warning: unused variable 'k' [-Wunused-variable] int i, j, k, n = 0, x = 0, last; ^ ckuusr.c: In function 'copyarray': ckuusr.c:6214:10: warning: variable 'c1' set but not used [-Wunused-but-set-variable] char c1, c2, * a1, * a2; ^ ckucmd.c:4090:23: warning: unused variable 'tb' [-Wunused-variable] char timbuf[16], *tb, cc; ^ In file included from ckcnet.h:1245:0, from ckuusr.c:93: ckuusr.c: In function 'dotelopt': ckucmd.c:4090:10: warning: unused variable 'timbuf' [-Wunused-variable] char timbuf[16], *tb, cc; ^ ckucmd.c:4079:41: warning: unused variable 'sec' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckuusr.c:6815:42: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,256,"TELNET SENT ",TELCMD(x),NULL,NULL); ^ ckucmd.c:4079:27: warning: unused variable 'min' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^ ckucmd.c:4079:12: warning: unused variable 'hour' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^ ckucmd.c:4061:9: warning: variable 'kn' set but not used [-Wunused-but-set-variable] int kn = 0, ft[8], isletter = 0, f2len = 0; ^ ckucmd.c: In function 'shuffledate': ckucmd.c:5437:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) ^ ckucmd.c:5439:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) ^ ckuusr.c: In function 'dohttp': ckucmd.c: In function 'cmdate': ckuusr.c:7515:2: warning: label 'havehost' defined but not used [-Wunused-label] havehost: /* Come here with s -> host */ ^ ckucmd.c:5555:11: warning: variable 'o' set but not used [-Wunused-but-set-variable] char *o, *s, *zq, *dp; ^ ckuusr.c: In function 'redossh': ckuusr.c:7827:12: warning: variable 'netsave' set but not used [-Wunused-but-set-variable] int x, netsave; ^ ckuusr.c: In function 'hmsgaa': ckuusr.c:7890:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ ^ ckuusr.c: In function 'docmd': ckuusr.c:9140:16: warning: unused variable 'k_info_dir' [-Wunused-variable] extern char * k_info_dir; ^ ckuusr.c:9217:34: warning: unused variable 'isinbuflen' [-Wunused-variable] extern int itsapattern, isjoin, isinbuflen; ^ ckuusr.c:11883:6: warning: unused variable 'i' [-Wunused-variable] int i, n, xpipe = 0, xbinary = 0, xxlate = 1, xxnowait = 0, getval; ^ ckuusr.c:12059:6: warning: unused variable 'height' [-Wunused-variable] int height = 0, count = 0; ^ ckuusr.c:12718:14: warning: unused variable 'cmdatebuf' [-Wunused-variable] extern char cmdatebuf[], * cmdatemsg; ^ ckuusr.c:13296:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13299:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13304:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13306:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13235:20: warning: unused variable 'p' [-Wunused-variable] char * s, *p, vbuf[32]; ^ ckuusr.c:13345:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if (s) if (s == "") s = NULL; ^ ckuusr.c:13353:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if (s) if (s == "") s = NULL; ^ ckuusr.c:13341:16: warning: unused variable 't' [-Wunused-variable] char * t = tmpbuf; /* Create or alter environment var */ ^ ckuusr.c: At top level: ckuusr.c:7134:22: warning: 'sslswtab' defined but not used [-Wunused-variable] static struct keytab sslswtab[] = { ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus2.c ckclib.c: In function 'ckmatch': ckclib.c:1476:8: warning: 'dot' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!dot) { /* For UNIX file globbing */ ^ ckuus2.c: In function 'hmsga': ckuus2.c:7249:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ ^ ckuus2.c: At top level: ckuus2.c:172:14: warning: 'tophlpi' defined but not used [-Wunused-variable] static char *tophlpi[] = { /* Top-level help for IKSD */ ^ ckuus2.c:8392:14: warning: 'hmxyauth' defined but not used [-Wunused-variable] static char *hmxyauth[] = { ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus3.c ckuus3.c:321:5: warning: missing braces around initializer [-Wmissing-braces] "all", PX_ALL, 0, ^ ckuus3.c:321:5: warning: (near initialization for 'pfxtab[0]') [-Wmissing-braces] ckuus3.c:364:5: warning: missing braces around initializer [-Wmissing-braces] "prefixed", 1, 0, /* Note, the values are important. */ ^ ckuus3.c:364:5: warning: (near initialization for 'ctltab[0]') [-Wmissing-braces] ckuus3.c:370:5: warning: missing braces around initializer [-Wmissing-braces] "new", 0, 0, ^ ckuus3.c:370:5: warning: (near initialization for 'oldnew[0]') [-Wmissing-braces] ckuus3.c:384:5: warning: missing braces around initializer [-Wmissing-braces] "diagnostics", FUNC_DI, 0, ^ ckuus3.c:384:5: warning: (near initialization for 'functab[0]') [-Wmissing-braces] ckuus3.c:390:5: warning: missing braces around initializer [-Wmissing-braces] "pacing", 0, 0, /* only one so far... */ ^ ckuus3.c:390:5: warning: (near initialization for 'outptab[0]') [-Wmissing-braces] ckuus3.c:397:5: warning: missing braces around initializer [-Wmissing-braces] "1", 1, 0, /* 1 = 6-bit checksum */ ^ ckuus3.c:397:5: warning: (near initialization for 'chktab[0]') [-Wmissing-braces] ckuus3.c:408:5: warning: missing braces around initializer [-Wmissing-braces] "counts", 0, 0, /* On or Off */ ^ ckuus3.c:408:5: warning: (near initialization for 'rpttab[0]') [-Wmissing-braces] ckuus3.c:419:5: warning: missing braces around initializer [-Wmissing-braces] "automatic", CAR_AUT, 0, /* 2 */ ^ ckuus3.c:419:5: warning: (near initialization for 'crrtab[0]') [-Wmissing-braces] ckuus3.c:427:5: warning: missing braces around initializer [-Wmissing-braces] "automatic", SET_AUTO, 0, /* 2 */ ^ ckuus3.c:427:5: warning: (near initialization for 'ooatab[0]') [-Wmissing-braces] ckuus3.c:433:5: warning: missing braces around initializer [-Wmissing-braces] "off", SET_OFF, 0, /* for SET DEBUG MESSAGES */ ^ ckuus3.c:433:5: warning: (near initialization for 'ooetab[0]') [-Wmissing-braces] ckuus3.c:444:5: warning: missing braces around initializer [-Wmissing-braces] "ask", 2, 0, /* 2 */ ^ ckuus3.c:444:5: warning: (near initialization for 'ooktab[0]') [-Wmissing-braces] ckuus3.c:450:5: warning: missing braces around initializer [-Wmissing-braces] "quiet", 1, 0, ^ ckuus3.c:450:5: warning: (near initialization for 'qvtab[0]') [-Wmissing-braces] ckuus3.c:465:5: warning: missing braces around initializer [-Wmissing-braces] "linelength", DEB_LEN, CM_INV, ^ ckuus3.c:465:5: warning: (near initialization for 'dbgtab[0]') [-Wmissing-braces] ckuus3.c:572:5: warning: missing braces around initializer [-Wmissing-braces] "115200", 11520, 0, /* (add any other defined speeds) */ ^ ckuus3.c:572:5: warning: (near initialization for 'tnspdtab[0]') [-Wmissing-braces] ckuus3.c:600:5: warning: missing braces around initializer [-Wmissing-braces] "full", 0, 0, ^ ckuus3.c:600:5: warning: (near initialization for 'dpxtab[0]') [-Wmissing-braces] ckuus3.c:611:5: warning: missing braces around initializer [-Wmissing-braces] "/direct-serial", CXT_DIRECT, 0, ^ ckuus3.c:611:5: warning: (near initialization for 'cxtypesw[0]') [-Wmissing-braces] ckuus3.c:639:5: warning: missing braces around initializer [-Wmissing-braces] "dtr/cd", FLO_DTRC, 0, /* for RFC 2217 Telnet COMPORT */ ^ ckuus3.c:639:5: warning: (near initialization for 'tnflotab[0]') [-Wmissing-braces] ckuus3.c:650:5: warning: missing braces around initializer [-Wmissing-braces] "automatic", FLO_AUTO, CM_INV, /* Not needed any more */ ^ ckuus3.c:650:5: warning: (near initialization for 'flotab[0]') [-Wmissing-braces] ckuus3.c:672:5: warning: missing braces around initializer [-Wmissing-braces] "bell", 007, 0, ^ ckuus3.c:672:5: warning: (near initialization for 'hshtab[0]') [-Wmissing-braces] ckuus3.c:685:5: warning: missing braces around initializer [-Wmissing-braces] "ascii", XYFT_T, CM_INV, ^ ckuus3.c:685:5: warning: (near initialization for 'sfttab[0]') [-Wmissing-braces] ckuus3.c:762:5: warning: missing braces around initializer [-Wmissing-braces] "international", 5, 0, ^ ckuus3.c:762:5: warning: (near initialization for 'drstrtab[0]') [-Wmissing-braces] ckuus3.c:769:5: warning: missing braces around initializer [-Wmissing-braces] "ask", 2, 0, ^ ckuus3.c:769:5: warning: (near initialization for 'dcnvtab[0]') [-Wmissing-braces] ckuus3.c:775:5: warning: missing braces around initializer [-Wmissing-braces] "capabilities", XYDCAP, 0, ^ ckuus3.c:775:5: warning: (near initialization for 'setmdm[0]') [-Wmissing-braces] ckuus3.c:798:5: warning: missing braces around initializer [-Wmissing-braces] "high", 3, 0, ^ ckuus3.c:798:5: warning: (near initialization for 'voltab[0]') [-Wmissing-braces] ckuus3.c:804:5: warning: missing braces around initializer [-Wmissing-braces] "at-commands", CKD_AT, 0, ^ ckuus3.c:804:5: warning: (near initialization for 'mdmcap[0]') [-Wmissing-braces] ckuus3.c:834:5: warning: missing braces around initializer [-Wmissing-braces] "area-code", XYDLAC, 0, /* Also still includes items */ ^ ckuus3.c:834:5: warning: (near initialization for 'dialtab[0]') [-Wmissing-braces] ckuus3.c:901:5: warning: missing braces around initializer [-Wmissing-braces] "dtr", 0, 0, ^ ckuus3.c:901:5: warning: (near initialization for 'mdmhang[0]') [-Wmissing-braces] ckuus3.c:909:5: warning: missing braces around initializer [-Wmissing-braces] "autoanswer", XYDS_AN, 0, /* autoanswer */ ^ ckuus3.c:909:5: warning: (near initialization for 'mdmcmd[0]') [-Wmissing-braces] ckuus3.c:929:5: warning: missing braces around initializer [-Wmissing-braces] "auto", FLO_AUTO, 0, ^ ckuus3.c:929:5: warning: (near initialization for 'dial_fc[0]') [-Wmissing-braces] ckuus3.c:936:5: warning: missing braces around initializer [-Wmissing-braces] "auto", XYDM_A, 0, ^ ckuus3.c:936:5: warning: (near initialization for 'dial_m[0]') [-Wmissing-braces] ckuus3.c:989:5: warning: missing braces around initializer [-Wmissing-braces] "kermit", WILD_KER, 0, /* By Kermit */ ^ ckuus3.c:989:5: warning: (near initialization for 'wildtab[0]') [-Wmissing-braces] ckuus3.c:1001:5: warning: missing braces around initializer [-Wmissing-braces] "/match-dot-files", 1, 0, ^ ckuus3.c:1001:5: warning: (near initialization for 'wdottab[0]') [-Wmissing-braces] ckuus3.c:1060:5: warning: missing braces around initializer [-Wmissing-braces] "brief", 0, 0, ^ ckuus3.c:1060:5: warning: (near initialization for 'vbtab[0]') [-Wmissing-braces] ckuus3.c:1075:5: warning: missing braces around initializer [-Wmissing-braces] "all", SYSLG_CX, 0, ^ ckuus3.c:1075:5: warning: (near initialization for 'syslogtab[0]') [-Wmissing-braces] ckuus3.c:1092:5: warning: missing braces around initializer [-Wmissing-braces] "even", 'e', 0, ^ ckuus3.c:1092:5: warning: (near initialization for 'partbl[0]') [-Wmissing-braces] ckuus3.c:1106:5: warning: missing braces around initializer [-Wmissing-braces] "even", 'e', 0, ^ ckuus3.c:1106:5: warning: (near initialization for 'hwpartbl[0]') [-Wmissing-braces] ckuus3.c:1122:5: warning: missing braces around initializer [-Wmissing-braces] "off", 0, 0, ^ ckuus3.c:1122:5: warning: (near initialization for 'onoff[0]') [-Wmissing-braces] ckuus3.c:1131:5: warning: missing braces around initializer [-Wmissing-braces] "home", XYCD_H, 0, ^ ckuus3.c:1131:5: warning: (near initialization for 'cdtab[0]') [-Wmissing-braces] ckuus3.c:1138:5: warning: missing braces around initializer [-Wmissing-braces] "file", 2, 0, ^ ckuus3.c:1138:5: warning: (near initialization for 'cdmsg[0]') [-Wmissing-braces] ckuus3.c:1146:5: warning: missing braces around initializer [-Wmissing-braces] "hangup", 3, 0, /* ...HANGUP */ ^ ckuus3.c:1146:5: warning: (near initialization for 'xittab[0]') [-Wmissing-braces] ckuus3.c:1154:5: warning: missing braces around initializer [-Wmissing-braces] "always", 2, 0, /* even when not connected */ ^ ckuus3.c:1154:5: warning: (near initialization for 'xitwtab[0]') [-Wmissing-braces] ckuus3.c:1161:5: warning: missing braces around initializer [-Wmissing-braces] "local", 1, 0, /* ECHO values */ ^ ckuus3.c:1161:5: warning: (near initialization for 'rltab[0]') [-Wmissing-braces] ckuus3.c:1171:5: warning: missing braces around initializer [-Wmissing-braces] "discard", SET_OFF, 0, ^ ckuus3.c:1171:5: warning: (near initialization for 'ifdtab[0]') [-Wmissing-braces] ckuus3.c:1176:5: warning: missing braces around initializer [-Wmissing-braces] "auto", SET_AUTO, 0, ^ ckuus3.c:1176:5: warning: (near initialization for 'ifdatab[0]') [-Wmissing-braces] ckuus3.c:1186:5: warning: missing braces around initializer [-Wmissing-braces] "echo", 0, 0, ^ ckuus3.c:1186:5: warning: (near initialization for 'taktab[0]') [-Wmissing-braces] ckuus3.c:1205:5: warning: missing braces around initializer [-Wmissing-braces] "echo", 0, 0, ^ ckuus3.c:1205:5: warning: (near initialization for 'smactab[0]') [-Wmissing-braces] ckuus3.c:1213:5: warning: missing braces around initializer [-Wmissing-braces] "echo", 0, 0 ^ ckuus3.c:1213:5: warning: (near initialization for 'scrtab[0]') [-Wmissing-braces] ckuus3.c:1242:5: warning: missing braces around initializer [-Wmissing-braces] "autodownload", SCMD_ADL, 0, ^ ckuus3.c:1242:5: warning: (near initialization for 'scmdtab[0]') [-Wmissing-braces] ckuus3.c:1286:5: warning: missing braces around initializer [-Wmissing-braces] "cd-message", XYSERC, 0, ^ ckuus3.c:1286:5: warning: (near initialization for 'srvtab[0]') [-Wmissing-braces] ckuus3.c:1298:5: warning: missing braces around initializer [-Wmissing-braces] "cancellation", 0, 0 ^ ckuus3.c:1298:5: warning: (near initialization for 'sleeptab[0]') [-Wmissing-braces] ckuus3.c:1302:5: warning: missing braces around initializer [-Wmissing-braces] "bell", XYX_BEL, 0, ^ ckuus3.c:1302:5: warning: (near initialization for 'tstab[0]') [-Wmissing-braces] ckuus3.c:1338:5: warning: missing braces around initializer [-Wmissing-braces] "character-set", XYX_CSE, 0, ^ ckuus3.c:1338:5: warning: (near initialization for 'rtstab[0]') [-Wmissing-braces] ckuus3.c:1345:5: warning: missing braces around initializer [-Wmissing-braces] "automatic", XMODE_A, 0, ^ ckuus3.c:1345:5: warning: (near initialization for 'xfrmtab[0]') [-Wmissing-braces] ckuus3.c:1373:5: warning: missing braces around initializer [-Wmissing-braces] "forced", 2, 0, ^ ckuus3.c:1373:5: warning: (near initialization for 'lstab[0]') [-Wmissing-braces] ckuus3.c:1592:5: warning: missing braces around initializer [-Wmissing-braces] "accepted", TN_NG_AC, 0, ^ ckuus3.c:1592:5: warning: (near initialization for 'tnnegtab[0]') [-Wmissing-braces] ckuus3.c:1637:5: warning: missing braces around initializer [-Wmissing-braces] "auth-krb5-des", 4, 0, ^ ckuus3.c:1637:5: warning: (near initialization for 'tnbugtab[0]') [-Wmissing-braces] ckuus3.c:1646:5: warning: missing braces around initializer [-Wmissing-braces] "acct", TN_ENV_ACCT, 0, ^ ckuus3.c:1646:5: warning: (near initialization for 'tnenvtab[0]') [-Wmissing-braces] ckuus3.c:1729:5: warning: missing braces around initializer [-Wmissing-braces] "binary-mode", TN_NL_BIN, 0, /* Binary mode */ ^ ckuus3.c:1729:5: warning: (near initialization for 'tn_nlmtab[0]') [-Wmissing-braces] ckuus3.c:1738:5: warning: missing braces around initializer [-Wmissing-braces] "cr", TNL_CR, CM_INV, /* CR only (out of spec) */ ^ ckuus3.c:1738:5: warning: (near initialization for 'tnlmtab[0]') [-Wmissing-braces] ckuus3.c:1752:5: warning: missing braces around initializer [-Wmissing-braces] "b", CK_TN_BM, CM_INV|CM_ABR, ^ ckuus3.c:1752:5: warning: (near initialization for 'tntab[0]') [-Wmissing-braces] ckuus3.c:1809:5: warning: missing braces around initializer [-Wmissing-braces] "authentication", CK_TN_AU, CM_INV, ^ ckuus3.c:1809:5: warning: (near initialization for 'tnopttab[0]') [-Wmissing-braces] gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus4.c ckuus3.c:1879:5: warning: missing braces around initializer [-Wmissing-braces] "/client", CK_TN_CLIENT, 0, ^ ckuus3.c:1879:5: warning: (near initialization for 'tnoptsw[0]') [-Wmissing-braces] ckuus3.c:1887:1: warning: missing braces around initializer [-Wmissing-braces] "character-sets", 0, 0, ^ ckuus3.c:1887:1: warning: (near initialization for 'ftrtab[0]') [-Wmissing-braces] ckuus3.c:2145:5: warning: missing braces around initializer [-Wmissing-braces] "calibrate", DEST_N, CM_INV, ^ ckuus3.c:2145:5: warning: (near initialization for 'desttab[0]') [-Wmissing-braces] ckuus3.c:2465:5: warning: missing braces around initializer [-Wmissing-braces] "no", 0, 0, ^ ckuus3.c:2465:5: warning: (near initialization for 'q0yesno[0]') [-Wmissing-braces] ckuus3.c:2472:5: warning: missing braces around initializer [-Wmissing-braces] "no", 0, 0, ^ ckuus3.c:2472:5: warning: (near initialization for 'q1yesno[0]') [-Wmissing-braces] ckuus3.c:2480:5: warning: missing braces around initializer [-Wmissing-braces] "go", 3, 0, ^ ckuus3.c:2480:5: warning: (near initialization for 'q2yesno[0]') [-Wmissing-braces] ckuus3.c:2488:5: warning: missing braces around initializer [-Wmissing-braces] "go", 3, 0, ^ ckuus3.c:2488:5: warning: (near initialization for 'q3yesno[0]') [-Wmissing-braces] ckuus3.c: In function 'uq_ok': ckuus3.c:2629:12: warning: unused variable 'text' [-Wunused-variable] char * text=NULL; ^ ckuus3.c:2628:13: warning: unused variable 'len' [-Wunused-variable] int rc, len; ^ ckuus3.c:2628:9: warning: unused variable 'rc' [-Wunused-variable] int rc, len; ^ ckuus3.c: In function 'uq_txt': ckuus3.c:2734:9: warning: unused variable 'rc' [-Wunused-variable] int rc; ^ ckuus3.c: In function 'uq_mtxt': ckuus3.c:2801:12: warning: unused variable 'rc' [-Wunused-variable] int i, rc; ^ ckuus3.c: At top level: ckuus3.c:3024:5: warning: missing braces around initializer [-Wmissing-braces] "/directories", CHM_DIR, 0, ^ ckuus3.c:3024:5: warning: (near initialization for 'uchmodsw[0]') [-Wmissing-braces] ckuus3.c: In function 'douchmod': ckuus3.c:3041:38: warning: unused variable 'diractive' [-Wunused-variable] extern int recursive, nscanfile, diractive; ^ ckuus3.c: At top level: ckuus3.c:3275:5: warning: missing braces around initializer [-Wmissing-braces] "depth-limit", 1, 0, ^ ckuus3.c:3275:5: warning: (near initialization for 'sexptab[0]') [-Wmissing-braces] ckuus3.c:3348:5: warning: missing braces around initializer [-Wmissing-braces] "setq", SX_SET, 0, /* Global assignment */ ^ ckuus3.c:3348:5: warning: (near initialization for 'sexpops[0]') [-Wmissing-braces] ckuus3.c:3416:5: warning: missing braces around initializer [-Wmissing-braces] "nil", SXC_NIL, 0, /* NIL (false) */ ^ ckuus3.c:3416:5: warning: (near initialization for 'sexpconsts[0]') [-Wmissing-braces] ckuus3.c: In function 'dosexp': ckuus3.c:3857:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] float r; ^ ckuus3.c: In function 'dologend': ckuus3.c:4731:13: warning: unused variable 'x' [-Wunused-variable] int x = locus; ^ ckuus3.c: In function 'shomodem': ckuus3.c:6066:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6069:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6072:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6079:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6082:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6085:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6088:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6091:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6094:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6098:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6101:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6104:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6107:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6110:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6114:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6117:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6120:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6123:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6126:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6130:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6134:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6138:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0; ^ ckuus3.c: At top level: ckuus3.c:6738:5: warning: missing braces around initializer [-Wmissing-braces] "g", PROTO_G, CM_INV, ^ ckuus3.c:6738:5: warning: (near initialization for 'protos[0]') [-Wmissing-braces] ckuus3.c: In function 'dosetssh': ckuus3.c:8097:19: warning: unused variable 'z' [-Wunused-variable] int cx, x, y, z; ^ ckuus3.c:8097:16: warning: unused variable 'y' [-Wunused-variable] int cx, x, y, z; ^ ckuus3.c: In function 'doprm': ckuus3.c:9813:18: warning: unused variable 'n' [-Wunused-variable] int c, n; /* Workers */ ^ ckuus3.c:13165:22: warning: unused variable 'cmask' [-Wunused-variable] extern int cmask; ^ ckuus3.c:8895:22: warning: unused variable 'p' [-Wunused-variable] char *s = NULL, *p = NULL; ^ ckuus4.c: In function 'prescan': ckuus4.c:1826:30: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus4.c:1517:9: warning: unused variable 'z' [-Wunused-variable] int z; ^ ckuus4.c: In function 'xlate': ckuus4.c:3223:15: warning: unused variable 'c2' [-Wunused-variable] int x, c, c2; /* Workers */ ^ ckuus4.c: In function 'shoparc': ckuus4.c:4386:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] && !istncomport() ^ ckuus4.c:4366:9: warning: unused variable 'i' [-Wunused-variable] int i; char *s; ^ ckuus4.c: In function 'shotcp': ckuus4.c:4721:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4723:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4727:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4734:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4745:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4750:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4755:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4763:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4770:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4775:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4778:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shotopt': ckuus4.c:4805:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4839:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4856:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shotel': ckuus4.c:4884:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4994:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5003:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5021:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5023:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5025:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5027:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5029:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5031:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5048:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5051:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5053:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5056:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5058:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5060:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5063:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5066:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5071:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5077:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shonet': ckuus4.c:5136:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5145:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5154:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5299:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5307:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5311:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5323:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5344:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5393:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5413:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5444:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5446:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5451:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5125:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 4; ^ ckuus4.c: In function 'doshodial': ckuus4.c:5515:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5518:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5525:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5537:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5541:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5544:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5547:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5550:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5560:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5567:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5577:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5580:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5583:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5586:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5589:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5592:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5595:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5604:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5614:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5624:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5631:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5640:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5643:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5646:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c: In function 'shofil': ckuus4.c:5714:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5745:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5752:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5755:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5757:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5760:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5762:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5764:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5767:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5770:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5773:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5785:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5790:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5795:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5815:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5818:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5821:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5824:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5835:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5839:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5853:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5856:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5858:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5863:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5865:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5869:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5871:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5874:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c: In function 'showassoc': ckuus4.c:6218:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6222:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6224:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6234:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c: In function 'doinput': ckuus4.c:7007:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] int dummy = 0, skip = 0; ^ ckuus4.c:6537:10: warning: unused variable 'ch' [-Wunused-variable] char ch, *xp, *s; ^ ckuus4.c: In function 'fneval': ckuus4.c:8042:19: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* if no macro is active */ ^ ckuus4.c:8068:17: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* Letter for global variable */ ^ ckuus4.c:10604:16: warning: unused variable 'j' [-Wunused-variable] int i, j, places = 0; ^ ckuus4.c:11388:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) { /* Loop thru arg chars */ ^ ckuus4.c:11577:16: warning: unused variable 'd1' [-Wunused-variable] char * d1, * dp; ^ ckuus4.c:11711:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && s[k] == CR || s[k] == LF) ^ ckuus4.c:11713:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && s[k] == SP || s[k] == HT) ^ ckuus4.c:11701:6: warning: unused variable 'pc' [-Wunused-variable] int pc = 0; /* For nested comments */ ^ ckuus4.c:11700:31: warning: unused variable 'infield' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^ ckuus4.c:11700:20: warning: unused variable 'quote' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^ ckuus4.c:11700:9: warning: unused variable 'state' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^ ckuus4.c:11699:14: warning: unused variable 'c' [-Wunused-variable] char c, * s = bp[0], * s2, * s3, * ap = ""; ^ ckuus4.c:11846:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i, j, k; ^ ckuus4.c:12026:6: warning: unused variable 't' [-Wunused-variable] int t, n; ^ ckuus4.c:12086:20: warning: unused variable 's2' [-Wunused-variable] char *s1, *s2; ^ ckuus4.c: In function 'nvlook': ckuus4.c:13747:18: warning: unused variable 's' [-Wunused-variable] char * s = unm_mod; ^ ckuus4.c:13746:15: warning: unused variable 'y' [-Wunused-variable] int y = VVBUFL - 1; ^ ckuus4.c: In function 'zzstring': ckuus4.c:14552:19: warning: array subscript has type 'char' [-Wchar-subscripts] vp = g_var[vb]; /* if no macro is active */ ^ ckuus4.c:14573:17: warning: array subscript has type 'char' [-Wchar-subscripts] vp = g_var[vb]; /* Letter for global variable */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus5.c ckuus5.c: In function 'doinit': ckuus5.c:1390:12: warning: unused variable 'ckrooterr' [-Wunused-variable] extern int ckrooterr; ^ ckuus5.c: In function 'vardef': ckuus5.c:3368:19: warning: array subscript has type 'char' [-Wchar-subscripts] return(g_var[c]); /* if no macro is active */ ^ ckuus5.c:3373:17: warning: array subscript has type 'char' [-Wchar-subscripts] return(g_var[c]); /* Letter for global variable */ ^ ckuus5.c: In function 'dooutput': ckuus5.c:3496:16: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, xx, y, quote; /* Workers */ ^ ckuus5.c: In function 'addmac': ckuus5.c:4286:17: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = p; /* No, it's top level one */ ^ ckuus5.c:4295:13: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = p; /* Put pointer in global-var table */ ^ ckuus5.c:4219:26: warning: unused variable 's' [-Wunused-variable] char * p = NULL, c, *s; ^ ckuus5.c: In function 'delmac': ckuus5.c:4514:13: warning: array subscript has type 'char' [-Wchar-subscripts] if (p) if (p != g_var[c]) { ^ ckuus5.c:4518:13: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus5.c:4519:13: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = NULL; /* Zero the table entry */ ^ ckuus5.c:4522:13: warning: array subscript has type 'char' [-Wchar-subscripts] if (p) if (p != g_var[c]) { ^ ckuus5.c:4530:13: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* Get pointer from global-var table */ ^ ckuus5.c:4531:13: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = NULL; /* Zero the table entry */ ^ ckuus5.c: In function 'shotrm': ckuus5.c:5636:30: warning: unused variable 'tt_idleact' [-Wunused-variable] extern int tt_idlelimit, tt_idleact; ^ ckuus5.c:5635:16: warning: unused variable 'tt_idlesnd_tmo' [-Wunused-variable] extern int tt_idlesnd_tmo; ^ ckuus5.c:5634:19: warning: unused variable 'tt_idlesnd_str' [-Wunused-variable] extern char * tt_idlesnd_str; ^ ckuus5.c: In function 'doshow': ckuus5.c:7904:18: warning: unused variable 'myhome' [-Wunused-variable] extern char * myhome; ^ ckuus5.c:6432:12: warning: unused variable 'z' [-Wunused-variable] int y, z, i; long zz; ^ ckuus5.c: In function 'dclarray': ckuus5.c:8577:5: warning: array subscript has type 'char' [-Wchar-subscripts] if ((p = a_ptr[a]) != NULL) { /* Delete old array of same name */ ^ ckuus5.c:8578:9: warning: array subscript has type 'char' [-Wchar-subscripts] if (a_link[a] > -1) { /* Is it a link? */ ^ ckuus5.c:8580:17: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = (char **) NULL; /* clear all the info. */ ^ ckuus5.c:8581:17: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = 0; ^ ckuus5.c:8582:17: warning: array subscript has type 'char' [-Wchar-subscripts] a_link[a] = -1; ^ ckuus5.c:8585:13: warning: array subscript has type 'char' [-Wchar-subscripts] a = a_link[a]; /* Switch to linked-to array */ ^ ckuus5.c:8587:9: warning: array subscript has type 'char' [-Wchar-subscripts] n2 = a_dim[a]; /* Real array */ ^ ckuus5.c:8594:9: warning: array subscript has type 'char' [-Wchar-subscripts] free((char *)a_ptr[a]); /* Then the element list */ ^ ckuus5.c:8604:9: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = (char **) NULL; /* Remove pointer to element list */ ^ ckuus5.c:8605:9: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = 0; /* Set dimension at zero. */ ^ ckuus5.c:8606:9: warning: array subscript has type 'char' [-Wchar-subscripts] a_link[a] = -1; /* Unset link word */ ^ ckuus5.c:8612:5: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = p; /* Save pointer to member list */ ^ ckuus5.c:8613:5: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = n; /* Save dimension */ ^ ckuus5.c:8563:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] char c, **p; int i, n2, rc; ^ ckuus5.c: In function 'boundspair': ckuus5.c:8705:12: warning: unused variable 'x' [-Wunused-variable] int i, x, y, range[2], bc = 0; ^ ckuus5.c: In function 'arraybounds': ckuus5.c:8806:12: warning: unused variable 'tmp' [-Wunused-variable] char * tmp = NULL; ^ ckuus5.c:8805:31: warning: unused variable 'q' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:8805:26: warning: unused variable 'p' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:8805:14: warning: unused variable 'buf' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:8804:18: warning: unused variable 'range' [-Wunused-variable] int i, x, y, range[2]; ^ ckuus5.c:8804:9: warning: unused variable 'i' [-Wunused-variable] int i, x, y, range[2]; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus6.c ckuus6.c: In function 'doask': ckuus6.c:882:9: warning: variable 'guiflg' set but not used [-Wunused-but-set-variable] int guiflg = 0; ^ ckuus6.c:881:9: warning: variable 'popupflg' set but not used [-Wunused-but-set-variable] int popupflg = 0; ^ ckuus6.c: In function 'xxundef': ckuus6.c:1393:15: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus6.c:1399:15: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus6.c: In function 'ludial': ckuus6.c:2410:25: warning: unused variable 'i' [-Wunused-variable] int dd, n1, n2, n3, i, j, t; /* Workers */ ^ ckuus6.c: In function 'dodial': ckuus6.c:3006:24: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus6.c:3292:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (!success) ^ ckuus6.c: In function 'dotype': ckuus6.c:3773:12: warning: unused variable 'c' [-Wunused-variable] int x, c, n, i, j, k = 0; ^ ckuus6.c: In function 'domydir': ckuus6.c:5556:13: warning: unused variable 'filename' [-Wunused-variable] char * filename; ^ ckuus6.c:5706:17: warning: unused variable 'i' [-Wunused-variable] int i, x, y; ^ ckuus6.c: In function 'dodel': ckuus6.c:6800:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:6809:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:6820:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:6830:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:6840:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:6847:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++n > cmd_rows - 3) ^ ckuus6.c:6682:17: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus6.c:6193:12: warning: unused variable 'j' [-Wunused-variable] int i, j, k, x; ^ ckuus6.c: In function 'docopy': ckuus6.c:8050:10: warning: unused variable 'skip' [-Wunused-variable] int i, skip = 0; ^ ckuus6.c:7811:9: warning: unused variable 'i' [-Wunused-variable] int i, x, listing = 0, nolist = 0, havename = 0, getval; ^ ckuus6.c: In function 'renameone': ckuus6.c:8716:11: warning: unused variable 'c' [-Wunused-variable] char c; ^ ckuus6.c: In function 'dorenam': ckuus6.c:9031:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ((x = cmfld("Character or string to replace spaces with", ^ ckuus6.c:8894:9: warning: unused variable 'i' [-Wunused-variable] int i, x, z, fn, listing = 0, havename = 0, wild = 0, rc = 1, noarg = 0; ^ ckuus6.c:8889:26: warning: unused variable 'fcsinfo' [-Wunused-variable] extern struct csinfo fcsinfo[]; ^ ckuus6.c: In function 'dogta': ckuus6.c:10415:13: warning: array subscript has type 'char' [-Wchar-subscripts] if (maclvl == 1) p = g_var[c]; /* If at level 1 use globals 0..9 */ ^ ckuus6.c:10384:12: warning: unused variable 'n' [-Wunused-variable] int i, n; ^ ckuus6.c: In function 'dogoto': ckuus6.c:10480:9: warning: unused variable 'i' [-Wunused-variable] int i, j, x, y, z, bc; ^ ckuus4.c:14592:17: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] if (q) free(q); ^ ckuus4.c:11336:20: warning: 'seplen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (z < seplen) ^ ckuus4.c:11175:51: note: 'seplen' was declared here int i, x, y, z, flag, flag2, hi, lo, max, seplen, grouping = 0; ^ ckuus6.c: In function 'doif': ckuus6.c:11736:11: warning: unused variable 'q' [-Wunused-variable] char *q; ^ In file included from ckuus6.c:19:0: ckuus6.c: At top level: ckuus6.c:635:22: warning: 'doymdir' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int doymdir,(int)); ^ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuus7.c ckuus7.c: In function 'dopurge': ckuus7.c:3015:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (++lines > cmd_rows - 3) ^ ckuus7.c: In function 'doputenv': ckuus7.c:3830:12: warning: unused variable 's' [-Wunused-variable] char * s, * t = tmpbuf; /* Create or alter environment var */ ^ ckuus7.c: In function 'getiact': ckuus7.c:3961:28: warning: unused variable 't' [-Wunused-variable] char * p, * q, * t; ^ ckuus7.c: In function 'setlclcharset': ckuus7.c:4012:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus7.c: In function 'setremcharset': ckuus7.c:4027:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus7.c: In function 'settrm': ckuus7.c:4206:9: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ ckuus7.c: In function 'cx_net': ckuus7.c:9659:7: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuus7.c:9833:3: warning: label 'xcx_net' defined but not used [-Wunused-label] xcx_net: ^ ckuus7.c:8835:40: warning: unused variable 'g_pcpt' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^ ckuus7.c:8835:32: warning: unused variable 'g_pflg' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^ ckuus7.c:8835:23: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^ ckuus7.c:8835:16: warning: unused variable 'pwflg' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^ ckuus7.c:8834:28: warning: unused variable 'g_pswd' [-Wunused-variable] extern char pwbuf[], * g_pswd; ^ ckuus7.c:8834:17: warning: unused variable 'pwbuf' [-Wunused-variable] extern char pwbuf[], * g_pswd; ^ ckuus7.c: In function 'cx_serial': ckuus7.c:10086:9: warning: unused variable 'x' [-Wunused-variable] int x; /* Find a safe, long buffer */ ^ ckuus7.c:10124:3: warning: label 'xcx_serial' defined but not used [-Wunused-label] xcx_serial: ^ ckuus7.c:9933:15: warning: unused variable 'x' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c:9933:12: warning: unused variable 'n' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c:9933:9: warning: unused variable 'i' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c: In function 'setlin': ckuus7.c:10224:9: warning: variable 'wild' set but not used [-Wunused-but-set-variable] int wild = 0; /* Filespec has wildcards */ ^ ckuus7.c:10222:9: warning: variable 'haveuser' set but not used [-Wunused-but-set-variable] int haveuser = 0; ^ ckuus7.c:10221:12: warning: unused variable 'i' [-Wunused-variable] int c, i, haveswitch = 0; ^ ckuus7.c:10220:9: warning: unused variable '_local' [-Wunused-variable] int _local = -1; ^ ckuus7.c: In function 'z_in': ckuus7.c:11765:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus7.c:11763:12: warning: unused variable 'j' [-Wunused-variable] int i, j, x; ^ ckuus7.c: In function 'z_seek': ckuus7.c:11915:9: warning: unused variable 'i' [-Wunused-variable] int i, x = 0, rc; ^ ckuus7.c: In function 'z_line': ckuus7.c:11945:9: warning: unused variable 'i' [-Wunused-variable] int i, len, x = 0; ^ ckuus7.c: In function 'z_count': ckuus7.c:12138:9: warning: unused variable 'i' [-Wunused-variable] int i, x; ^ ckuus7.c: In function 'dofile': ckuus7.c:12633:24: warning: unused variable 'k' [-Wunused-variable] int i, k, xx; ^ ckuus7.c:12957:20: warning: unused variable 'ispat' [-Wunused-variable] int flag = 0, ispat = 0, matchresult = 0; ^ ckuus7.c: In function 'savkeys': ckuus7.c:13131:23: warning: unused variable 'k' [-Wunused-variable] int savfil, i, j, k; ^ ckuus7.c: In function 'readpass': ckuus7.c:13738:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuus7.c: In function 'sho_iks': ckuus7.c:14013:34: warning: unused variable 'cdmsgstr' [-Wunused-variable] extern char * cdmsgfile[], * cdmsgstr, *kermrc; ^ ckuus7.c:14012:35: warning: unused variable 'iksdcf' [-Wunused-variable] extern int srvcdmsg, success, iksdcf, noinit, arg_x; ^ ckuus7.c:13992:16: warning: unused variable 'ckxperms' [-Wunused-variable] extern int ckxperms; ^ ckuus6.c: In function 'dotype': ckuus6.c:4181:11: warning: 'oldsig' may be used uninitialized in this function [-Wmaybe-uninitialized] signal(SIGINT,oldsig); /* Put old signal action back. */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusx.c ckuusx.c: In function 'scanfile': ckuusx.c:1562:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses] count > 9 && buf[8] == SP && buf[9] == '\015') { ^ ckuusx.c: In function 'scanstring': ckuusx.c:2003:9: warning: variable 'pctzero' set but not used [-Wunused-but-set-variable] int pctzero = 0; /* Percentage of 0 bytes */ ^ ckuusx.c:2002:9: warning: unused variable 'runzero' [-Wunused-variable] int runzero = 0; /* Run of 0 bytes */ ^ ckuusx.c:1995:9: warning: unused variable 'readsize' [-Wunused-variable] int readsize = 0; /* How much to read */ ^ ckuusx.c:1987:9: warning: unused variable 'pv' [-Wunused-variable] int pv = -1; /* Pattern-match value */ ^ ckuusx.c:1985:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, val = -1, count = 0; /* Workers */ ^ ckuusx.c: In function 'ckhost': ckuusx.c:2840:9: warning: unused variable 'havefull' [-Wunused-variable] int havefull = 0; ^ ckuusx.c: In function 'chkint': ckuusx.c:3804:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (what & W_SEND) ^ ckuusx.c: In function 'dodebug': ckuusx.c:5378:15: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int x, flag = 0; ^ ckuusx.c: In function 'fxdinit': ckuusx.c:5980:13: warning: implicit declaration of function 'tgetent' [-Wimplicit-function-declaration] x = tgetent(trmbuf,s); ^ ckuusx.c:5919:12: warning: unused variable 'dummy' [-Wunused-variable] int x, dummy; ^ ckuusx.c: In function 'ck_termset': ckuusx.c:6481:9: warning: implicit declaration of function 'tgetstr' [-Wimplicit-function-declaration] if (tgetstr("cl", &bp)) { /* Get clear-screen code */ ^ In file included from ckuusx.c:26:0: ckcdeb.h:5129:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckuusx.c:6482:13: note: in expansion of macro 'debug' debug(F110,"ck_termset tgetstr cl",tgsbuf,""); ^ ckcdeb.h:5129:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckuusx.c:6489:13: note: in expansion of macro 'debug' debug(F110,"ck_termset tgetstr ce",tgsbuf,""); ^ ckcdeb.h:5129:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckuusx.c:6496:13: note: in expansion of macro 'debug' debug(F110,"ck_termset tgetstr cm",tgsbuf,""); ^ ckuusx.c: In function 'ck_curpos': ckuusx.c:6560:9: warning: implicit declaration of function 'tputs' [-Wimplicit-function-declaration] tputs( ^ ckuusx.c:6564:15: warning: implicit declaration of function 'tgoto' [-Wimplicit-function-declaration] tgoto(cur_cm,col-1,row-1),1,fn); ^ ckuusx.c: In function 'screenc': ckuusx.c:7103:10: warning: variable 'cps' set but not used [-Wunused-but-set-variable] long cps = 0L; ^ ckuusx.c: In function 'getslot': ckuusx.c:9502:24: warning: unused variable 's' [-Wunused-variable] char pidbuf[64], * s; ^ ckuusx.c:9530:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfd,idstring,(int)strlen(idstring)); ^ ckuusx.c:9624:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(dbfp),(CK_OFF_T)i); ^ ckuus7.c: In function 'dofile': ckuus7.c:12938:19: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized] z += pos; ^ ckuus6.c: In function 'shorename': ckuus6.c:8464:11: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] printf(" rename collision: %s\n",s); ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuusy.c ckuusy.c:200:5: warning: missing braces around initializer [-Wmissing-braces] "ftp", URL_FTP, 0, ^ ckuusy.c:200:5: warning: (near initialization for 'urltab[0]') [-Wmissing-braces] ckuusy.c: In function 'urlparse': ckuusy.c:250:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuusy.c: In function 'cmdlin': ckuusy.c:801:13: warning: unused variable 'xx' [-Wunused-variable] int xx; ^ ckuusy.c: In function 'doxarg': ckuusy.c:2793:22: warning: unused variable 'nttyp' [-Wunused-variable] extern int nttyp; ^ ckuusy.c:2792:32: warning: unused variable 'ttyptab' [-Wunused-variable] extern struct keytab ttyptab[]; ^ ckuusy.c: At top level: ckuusy.c:157:12: warning: 'have_cx' defined but not used [-Wunused-variable] static int have_cx = 0; /* Have connection */ ^ ckuusy.c:216:13: warning: 'urlbuf' defined but not used [-Wunused-variable] static char urlbuf[URLBUFLEN]; ^ ckuusy.c:637:12: warning: 'nhttpztab' defined but not used [-Wunused-variable] static int nhttpztab = sizeof(httpztab) / sizeof(struct keytab) - 1; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckwart.c ckwart.c:531:1: warning: return type defaults to 'int' [-Wreturn-type] main(argc,argv) int argc; char **argv; { ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcfns.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcfn2.c ckcfns.c: In function 'rcvfil': ckcfns.c:3783:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !stdouf ) && /* Not copying to standard output? */ ^ ckcfns.c:3394:20: warning: unused variable 'y' [-Wunused-variable] int dirflg, x, y; ^ ckcfns.c:3394:17: warning: unused variable 'x' [-Wunused-variable] int dirflg, x, y; ^ ckcfns.c:3387:12: warning: unused variable 'dispo' [-Wunused-variable] char * dispo; ^ ckcfns.c: In function 'spar': ckcfns.c:5323:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] && !istncomport() ^ ckcfns.c: In function 'nxthlp': ckcfns.c:5891:19: warning: unused variable 'ckxsys' [-Wunused-variable] extern char * ckxsys; ^ ckcfns.c: In function 'snddir': ckcfns.c:6416:9: warning: unused variable 't' [-Wunused-variable] int t = 0, rc = 0; ^ ckcfns.c: In function 'remset': ckcfns.c:6854:14: warning: unused variable 'i' [-Wunused-variable] int len, i, x, y; ^ ckcfn2.c: In function 'chkspkt': ckcfn2.c:2661:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcfn2.c: In function 'rpack': ckcfn2.c:2873:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (nakstate) /* j == -1 is a read timeout */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcfn3.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuxla.c ckcfn3.c: In function 'dofast': ckcfn3.c:346:30: warning: unused variable 'spmax' [-Wunused-variable] rpsiz, urpsiz, spsizr, spmax, wslotr; ^ ckcfn3.c:346:22: warning: unused variable 'spsizr' [-Wunused-variable] rpsiz, urpsiz, spsizr, spmax, wslotr; ^ ckcfn3.c:345:16: warning: unused variable 'spsizf' [-Wunused-variable] extern int spsizf, /* For bug in IRIX Telnet server */ ^ ckcfn3.c: In function 'getreason': ckcfn3.c:1365:4: warning: array subscript has type 'char' [-Wchar-subscripts] reason[c] : ^ ckcfn3.c: In function 'gattr': ckcfn3.c:1477:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) { /* Get attribute tag */ ^ ckuxla.c:161:3: warning: missing braces around initializer [-Wmissing-braces] "TRANSPARENT", 256,TC_TRANSP, "", AL_UNK, "transparent", /* 0 */ ^ ckcfn3.c: In function 'opena': ckcfn3.c:2117:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ ^ ckuxla.c:161:3: warning: (near initialization for 'tcsinfo[0]') [-Wmissing-braces] ckcfn3.c:2173:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (*rf_err) ^ ckuxla.c:189:5: warning: missing braces around initializer [-Wmissing-braces] "ascii", TC_USASCII, 0, /* SET TRANSFER CHARACTER-SET */ ^ ckuxla.c:189:5: warning: (near initialization for 'tcstab[0]') [-Wmissing-braces] ckuxla.c:255:3: warning: missing braces around initializer [-Wmissing-braces] "US ASCII", 128, FC_USASCII, NULL, AL_ROMAN, "ascii", ^ ckuxla.c:255:3: warning: (near initialization for 'fcsinfo[0]') [-Wmissing-braces] ckuxla.c:324:5: warning: missing braces around initializer [-Wmissing-braces] "apple-quickdraw", FC_APPQD, CM_INV, /* Apple Quickdraw */ ^ ckuxla.c:324:5: warning: (near initialization for 'fcstab[0]') [-Wmissing-braces] ckuxla.c:514:5: warning: missing braces around initializer [-Wmissing-braces] "apple-quickdraw", FC_APPQD, CM_INV, /* Apple Quickdraw */ ^ ckuxla.c:514:5: warning: (near initialization for 'ttcstab[0]') [-Wmissing-braces] ckuxla.c:720:5: warning: missing braces around initializer [-Wmissing-braces] L_USASCII, FC_USASCII, TC_USASCII, "ASCII (American English)", ^ ckuxla.c:720:5: warning: (near initialization for 'langs[0]') [-Wmissing-braces] ckuxla.c:758:5: warning: missing braces around initializer [-Wmissing-braces] "ascii", L_USASCII, CM_INV, ^ ckuxla.c:758:5: warning: (near initialization for 'lngtab[0]') [-Wmissing-braces] ckuxla.c:6074:5: warning: missing braces around initializer [-Wmissing-braces] NULL, /* 0,0 transparent to us ascii */ ^ ckuxla.c:6074:5: warning: (near initialization for 'xlr[0]') [-Wmissing-braces] ckuxla.c:6639:5: warning: missing braces around initializer [-Wmissing-braces] NULL, /* 0,0 us ascii to transparent */ ^ ckuxla.c:6639:5: warning: (near initialization for 'xls[0]') [-Wmissing-braces] gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckucns.c ckucns.c: In function 'conect': ckucns.c:1966:7: warning: unused variable 'x_auth' [-Wunused-variable] int x_auth = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckutio.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckufio.c ckutio.c: In function 'sysinit': ckutio.c:2289:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("LOCATION")) ^ ckutio.c:2290:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tn_loc = (char *)malloc((int)strlen(p)+1)) ^ ckutio.c: In function 'tthang': ckutio.c:3855:20: warning: unused variable 'ttc_save' [-Wunused-variable] unsigned short ttc_save; ^ ckutio.c:3854:9: warning: unused variable 'flags' [-Wunused-variable] int flags; /* fcntl flags */ ^ ckutio.c:3825:9: warning: unused variable 'x' [-Wunused-variable] int x = 0; /* Sometimes used as return code. */ ^ ckutio.c: In function 'ttres': ckutio.c:4518:17: warning: unused variable 'tcp_nodelay' [-Wunused-variable] extern int tcp_nodelay; /* Just put this back if necessary */ ^ ckutio.c: In function 'ttlock': ckutio.c:4978:9: warning: unused variable 'islink' [-Wunused-variable] int islink = 0; ^ ckutio.c:4977:12: warning: unused variable 'n' [-Wunused-variable] int x, n; ^ ckutio.c: In function 'ttunlck': ckutio.c:5629:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckutio.c: In function 'ttvt': ckutio.c:6984:9: warning: variable 's' set but not used [-Wunused-but-set-variable] int s, s2, x; ^ ckutio.c: In function 'ttgspd': ckutio.c:7981:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckutio.c: In function 'ttflux': ckutio.c:9007:19: warning: variable 'x' set but not used [-Wunused-but-set-variable] int dotnopts, x; ^ ckutio.c: In function 'ttflui': ckutio.c:9041:9: warning: variable 'dotnopts' set but not used [-Wunused-but-set-variable] int dotnopts; ^ ckutio.c:9039:9: warning: unused variable 'n' [-Wunused-variable] int n, fd; ^ ckutio.c: In function 'ttxin': ckutio.c:10218:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int fd; ^ ckutio.c: In function 'ttinl': ckutio.c:10746:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int fd; ^ ckutio.c: In function 'ttinc': ckutio.c:11147:16: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int n = 0, fd; ^ ckutio.c: In function 'msleep': ckutio.c:11573:9: warning: variable 't1' set but not used [-Wunused-but-set-variable] int t1, x; ^ ckutio.c: In function 'concb': ckutio.c:12186:12: warning: unused variable 'y' [-Wunused-variable] int x, y = 0; ^ ckutio.c: In function 'coninc': ckutio.c:12874:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (errno == EINTR) /* Read interrupted. */ ^ ckutio.c: In function 'pty_chk': ckutio.c:14415:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, n = 0; ^ ckutio.c: In function 'pty_get_status': ckutio.c:14439:11: warning: unused variable 'w' [-Wunused-variable] PID_T w; ^ ckutio.c: In function 'ttptycmd': ckutio.c:14664:5: warning: implicit declaration of function 'openpty' [-Wimplicit-function-declaration] if (openpty(&masterfd, &slavefd, NULL, NULL, NULL) == -1) { ^ ckutio.c:14579:18: warning: unused variable 't' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c:14579:15: warning: unused variable 'm' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c:14579:9: warning: unused variable 'c' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c: At top level: ckutio.c:4691:1: warning: 'ttchkpid' defined but not used [-Wunused-function] ttchkpid(f) char *f; { ^ ckutio.c:1600:1: warning: 'xxlast' defined but not used [-Wunused-function] xxlast(char *s, char c) ^ ckutio.c:4912:13: warning: 'linkto' defined but not used [-Wunused-variable] static char linkto[DEVNAMLEN+1]; ^ ckutio.c:4913:15: warning: 'linkdev' defined but not used [-Wunused-variable] static char * linkdev = NULL; ^ ckutio.c:12162:1: warning: 'congetbuf' defined but not used [-Wunused-function] congetbuf(x) int x; { ^ ckutio.c:13729:14: warning: 'realgid' defined but not used [-Wunused-variable] static GID_T realgid = (GID_T) -1, privgid = (GID_T) -1; ^ ckutio.c:14414:1: warning: 'pty_chk' defined but not used [-Wunused-function] pty_chk(fd) int fd; { ^ ckufio.c: In function 'zinfill': ckufio.c:1959:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckutio.c: In function 'ttopen': ckutio.c:2564:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(ttname); ^ ckufio.c: In function 'zchko': ckufio.c:2656:3: warning: label 'doaccess' defined but not used [-Wunused-label] doaccess: ^ ckufio.c:2510:12: warning: variable 'oname' set but not used [-Wunused-but-set-variable] char * oname; ^ ckufio.c: In function 'zchdir': ckufio.c:3022:16: warning: variable 'sp' set but not used [-Wunused-but-set-variable] char *hd, *sp; ^ ckufio.c: In function 'zstrdt': ckufio.c:4858:20: warning: unused variable 'tp' [-Wunused-variable] struct utimbuf tp; ^ ckufio.c: In function 'zlocaltime': ckufio.c:5139:20: warning: unused variable 'tp' [-Wunused-variable] struct utimbuf tp; ^ ckufio.c:5122:15: warning: variable 'x' set but not used [-Wunused-but-set-variable] int i, n, x, isleapyear; ^ ckufio.c: In function 'zfnqfp': ckufio.c:7504:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = zgtdir()) { /* So get current directory */ ^ /usr/include/utmp.h: In function 'logwtmp': ckufio.c:1204:22: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(wtmpfd, buf.st_size); /* Error, undo any partial write */ ^ ckufio.c: In function 'zclose': ckufio.c:1766:22: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(xferlog, iksdmsg, (int)strlen(iksdmsg)); ^ ckufio.c: In function 'zvpass': ckufio.c:8354:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] (VOID) setgid((GID_T)pw->pw_gid); /* Set group ID */ ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckudia.c ckudia.c:4229:5: warning: missing braces around initializer [-Wmissing-braces] "3com-usr-megahertz-56k", n_USRX2, CM_INV, ^ ckudia.c:4229:5: warning: (near initialization for 'mdmtab[0]') [-Wmissing-braces] In file included from ckudia.c:81:0: ckudia.c: In function 'dialfail': ckcdeb.h:5129:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckudia.c:4995:10: note: in expansion of macro 'debug' debug(F111,"dialfail()","lbuf",lbuf); ^ ckudia.c:4996:14: warning: the address of 'lbuf' will always evaluate as 'true' [-Waddress] if (lbuf && *lbuf) { ^ ckudia.c: In function 'ckdial': ckudia.c:6435:9: warning: unused variable 'n' [-Wunused-variable] int n = F_TIME; ^ ckudia.c: In function 'dook': ckudia.c:6937:16: warning: unused variable 'inserver' [-Wunused-variable] extern int inserver; ^ ckudia.c:6932:12: warning: unused variable 'mdmmsg' [-Wunused-variable] char * mdmmsg = ""; ^ ckudia.c: In function 'mdmhup': ckudia.c:8069:15: warning: unused variable 'p' [-Wunused-variable] char *s, *p, c; ^ ckudia.c:8065:9: warning: unused variable 'm' [-Wunused-variable] int m, x = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuscr.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcnet.c ckcnet.c: In function 'ck_linger': ckcnet.c:1705:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && ^ ckcnet.c:1713:21: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (char *)&get_linger_opt, &x)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ ckcnet.c: In function 'sendbuf': ckcnet.c:1827:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c:1833:5: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)&i, &x)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ ckcnet.c: In function 'recvbuf': ckcnet.c:1923:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && ^ ckcnet.c:1929:5: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] if (getsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char *)&i, &x)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ ckcnet.c: In function 'keepalive': ckcnet.c:2014:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c:2021:20: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] SOL_SOCKET, SO_KEEPALIVE, (char *)&get_keepalive_opt, &x)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ ckcnet.c: In function 'dontroute': ckcnet.c:2132:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c:2139:20: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] SOL_SOCKET, SO_DONTROUTE, (char *)&get_dontroute_opt, &x)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ ckcnet.c: In function 'no_delay': ckcnet.c:2250:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ^ ckcnet.c:2257:20: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] (char *)&get_nodelay_opt,&x)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:220:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockopt (int __fd, int __level, int __optname, ^ ckcnet.c: In function 'tcpsrv_open': ckcnet.c:2905:37: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] (struct sockaddr *)&saddr,&saddrlen)) < 0) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ ckcnet.c:2972:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ^ ckcnet.c:3041:41: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (!getsockname(ttyfd, (struct sockaddr *)&l_addr, &l_slen)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ ckcnet.c: In function 'ckgetpeer': ckcnet.c:3208:35: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(ttyfd,(struct sockaddr *)&saddr,&saddrlen) < 0) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:142:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^ ckcnet.c: In function 'netopen': ckcnet.c:3897:17: warning: variable 'uidfound' set but not used [-Wunused-but-set-variable] int uidfound=0; ^ ckcnet.c:4854:37: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (!getsockname(ttyfd, (struct sockaddr *)&l_addr, &l_slen)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ ckcnet.c:4885:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((tcp_rdns && dns || tcp_rdns == SET_ON ^ ckcnet.c:4906:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ ckcnet.c:3537:15: warning: unused variable 'rc_inet_addr' [-Wunused-variable] int i, x, rc_inet_addr = 0, dns = 0; ^ ckcnet.c: In function 'netclos': ckcnet.c:5087:19: warning: unused variable 'z' [-Wunused-variable] int x = 0, y, z; ^ ckcnet.c:5087:16: warning: unused variable 'y' [-Wunused-variable] int x = 0, y, z; ^ ckcnet.c: In function 'getlocalipaddr': ckcnet.c:7006:38: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] getsockname(sock,(struct sockaddr *)&l_sa,&slen); ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ ckcnet.c:6979:20: warning: unused variable 'laddr' [-Wunused-variable] struct in_addr laddr; ^ ckcnet.c: In function 'netbreak': ckcnet.c:7567:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET SENT ",TELCMD(BREAK), ^ ckcnet.c: In function 'http_date': ckcnet.c:9981:17: warning: unused variable 'cmdatebuf' [-Wunused-variable] extern char cmdatebuf[18]; ^ ckcnet.c: In function 'http_open': ckcnet.c:10772:38: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (!getsockname(httpfd, (struct sockaddr *)&l_addr, &l_slen)) { ^ In file included from ckcnet.h:818:0, from ckcnet.c:58: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ ckcnet.c:10790:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^ ckcnet.c:10249:12: warning: unused variable 'x' [-Wunused-variable] int i, x, dns = 0; ^ ckcnet.c: In function 'http_head': ckcnet.c:11868:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:11867:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:11866:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_index': ckcnet.c:12058:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12057:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12056:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_put': ckcnet.c:12306:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12305:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12304:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_delete': ckcnet.c:12611:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12610:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12609:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_post': ckcnet.c:12851:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:12850:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:12849:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: In function 'http_connect': ckcnet.c:13139:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^ ckcnet.c:13138:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^ ckcnet.c:13137:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^ ckcnet.c: At top level: ckcnet.c:3532:13: warning: 'xxname' defined but not used [-Wunused-variable] static char xxname[XXNAMELEN]; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckctel.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckusig.c In file included from ckcnet.h:1245:0, from ckctel.c:48: ckctel.c: In function 'tn_sopt': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.c:728:10: note: in expansion of macro 'TELCMD_OK' if (!TELCMD_OK(cmd)) return(-1); ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:753:28: note: in expansion of macro 'TELCMD' TELCMD(cmd), " ", ^ ckctel.c:762:9: warning: array subscript has type 'char' [-Wchar-subscripts] tncnts[index][tnopps[m]] = 0; ^ In file included from ckcnet.h:1245:0, from ckctel.c:48: ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:770:49: note: in expansion of macro 'TELCMD' ckmakmsg(msg,sizeof(msg),"TELNET SENT ",TELCMD(cmd)," ", ^ ckctel.c: In function 'tn_ssbopt': ckctel.c:806:11: warning: unused variable 'm' [-Wunused-variable] int n,m,rc; ^ ckctel.c:806:9: warning: unused variable 'n' [-Wunused-variable] int n,m,rc; ^ ckctel.c: In function 'iks_tn_sb': ckctel.c:2384:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || !local && cmdadl ^ ckctel.c: In function 'tn_set_modes': ckctel.c:2486:15: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ ckctel.c: In function 'tn_reset': ckctel.c:2696:9: warning: unused variable 'x' [-Wunused-variable] int x,opt,cmd; ^ ckctel.c: In function 'tn_siks': ckctel.c:3460:11: warning: unused variable 'm' [-Wunused-variable] int n,m,rc; ^ ckctel.c:3460:9: warning: unused variable 'n' [-Wunused-variable] int n,m,rc; ^ ckctel.c: In function 'tn_sb': ckctel.c:3562:21: warning: unused variable 'm' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c:3562:12: warning: unused variable 'x' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c:3562:9: warning: unused variable 'c' [-Wunused-variable] int c, x, y, n, m, flag; ^ In file included from ckcnet.h:1245:0, from ckctel.c:48: ckctel.c: In function 'tn_xdoop': ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.c:4391:10: note: in expansion of macro 'TELCMD_OK' if (!TELCMD_OK(c)) { ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:4419:55: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c),NULL,NULL); ^ ckctel.h:182:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define TELCMD_OK(x) ((unsigned int)(x) <= TELCMD_LAST && \ ^ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^ ckctel.c:4480:51: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c)," ",TELOPT(x)); ^ ckctel.c:4369:21: warning: unused variable 'm' [-Wunused-variable] int c, x, y, n, m; ^ ckctel.c: In function 'tn_rnenv': ckctel.c:5638:15: warning: unused variable 'n' [-Wunused-variable] int i,j,k,n; /* Worker. */ ^ ckctel.c:5637:25: warning: unused variable 's' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c:5637:12: warning: unused variable 'reply' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c: In function 'tn_snenv': ckctel.c:5808:25: warning: unused variable 's' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c: In function 'tn_sndcomport': ckctel.c:6627:18: warning: variable 'signature' set but not used [-Wunused-but-set-variable] CONST char * signature; ^ ckctel.c:6626:50: warning: variable 'iflow' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6626:43: warning: variable 'oflow' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6626:33: warning: variable 'stopsize' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6626:25: warning: variable 'parity' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6626:15: warning: variable 'datasize' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c:6626:9: warning: variable 'baud' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^ ckctel.c: In function 'tngmdm': ckctel.c:8966:9: warning: unused variable 'rc' [-Wunused-variable] int rc = -1; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcuni.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckupty.c ckcuni.c:4380:5: warning: missing braces around initializer [-Wmissing-braces] 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, ^ ckcuni.c:4380:5: warning: (near initialization for 'u_transparent.map') [-Wmissing-braces] ckcuni.c:4418:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4418:13: warning: (near initialization for 'u_ascii.map') [-Wmissing-braces] ckcuni.c:4434:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4434:13: warning: (near initialization for 'u_british.map') [-Wmissing-braces] ckcuni.c:4450:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4450:13: warning: (near initialization for 'u_dutch.map') [-Wmissing-braces] ckcuni.c:4466:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4466:13: warning: (near initialization for 'u_finnish.map') [-Wmissing-braces] ckcuni.c:4482:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4482:13: warning: (near initialization for 'u_french.map') [-Wmissing-braces] ckcuni.c:4498:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4498:13: warning: (near initialization for 'u_fr_canadian.map') [-Wmissing-braces] ckcuni.c:4514:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4514:13: warning: (near initialization for 'u_german.map') [-Wmissing-braces] ckcuni.c:4530:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4530:13: warning: (near initialization for 'u_hungarian.map') [-Wmissing-braces] ckcuni.c:4546:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4546:13: warning: (near initialization for 'u_italian.map') [-Wmissing-braces] ckcuni.c:4562:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4562:13: warning: (near initialization for 'u_icelandic.map') [-Wmissing-braces] ckcuni.c:4578:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4578:13: warning: (near initialization for 'u_jis0201r.map') [-Wmissing-braces] ckcuni.c:4594:13: warning: missing braces around initializer [-Wmissing-braces] 0xff61, 0xff62, 0xff63, 0xff64, 0xff65, 0xff66, 0xff67, ^ ckcuni.c:4594:13: warning: (near initialization for 'u_jis0201k.map') [-Wmissing-braces] ckcuni.c:4610:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4610:13: warning: (near initialization for 'u_norwegian.map') [-Wmissing-braces] ckcuni.c:4626:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4626:13: warning: (near initialization for 'u_danish.map') [-Wmissing-braces] ckcuni.c:4642:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4642:13: warning: (near initialization for 'u_portuguese.map') [-Wmissing-braces] ckcuni.c:4658:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4658:13: warning: (near initialization for 'u_spanish.map') [-Wmissing-braces] ckupty.c: In function 'pty_getpty': ckupty.c:705:5: warning: implicit declaration of function 'openpty' [-Wimplicit-function-declaration] if (openpty(fd, ^ ckcuni.c:4674:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4674:13: warning: (near initialization for 'u_swedish.map') [-Wmissing-braces] ckcuni.c:4690:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x00f9, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4690:13: warning: (near initialization for 'u_swiss.map') [-Wmissing-braces] ckcuni.c:4706:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4706:13: warning: (near initialization for 'u_koi7.map') [-Wmissing-braces] ckcuni.c:4722:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4722:13: warning: (near initialization for 'u_elot927.map') [-Wmissing-braces] ckcuni.c:4739:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:4739:13: warning: (near initialization for 'u_hebrew7.map') [-Wmissing-braces] ckupty.c:690:17: warning: unused variable 'stb' [-Wunused-variable] struct stat stb; ^ ckupty.c:689:12: warning: unused variable 'ptynum' [-Wunused-variable] int i, ptynum; ^ ckupty.c:689:9: warning: unused variable 'i' [-Wunused-variable] int i, ptynum; ^ ckupty.c:688:11: warning: unused variable 'p' [-Wunused-variable] char *p; ^ ckupty.c:687:11: warning: unused variable 'cp' [-Wunused-variable] char *cp; ^ ckcuni.c:4755:13: warning: missing braces around initializer [-Wmissing-braces] 0x00a8, 0x0029, 0x003c, 0x2264, 0x003d, 0x003e, 0x005d, ^ ckcuni.c:4755:13: warning: (near initialization for 'u_apl1.map') [-Wmissing-braces] ckcuni.c:4773:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, ^ ckcuni.c:4773:5: warning: (near initialization for 'u_8859_1.map') [-Wmissing-braces] ckupty.c: In function 'pty_open_slave': ckupty.c:1086:14: warning: unused variable 'testfd' [-Wunused-variable] int vfd, testfd; ^ ckupty.c:1086:9: warning: unused variable 'vfd' [-Wunused-variable] int vfd, testfd; ^ ckcuni.c:4789:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x0104, 0x02D8, 0x0141, 0x00A4, 0x013D, 0x015A, 0x00A7, ^ ckcuni.c:4789:5: warning: (near initialization for 'u_8859_2.map') [-Wmissing-braces] ckcuni.c:4805:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x0126, 0x02D8, 0x00A3, 0x00A4, 0xfffd, 0x0124, 0x00A7, ^ ckcuni.c:4805:5: warning: (near initialization for 'u_8859_3.map') [-Wmissing-braces] ckcuni.c:4821:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x0104, 0x0138, 0x0156, 0x00A4, 0x0128, 0x013B, 0x00A7, ^ ckcuni.c:4821:5: warning: (near initialization for 'u_8859_4.map') [-Wmissing-braces] ckcuni.c:4837:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x0401, 0x0402, 0x0403, 0x0404, 0x0405, 0x0406, 0x0407, ^ ckcuni.c:4837:5: warning: (near initialization for 'u_8859_5.map') [-Wmissing-braces] ckcuni.c:4853:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0xfffd, 0xfffd, 0xfffd, 0x00A4, 0xfffd, 0xfffd, 0xfffd, ^ ckcuni.c:4853:5: warning: (near initialization for 'u_8859_6.map') [-Wmissing-braces] ckcuni.c:4869:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x2018, 0x2019, 0x00A3, 0xFFFD, 0xFFFD, 0x00A6, 0x00A7, ^ ckcuni.c:4869:5: warning: (near initialization for 'u_8859_7.map') [-Wmissing-braces] In file included from ckupty.c:58:0: ckupty.c: In function 'do_pty': ckcuni.c:4885:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0xfffd, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, ^ ckcuni.c:4885:5: warning: (near initialization for 'u_8859_8.map') [-Wmissing-braces] ckcdeb.h:5129:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^ ckupty.c:1952:6: note: in expansion of macro 'debug' debug(F110,"do_pty cmd",cmd,""); ^ ckcuni.c:4901:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, ^ ckcuni.c:4901:5: warning: (near initialization for 'u_8859_9.map') [-Wmissing-braces] ckcuni.c:4917:5: warning: missing braces around initializer [-Wmissing-braces] 0x00a0, 0x0104, 0x0112, 0x0122, 0x012a, 0x0128, 0x0136, 0x013b, ^ ckcuni.c:4917:5: warning: (near initialization for 'u_8859_10.map') [-Wmissing-braces] ckcuni.c:4944:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x20AC, 0x00A5, 0x0160, 0x00A7, ^ ckcuni.c:4944:5: warning: (near initialization for 'u_8859_15.map') [-Wmissing-braces] ckcuni.c:4963:5: warning: missing braces around initializer [-Wmissing-braces] 0x00a0, 0x00d7, 0x2502, 0x2524, 0x00a2, 0x2510, 0x2514, 0x2534, ^ ckcuni.c:4963:5: warning: (near initialization for 'u_apl2.map') [-Wmissing-braces] ckcuni.c:4979:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0x22a3, 0x22a4, 0x22a5, 0x2190, 0x2192, 0x2191, 0x2193, ^ ckcuni.c:4979:5: warning: (near initialization for 'u_apl3.map') [-Wmissing-braces] ckcuni.c:4999:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, ^ ckcuni.c:4999:5: warning: (near initialization for 'u_apl4.map') [-Wmissing-braces] ckcuni.c:5019:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0x22a3, 0x22a4, 0x22a5, 0x2190, 0x2192, 0x2191, 0x2193, ^ ckcuni.c:5019:5: warning: (near initialization for 'u_apl5.map') [-Wmissing-braces] ckcuni.c:5041:5: warning: missing braces around initializer [-Wmissing-braces] 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, ^ ckcuni.c:5041:5: warning: (near initialization for 'u_koi8.map') [-Wmissing-braces] ckupty.c:1948:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(syncpipe[1],"y",1); ^ ckcuni.c:5059:5: warning: missing braces around initializer [-Wmissing-braces] 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, ^ ckcuni.c:5059:5: warning: (near initialization for 'u_koi8r.map') [-Wmissing-braces] ckcuni.c:5079:5: warning: missing braces around initializer [-Wmissing-braces] 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, ^ ckcuni.c:5079:5: warning: (near initialization for 'u_koi8u.map') [-Wmissing-braces] ckcuni.c:5101:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, ^ ckcuni.c:5101:5: warning: (near initialization for 'u_cp437.map') [-Wmissing-braces] ckcuni.c:5121:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x0105, 0x00e7, /* 80 */ ^ ckcuni.c:5121:5: warning: (near initialization for 'u_mazovia.map') [-Wmissing-braces] ckcuni.c:5141:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, ^ ckcuni.c:5141:5: warning: (near initialization for 'u_cp850.map') [-Wmissing-braces] ckcuni.c:5161:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x016f, 0x0107, 0x00e7, ^ ckcuni.c:5161:5: warning: (near initialization for 'u_cp852.map') [-Wmissing-braces] ckcuni.c:5181:5: warning: missing braces around initializer [-Wmissing-braces] 0x0452, 0x0402, 0x0453, 0x0403, 0x0451, 0x0401, 0x0454, 0x0404, ^ ckcuni.c:5181:5: warning: (near initialization for 'u_cp855.map') [-Wmissing-braces] ckcuni.c:5201:5: warning: missing braces around initializer [-Wmissing-braces] 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, ^ ckcuni.c:5201:5: warning: (near initialization for 'u_cp856.map') [-Wmissing-braces] ckcuni.c:5221:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, /* 0x80 */ ^ ckcuni.c:5221:5: warning: (near initialization for 'u_cp857.map') [-Wmissing-braces] ckcuni.c:5241:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, ^ ckcuni.c:5241:5: warning: (near initialization for 'u_cp858.map') [-Wmissing-braces] ckcuni.c:5261:5: warning: missing braces around initializer [-Wmissing-braces] 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, ^ ckcuni.c:5261:5: warning: (near initialization for 'u_cp862.map') [-Wmissing-braces] ckcuni.c:5281:5: warning: missing braces around initializer [-Wmissing-braces] 0x00b0, 0x00b7, 0x2219, 0x221a, 0x2592, 0x2500, 0x2502, 0x253c, ^ ckcuni.c:5281:5: warning: (near initialization for 'u_cp864.map') [-Wmissing-braces] ckcuni.c:5301:5: warning: missing braces around initializer [-Wmissing-braces] 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, ^ ckcuni.c:5301:5: warning: (near initialization for 'u_cp866.map') [-Wmissing-braces] ckcuni.c:5321:5: warning: missing braces around initializer [-Wmissing-braces] 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x0386, 0xfffd, ^ ckcuni.c:5321:5: warning: (near initialization for 'u_cp869.map') [-Wmissing-braces] ckcuni.c:5343:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ ^ ckcuni.c:5343:5: warning: (near initialization for 'u_cp1250.map') [-Wmissing-braces] ckcuni.c:5363:5: warning: missing braces around initializer [-Wmissing-braces] 0x0402, 0x0403, 0x201a, 0x0453, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ ^ ckcuni.c:5363:5: warning: (near initialization for 'u_cp1251.map') [-Wmissing-braces] ckcuni.c:5393:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, ^ ckcuni.c:5393:5: warning: (near initialization for 'u_cp1252.map') [-Wmissing-braces] ckcuni.c:5413:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ ^ ckcuni.c:5413:5: warning: (near initialization for 'u_cp1253.map') [-Wmissing-braces] ckcuni.c:5433:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ ^ ckcuni.c:5433:5: warning: (near initialization for 'u_cp1254.map') [-Wmissing-braces] ckcuni.c:5454:5: warning: missing braces around initializer [-Wmissing-braces] 0x20AC, 0xFFFD, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, ^ ckcuni.c:5454:5: warning: (near initialization for 'u_cp1255.map') [-Wmissing-braces] ckcuni.c:5475:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0x067e, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, ^ ckcuni.c:5475:5: warning: (near initialization for 'u_cp1256.map') [-Wmissing-braces] ckcuni.c:5495:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0xfffd, 0x201a, 0xfffd, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ ^ ckcuni.c:5495:5: warning: (near initialization for 'u_cp1257.map') [-Wmissing-braces] ckcuni.c:5516:5: warning: missing braces around initializer [-Wmissing-braces] 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ ^ ckcuni.c:5516:5: warning: (near initialization for 'u_cp1258.map') [-Wmissing-braces] ckcuni.c:5536:5: warning: missing braces around initializer [-Wmissing-braces] 0x0000, 0x0001, 0x0002, 0x0003, 0x009C, 0x0009, 0x0086, 0x007F, ^ ckcuni.c:5536:5: warning: (near initialization for 'u_cp37.map') [-Wmissing-braces] ckcuni.c:5574:5: warning: missing braces around initializer [-Wmissing-braces] 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0xfffd, 0x00A5, 0xfffd, 0x00A7, ^ ckcuni.c:5574:5: warning: (near initialization for 'u_decmcs.map') [-Wmissing-braces] ckcuni.c:5590:5: warning: missing braces around initializer [-Wmissing-braces] 0x00a0, 0x00c0, 0x00c2, 0x00c8, 0x00ca, 0x00cb, 0x00ce, 0x00cf, ^ ckcuni.c:5590:5: warning: (near initialization for 'u_hproman8.map') [-Wmissing-braces] ckcuni.c:5606:5: warning: missing braces around initializer [-Wmissing-braces] 0x00a0, 0x00ac, 0x00bd, 0x00b5, 0x00b2, 0x00b3, 0x00a4, 0x00a2, ^ ckcuni.c:5606:5: warning: (near initialization for 'u_dgi.map') [-Wmissing-braces] ckcuni.c:5622:5: warning: missing braces around initializer [-Wmissing-braces] 0x00a0, 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c7, ^ ckcuni.c:5622:5: warning: (near initialization for 'u_nextstep.map') [-Wmissing-braces] ckcuni.c:5642:5: warning: missing braces around initializer [-Wmissing-braces] 0x00C4, 0x00C5, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1, ^ ckcuni.c:5642:5: warning: (near initialization for 'u_maclatin.map') [-Wmissing-braces] ckcuni.c:5662:5: warning: missing braces around initializer [-Wmissing-braces] 0x00C4, 0x00C5, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1, ^ ckcuni.c:5662:5: warning: (near initialization for 'u_quickdraw.map') [-Wmissing-braces] ckcuni.c:5701:13: warning: missing braces around initializer [-Wmissing-braces] 0x221a, 0x250c, 0x2500, 0x2320, 0x2321, 0x2502, 0x2308, /* 21-27 */ ^ ckcuni.c:5701:13: warning: (near initialization for 'u_dectech.map') [-Wmissing-braces] ckcuni.c:5735:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:5735:13: warning: (near initialization for 'u_decspec.map') [-Wmissing-braces] ckcuni.c:5762:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, /* 0 */ ^ ckcuni.c:5762:13: warning: (near initialization for 'u_hz1500.map') [-Wmissing-braces] ckcuni.c:5796:13: warning: missing braces around initializer [-Wmissing-braces] 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, ^ ckcuni.c:5796:13: warning: (near initialization for 'u_heath19g.map') [-Wmissing-braces] ckcuni.c:5820:13: warning: missing braces around initializer [-Wmissing-braces] 0xfffd, 0xfffd, 0x2424, 0x2594, 0x2594, 0x2581, 0x2581, ^ ckcuni.c:5820:13: warning: (near initialization for 'u_dgspec.map') [-Wmissing-braces] ckcuni.c:5838:13: warning: missing braces around initializer [-Wmissing-braces] 0x250c, 0x2510, 0x2514, 0x2518, 0x252c, 0x2524, 0x251c, ^ ckcuni.c:5838:13: warning: (near initialization for 'u_dgline.map') [-Wmissing-braces] ckcuni.c:5854:13: warning: missing braces around initializer [-Wmissing-braces] 0x2308, 0x230a, 0x2309, 0x230b, 0x0192, 0x223c, 0x2202, ^ ckcuni.c:5854:13: warning: (near initialization for 'u_dgword.map') [-Wmissing-braces] ckcuni.c:5878:13: warning: missing braces around initializer [-Wmissing-braces] 0x2520, 0x2528, 0x252f, 0x2537, 0x255f, 0x2562, 0x2564, ^ ckcuni.c:5878:13: warning: (near initialization for 'u_hpline.map') [-Wmissing-braces] ckcuni.c:5894:13: warning: missing braces around initializer [-Wmissing-braces] 0x221a, 0x2223, 0x00a7, 0x2207, 0x00b1, 0x03b1, 0x2320, ^ ckcuni.c:5894:13: warning: (near initialization for 'u_hpmath.map') [-Wmissing-braces] ckcuni.c:5910:13: warning: missing braces around initializer [-Wmissing-braces] 0x2570, 0x256D, 0x256E, 0x256F, 0x2514, 0x250C, 0x2510, ^ ckcuni.c:5910:13: warning: (near initialization for 'u_tvig.map') [-Wmissing-braces] ckcuni.c:5921:5: warning: missing braces around initializer [-Wmissing-braces] 0x252C, 0x2514, 0x250C, 0x2510, 0x251C, 0x2518, 0x2502, 0x2588, ^ ckcuni.c:5921:5: warning: (near initialization for 'u_wyse_gn.map') [-Wmissing-braces] ckcuni.c:5936:5: warning: missing braces around initializer [-Wmissing-braces] 0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2075, 0x2077, ^ ckcuni.c:5936:5: warning: (near initialization for 'u_wyse_g1.map') [-Wmissing-braces] ckcuni.c:5950:5: warning: missing braces around initializer [-Wmissing-braces] 0x250C, 0xFFFD, 0xFFFD, 0xFFFD, 0x2510, 0xFFFD, 0xFFFD, 0xFFFD, ^ ckcuni.c:5950:5: warning: (near initialization for 'u_wyse_g2.map') [-Wmissing-braces] ckcuni.c:5969:13: warning: missing braces around initializer [-Wmissing-braces] 0x2570, 0x256D, 0x256E, 0x256F, 0x2514, 0x250C, 0x2510, ^ ckcuni.c:5969:13: warning: (near initialization for 'u_wyse_g3.map') [-Wmissing-braces] ckcuni.c:5984:5: warning: missing braces around initializer [-Wmissing-braces] 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, /* 128 */ ^ ckcuni.c:5984:5: warning: (near initialization for 'u_qnxgrph.map') [-Wmissing-braces] ckcuni.c:6004:13: warning: missing braces around initializer [-Wmissing-braces] 0x2590, 0x258c, 0x2584, 0x2580, 0x2590, 0x258c, 0x2584, /* a0-7 */ ^ ckcuni.c:6004:13: warning: (near initialization for 'u_snibrack.map') [-Wmissing-braces] ckcuni.c:6020:13: warning: missing braces around initializer [-Wmissing-braces] 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, /* a0-7 */ ^ ckcuni.c:6020:13: warning: (near initialization for 'u_sniblanks.map') [-Wmissing-braces] ckcuni.c:6036:13: warning: missing braces around initializer [-Wmissing-braces] 0x0020, 0x2581, 0x2582, 0x2583, 0x2584, 0x2585, 0x2587, /* a1-a7 */ ^ ckcuni.c:6036:13: warning: (near initialization for 'u_snifacet.map') [-Wmissing-braces] ckcuni.c:6052:13: warning: missing braces around initializer [-Wmissing-braces] 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x25cf, ^ ckcuni.c:6052:13: warning: (near initialization for 'u_sniibm.map') [-Wmissing-braces] ckcuni.c:6068:13: warning: missing braces around initializer [-Wmissing-braces] 0x00e0, 0x00e1, 0x00e2, 0x00e4, 0x00e5, 0x0105, 0x00e3, ^ ckcuni.c:6068:13: warning: (near initialization for 'u_snieuro.map') [-Wmissing-braces] ckcuni.c:6084:5: warning: missing braces around initializer [-Wmissing-braces] 0x00a0, 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022, ^ ckcuni.c:6084:5: warning: (near initialization for 'u_smiley.map') [-Wmissing-braces] ckcuni.c:6092:5: warning: missing braces around initializer [-Wmissing-braces] 0x2400, 0x2401, 0x2402, 0x2403, 0x2404, 0x2405, 0x2406, 0x2407, ^ ckcuni.c:6092:5: warning: (near initialization for 'u_c0pics.map') [-Wmissing-braces] ckcuni.c:6121:5: warning: missing braces around initializer [-Wmissing-braces] 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, ^ ckcuni.c:6121:5: warning: (near initialization for 'u_c1pics.map') [-Wmissing-braces] gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcftp.c ckcftp.c: In function 'doftparg': ckcftp.c:2126:12: warning: unused variable 'z' [-Wunused-variable] int x, z; ^ ckcftp.c:2126:9: warning: unused variable 'x' [-Wunused-variable] int x, z; ^ ckcftp.c: In function 'doftpusr': ckcftp.c:3157:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^ ckcftp.c: In function 'putfile': ckcftp.c:4471:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if (rc == SKP_SIM) ^ ckcftp.c:4469:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] else if (rc == SKP_XUP) ^ ckcftp.c:4467:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (rc == SKP_XNX) ^ ckcftp.c: In function 'cmdlinget': ckcftp.c:6159:9: warning: unused variable 'i' [-Wunused-variable] int i, x, rc = 0, done = 0, good = 0, status = 0, append = 0; ^ ckcftp.c: In function 'doftpget': ckcftp.c:7310:20: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckcftp.c:6549:12: warning: unused variable 'pat' [-Wunused-variable] char * pat = ""; ^ ckcftp.c:6544:9: warning: unused variable 'matchdot' [-Wunused-variable] int matchdot = 0; ^ ckcftp.c: In function 'doxftp': ckcftp.c:8168:13: warning: unused variable 'n' [-Wunused-variable] int cx, n; ^ ckcftp.c: In function 'ftpcmd': ckcftp.c:9757:31: warning: variable 'len' set but not used [-Wunused-but-set-variable] int r = 0, x = 0, fc = 0, len = 0, cmdlen = 0, q = -1; ^ ckcftp.c: In function 'xlatec': ckcftp.c:10690:13: warning: unused variable 'c1' [-Wunused-variable] int c0, c1; ^ ckcftp.c: In function 'getreply': ckcftp.c:11178:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (ftpcode && n == '6') ^ ckcftp.c:10891:9: warning: variable 'safe' set but not used [-Wunused-but-set-variable] int safe = 0; ^ ckcftp.c: In function 'doftpsend2': ckcftp.c:11730:18: warning: variable 'notafile' set but not used [-Wunused-but-set-variable] int n, t, x, notafile, unique = 0; ^ ckcftp.c:11730:12: warning: unused variable 't' [-Wunused-variable] int n, t, x, notafile, unique = 0; ^ ckcftp.c: In function 'doftprecv2': ckcftp.c:12664:24: warning: variable 'p' set but not used [-Wunused-but-set-variable] char * p; ^ ckcftp.c:12680:17: warning: unused variable 't' [-Wunused-variable] int t; ^ ckcftp.c:12458:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckcftp.c:12457:23: warning: variable 'stop' set but not used [-Wunused-but-set-variable] ULONG start = 0L, stop; ^ ckcftp.c:12457:11: warning: variable 'start' set but not used [-Wunused-but-set-variable] ULONG start = 0L, stop; ^ ckcftp.c: In function 'initconn': ckcftp.c:13077:17: warning: unused variable 's' [-Wunused-variable] int s; ^ ckcftp.c:13278:35: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(data, (struct sockaddr *)&data_addr, &len) < 0) { ^ In file included from ckcnet.h:818:0, from ckcftp.c:208: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ ckcftp.c: In function 'dataconn': ckcftp.c:13471:30: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] s = accept(data, (struct sockaddr *) &hisdataaddr, &fromlen); ^ In file included from ckcnet.h:818:0, from ckcftp.c:208: /usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^ ckcftp.c:13449:9: warning: unused variable 'tos' [-Wunused-variable] int tos; ^ ckcftp.c: In function 'ftp_hookup': ckcftp.c:14781:32: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(s, (struct sockaddr *)&myctladdr, &len) < 0) { ^ In file included from ckcnet.h:818:0, from ckcftp.c:208: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ ckcftp.c: In function 'ftp_login': ckcftp.c:15083:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) { ^ ckcftp.c:15046:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^ ckcftp.c: In function 'remote_files': ckcftp.c:15634:7: warning: label 'notemp' defined but not used [-Wunused-label] notemp: ^ ckcftp.c:15426:9: warning: unused variable 'i' [-Wunused-variable] int i, x, forced = 0; ^ ckcftp.c: At top level: ckcftp.c:979:12: warning: 'local' defined but not used [-Wunused-variable] static int local = 1; /* Shadows Kermit global 'local' */ ^ ckcftp.c:1023:16: warning: 'ptcancel' defined but not used [-Wunused-variable] static jmp_buf ptcancel; ^ ckcftp.c:1024:16: warning: 'jcancel' defined but not used [-Wunused-variable] static jmp_buf jcancel; ^ ckcftp.c:1025:12: warning: 'ptabflg' defined but not used [-Wunused-variable] static int ptabflg = 0; ^ ckcftp.c:14538:1: warning: 'fts_cpl' defined but not used [-Wunused-function] fts_cpl(x) int x; { ^ ckcftp.c:14498:1: warning: 'fts_dpl' defined but not used [-Wunused-function] fts_dpl(x) int x; { ^ ckcftp.c:2024:1: warning: 'xprintc' defined but not used [-Wunused-function] xprintc(char c) ^ ckcftp.c:2034:1: warning: 'bytswap' defined but not used [-Wunused-function] bytswap(c0,c1) int * c0, * c1; { ^ ckcftp.c:8615:1: warning: 'shopl' defined but not used [-Wunused-function] shopl(x) int x; { ^ ckcftp.c:9713:17: warning: 'ptflag' defined but not used [-Wunused-variable] static int ptflag = 0; ^ gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckuath.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ck_crp.c gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ck_ssl.c gcc -o wart ckwart.o -lncurses -lutil -lresolv -lcrypt -llockdev -lm ./wart ckcpro.w ckcpro.c 16 states, 74 actions gcc -O -DLINUX -pipe -funsigned-char -DFNFLOAT -DCK_POSIX_SIG -DCK_NEWTERM -DTCPSOCKET -DLINUXFSSTND -DNOCOTFMC -DPOSIX -DUSE_STRERROR -DCK_NCURSES -I/usr/include/ncurses -DHAVE_PTMX -DHAVE_LOCKDEV -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CRYPT_H -O0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)=' -DKTARGET=\"linux\" -c ckcpro.c ckcpro.c: In function 'wart': ckcpro.c:1522:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (server && !ENABLED(en_cwd) || /* if DISABLE CD */ ^ ckcpro.c:1504:16: warning: unused variable 'rsn' [-Wunused-variable] extern int rsn; ^ ckcpro.c: In function 'rcv_firstdata': ckcpro.c:2344:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmp = (char *)malloc(n)) { ^ ckcpro.c:2358:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmp = (char *)malloc(n)) { ^ ckcpro.c: In function 'rcv_shortreply': ckcpro.c:2462:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (*rdatap) /* add a line terminator */ ^ ckcpro.c: In function 'srv_login': ckcpro.c:2726:42: warning: variable 'f3' set but not used [-Wunused-but-set-variable] char f1[LOGINLEN+1], f2[LOGINLEN+1], f3[LOGINLEN+1]; ^ ckcpro.c: In function 'rcv_s_pkt': ckcpro.c:2928:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ^ ckcpro.c: In function 'proto': ckcpro.c:3007:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcpro.c: In function 'xxproto': ckcpro.c:3424:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ^ ckcpro.c: In function 'sgetinit': ckcpro.c:3629:9: warning: unused variable 'i' [-Wunused-variable] int i, n, done = 0; ^ gcc -o wermit \ ckcmai.o ckclib.o ckutio.o ckufio.o \ ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \ ckcpro.o ckucmd.o ckuus2.o ckuus3.o \ ckuus4.o ckuus5.o ckuus6.o ckuus7.o \ ckuusx.o ckuusy.o ckuusr.o ckucns.o \ ckudia.o ckuscr.o ckcnet.o ckusig.o \ ckctel.o ckcuni.o ckupty.o ckcftp.o \ ckuath.o ck_crp.o ck_ssl.o -lncurses -lutil -lresolv -lcrypt -llockdev -lm make[2]: Leaving directory `/builddir/build/BUILD/ckermit-9.0.302' make[1]: Leaving directory `/builddir/build/BUILD/ckermit-9.0.302' + for f in ckc302.txt + iconv -fiso88591 -tutf8 ckc302.txt + touch -r ckc302.txt ckc302.txt.new + mv ckc302.txt.new ckc302.txt + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0T27Tn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm ++ dirname /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm + cd ckermit-9.0.302 + rm -rf /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm + install -d /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/bin /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/man/man1 /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/etc/kermit + perl -pi -e 's|/usr/local/bin/kermit|/usr/bin/kermit|g' ckermit.ini + install -m 755 wermit /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/bin/kermit + install -m 644 ckuker.nr /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/man/man1/kermit.1 + install -m 644 /builddir/build/SOURCES/ckermit.ini /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/etc/kermit/ + install -m 644 /builddir/build/SOURCES/cku-ckermit.local.ini /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/etc/kermit/ckermit.local.ini + install -m 644 /builddir/build/SOURCES/cku-ckermit.modem.generic.ini /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/etc/kermit/ckermit.modem.ini + install -m 644 /builddir/build/SOURCES/cku-ckermit.locale.ini /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/etc/kermit/ckermit.locale.ini + install -m 644 /builddir/build/SOURCES/cku-ckermit.phone /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/etc/kermit/ckermit.phone + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ckermit-9.0.302 extracting debug info from /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/bin/kermit dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 17827 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ckermit-9.0.302-7.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VClL7Y + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + DOCDIR=/builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/doc/ckermit-9.0.302 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/doc/ckermit-9.0.302 + cp -pr COPYING.TXT /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/doc/ckermit-9.0.302 + cp -pr ckc302.txt /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/doc/ckermit-9.0.302 + cp -pr README.fedora /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm/usr/share/doc/ckermit-9.0.302 + exit 0 Provides: ckermit = 9.0.302-7.el7 ckermit(armv7hl-32) = 9.0.302-7.el7 config(ckermit) = 9.0.302-7.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libcrypt.so.1 libcrypt.so.1(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) liblockdev.so.1 libm.so.6 libm.so.6(GLIBC_2.4) libncurses.so.5 libresolv.so.2 libresolv.so.2(GLIBC_2.4) libtinfo.so.5 libutil.so.1 libutil.so.1(GLIBC_2.4) rtld(GNU_HASH) Processing files: ckermit-debuginfo-9.0.302-7.el7.armv7hl Provides: ckermit-debuginfo = 9.0.302-7.el7 ckermit-debuginfo(armv7hl-32) = 9.0.302-7.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm Wrote: /builddir/build/RPMS/ckermit-9.0.302-7.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ckermit-debuginfo-9.0.302-7.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LGANmI + umask 022 + cd /builddir/build/BUILD + cd ckermit-9.0.302 + rm -rf /builddir/build/BUILDROOT/ckermit-9.0.302-7.el7.arm + exit 0 Child return code was: 0 LEAVE do -->