<86>Jan 25 03:49:05 userdel[48442]: delete user 'rooter' <86>Jan 25 03:49:05 groupadd[48475]: group added to /etc/group: name=rooter, GID=549 <86>Jan 25 03:49:05 groupadd[48475]: group added to /etc/gshadow: name=rooter <86>Jan 25 03:49:05 groupadd[48475]: new group: name=rooter, GID=549 <86>Jan 25 03:49:05 useradd[48530]: new user: name=rooter, UID=549, GID=549, home=/root, shell=/bin/bash <86>Jan 25 03:49:05 userdel[48603]: delete user 'builder' <86>Jan 25 03:49:05 userdel[48603]: removed group 'builder' owned by 'builder' <86>Jan 25 03:49:05 userdel[48603]: removed shadow group 'builder' owned by 'builder' <86>Jan 25 03:49:05 groupadd[48646]: group added to /etc/group: name=builder, GID=550 <86>Jan 25 03:49:05 groupadd[48646]: group added to /etc/gshadow: name=builder <86>Jan 25 03:49:05 groupadd[48646]: new group: name=builder, GID=550 <86>Jan 25 03:49:05 useradd[48681]: new user: name=builder, UID=550, GID=550, home=/usr/src, shell=/bin/bash warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root warning: user evg does not exist - using root warning: group evg does not exist - using root <13>Jan 25 03:49:11 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Jan 25 03:49:11 rpmi: libtasn1-4.13-alt2 1521133848 installed <13>Jan 25 03:49:11 rpmi: libp11-kit-0.23.9-alt5 1525798241 installed <13>Jan 25 03:49:11 rpmi: alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 25 03:49:11 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Jan 25 03:49:11 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jan 25 03:49:11 rpmi: p11-kit-trust-0.23.9-alt5 1525798241 installed <13>Jan 25 03:49:11 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 25 03:49:11 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 25 03:49:11 rpmi: rpm-macros-pam0-1.3.1.0.5.955b-alt2 1530819916 installed <13>Jan 25 03:49:11 rpmi: libpam0-devel-1.3.1.0.5.955b-alt2 1530819916 installed <13>Jan 25 03:49:11 rpmi: libssl-devel-1.1.0j-alt1 sisyphus.216647.100 1542743840 installed <13>Jan 25 03:49:11 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831969 installed <13>Jan 25 03:49:11 rpmi: zlib-devel-1.2.11-alt1 sisyphus.217171.100 1543710738 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/ckermit-9.0.304-alt1.nosrc.rpm Installing ckermit-9.0.304-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.84947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf x + /bin/mkdir -p x + cd x + echo 'Source #0 (x.tar.gz):' Source #0 (x.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/x.tar.gz + /bin/tar -xf - + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (cku302-fmt.diff):' Patch #0 (cku302-fmt.diff): + /usr/bin/patch -p0 patching file ckuus4.c Hunk #1 succeeded at 6318 (offset 24 lines). patching file ckuus5.c Hunk #1 succeeded at 8051 (offset 198 lines). patching file ckuus7.c Hunk #1 succeeded at 12932 (offset 96 lines). + echo 'Patch #1 (cku211-prototypes.diff):' Patch #1 (cku211-prototypes.diff): + /usr/bin/patch -p0 patching file ckcdeb.h Hunk #1 succeeded at 1386 (offset 1 line). Hunk #2 succeeded at 1397 (offset 1 line). patching file ckcfns.c Hunk #1 succeeded at 89 (offset -4 lines). patching file ckcnet.c Hunk #1 succeeded at 192 (offset 19 lines). patching file ckufio.c Hunk #1 succeeded at 527 with fuzz 2 (offset 26 lines). patching file ckuus4.c Hunk #1 succeeded at 39 (offset 5 lines). patching file ckuus5.c patching file ckuus6.c Hunk #1 succeeded at 41 (offset 10 lines). patching file ckuus7.c patching file ckuusr.c patching file ckuusx.c Hunk #1 succeeded at 68 with fuzz 1 (offset 1 line). + echo 'Patch #3 (cku302-return.diff):' Patch #3 (cku302-return.diff): + /usr/bin/patch -p0 patching file ckuath.c + echo 'Patch #6 (cku211-uninitialized.diff):' Patch #6 (cku211-uninitialized.diff): + /usr/bin/patch -p0 patching file ckuus6.c Hunk #1 succeeded at 2314 (offset 258 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.84947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd x + make linux+openssl+shadow 'KFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2' SSLLIB=-L/usr/lib64 SSLINC=-I/usr/include/openssl make: Entering directory '/usr/src/RPM/BUILD/x' Making C-Kermit "9.0.304" for Linux+OpenSSL SSLLIB=-L/usr/lib64 /bin/sh: openssl: command not found NO DES make[1]: Entering directory '/usr/src/RPM/BUILD/x' Making C-Kermit for Linux... make[2]: Entering directory '/usr/src/RPM/BUILD/x' Making C-Kermit "9.0.304" 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2" "LNKFLAGS = " \ "LIBS = -L/usr/lib64 -lssl -lcrypto -lpam -ldl -lz -lutil -lncurses -lresolv -lcrypt -lm" make[3]: Entering directory '/usr/src/RPM/BUILD/x' 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckclib.c ckclib.c: In function 'ckmatch': ckclib.c:1421:30: warning: variable 'xstar' set but not used [-Wunused-but-set-variable] int plen, dot, globbing, xstar = 0; ^~~~~ ckclib.c:1420:12: warning: variable 'patstart' set but not used [-Wunused-but-set-variable] char * patstart; /* Start of pattern */ ^~~~~~~~ ckclib.c: In function 'ckround': ckclib.c:2101:26: warning: unused variable 'digits' [-Wunused-variable] int i, p, len, x, n, digits; ^~~~~~ ckclib.c:2101:20: warning: unused variable 'x' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c:2101:9: warning: unused variable 'i' [-Wunused-variable] int i, p, len, x, n, digits; ^ ckclib.c: In function 'cksplit': ckclib.c:3189:9: warning: value computed is not used [-Wunused-value] *s2++; ^~~~~ ckclib.c: In function 'ckmatch': ckclib.c:1421:15: warning: 'dot' may be used uninitialized in this function [-Wmaybe-uninitialized] int plen, dot, globbing, xstar = 0; ^~~ ckclib.c: In function 'hhmmss': ckclib.c:2624:20: warning: '%02ld' directive writing between 2 and 17 bytes into a region of size 10 [-Wformat-overflow=] sprintf(buf,"%02ld:%02ld:%02ld",h,m,s); ^~~~~ ckclib.c:2624:19: note: directive argument in the range [-2562047788015215, 2562047788015215] sprintf(buf,"%02ld:%02ld:%02ld",h,m,s); ^~~~~~~~~~~~~~~~~~~ ckclib.c:2624:19: note: directive argument in the range [0, 59] ckclib.c:2624:19: note: directive argument in the range [0, 59] In file included from /usr/include/stdio.h:862, from ckcdeb.h:668, from ckclib.c:72: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 9 and 24 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ckclib.c:72: ckclib.c: In function 'cksplit': ckcdeb.h:5151:16: warning: 'ss' may be used uninitialized in this function [-Wmaybe-uninitialized] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^~~~~~~ ckclib.c:3003:9: note: 'ss' was declared here char * ss; ^~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckucmd.c 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:3798:22: warning: unused variable 'd3' [-Wunused-variable] long d1 = 0, d2, d3; ^~ ckucmd.c:3796:34: warning: unused variable 'zss' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^~~ ckucmd.c:3796:29: warning: unused variable 'zmm' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^~~ ckucmd.c:3796:24: warning: unused variable 'zhh' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^~~ ckucmd.c:3796:19: warning: unused variable 'zdd' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^~~ ckucmd.c:3796:14: warning: unused variable 'zmo' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^~~ ckucmd.c:3796:9: warning: unused variable 'zyy' [-Wunused-variable] int zyy, zmo, zdd, zhh, zmm, zss; ^~~ ckucmd.c: In function 'cmcvtdate': ckucmd.c:4323:15: warning: unused variable 'minus' [-Wunused-variable] int i, k, n, minus = 0; ^~~~~ ckucmd.c:4323:12: warning: unused variable 'n' [-Wunused-variable] int i, k, n, minus = 0; ^ ckucmd.c:4102:23: warning: unused variable 'tb' [-Wunused-variable] char timbuf[16], *tb, cc; ^~ ckucmd.c:4102:10: warning: unused variable 'timbuf' [-Wunused-variable] char timbuf[16], *tb, cc; ^~~~~~ ckucmd.c:4091:41: warning: unused variable 'sec' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^~~ ckucmd.c:4091:27: warning: unused variable 'min' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^~~ ckucmd.c:4091:12: warning: unused variable 'hour' [-Wunused-variable] char * hour = "00", * min = "00", * sec = "00"; ^~~~ ckucmd.c:4073: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:5457:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && ibuf[k] == CR || ibuf[k] == LF) ckucmd.c:5459:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && ibuf[k] == SP || ibuf[k] == HT) ckucmd.c: In function 'cmdate': ckucmd.c:5634:11: warning: variable 'o' set but not used [-Wunused-but-set-variable] char *o, *s, *zq, *dp; ^ ckucmd.c: In function 'cmcvtdate': ckucmd.c:4579:18: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(tmpbuf,"%02d",x); ^~~~ ckucmd.c:4579:17: note: directive argument in the range [0, 2147483647] sprintf(tmpbuf,"%02d",x); ^~~~~~ In file included from /usr/include/stdio.h:862, from ckcdeb.h:668, from ckucmd.c:41: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckucmd.c:4579:18: warning: '%02d' directive writing between 2 and 10 bytes into a region of size 8 [-Wformat-overflow=] sprintf(tmpbuf,"%02d",x); ^~~~ ckucmd.c:4579:17: note: directive argument in the range [0, 2147483647] sprintf(tmpbuf,"%02d",x); ^~~~~~ In file included from /usr/include/stdio.h:862, from ckcdeb.h:668, from ckucmd.c:41: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 3 and 11 bytes into a destination of size 8 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuusr.c ckuusr.c: In function 'doxsend': ckuusr.c:3973:12: warning: unused variable 'm' [-Wunused-variable] char * m; /* For making help messages */ ^ ckuusr.c: In function 'doxconn': ckuusr.c:5385:19: warning: unused variable 'macp' [-Wunused-variable] extern char * macp[]; ^~~~ ckuusr.c:5384:19: warning: unused variable 'tfile' [-Wunused-variable] extern FILE * tfile[]; ^~~~~ ckuusr.c: In function 'doadd': ckuusr.c:5610:15: warning: unused variable 'k' [-Wunused-variable] int i, j, k, n = 0, x = 0, last; ^ ckuusr.c: In function 'copyarray': ckuusr.c:6242:10: warning: variable 'c1' set but not used [-Wunused-but-set-variable] char c1, c2, * a1, * a2; ^~ In file included from ckcnet.h:1245, from ckuusr.c:97: ckuusr.c: In function 'dotelopt': 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:6843:42: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,256,"TELNET SENT ",TELCMD(x),NULL,NULL); ^~~~~~ ckuusr.c: In function 'redossh': ckuusr.c:7855:12: warning: variable 'netsave' set but not used [-Wunused-but-set-variable] int x, netsave; ^~~~~~~ ckuusr.c: In function 'hmsgaa': ckuusr.c:7918:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ ^ ckuusr.c: In function 'isinternalmacro': ckuusr.c:7954:20: warning: unused variable 'j' [-Wunused-variable] int i, j, n, len = 0; ^ ckuusr.c:7932:9: warning: unused variable 'i' [-Wunused-variable] int i, internal = 0; ^ ckuusr.c: In function 'newerrmsg': ckuusr.c:8077:3: warning: label 'xnewerrmsg' defined but not used [-Wunused-label] xnewerrmsg: ^~~~~~~~~~ ckuusr.c:7997:12: warning: unused variable 'buf' [-Wunused-variable] char * buf = errmsgbuf; ^~~ ckuusr.c: In function 'docmd': ckuusr.c:9350:16: warning: unused variable 'k_info_dir' [-Wunused-variable] extern char * k_info_dir; ^~~~~~~~~~ ckuusr.c:9427:34: warning: unused variable 'isinbuflen' [-Wunused-variable] extern int itsapattern, isjoin, isinbuflen; ^~~~~~~~~~ ckuusr.c:12093:6: warning: unused variable 'i' [-Wunused-variable] int i, n, xpipe = 0, xbinary = 0, xxlate = 1, xxnowait = 0, getval; ^ ckuusr.c:12269:6: warning: unused variable 'height' [-Wunused-variable] int height = 0, count = 0; ^~~~~~ ckuusr.c:12932:14: warning: unused variable 'cmdatebuf' [-Wunused-variable] extern char cmdatebuf[], * cmdatemsg; ^~~~~~~~~ ckuusr.c:13510:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13513:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13518:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13520:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuusr.c:13449:20: warning: unused variable 'p' [-Wunused-variable] char * s, *p, vbuf[32]; ^ ckuusr.c:13559:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if (s) if (s == "") s = NULL; ^~ ckuusr.c:13567:15: warning: comparison with string literal results in unspecified behavior [-Waddress] if (s) if (s == "") s = NULL; ^~ ckuusr.c:13555:16: warning: unused variable 't' [-Wunused-variable] char * t = tmpbuf; /* Create or alter environment var */ ^ In file included from ckuusr.c:94: ckuusr.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus2.c ckuus2.c: In function 'hmsga': ckuus2.c:7457:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n > (cmd_rows - 3) && *s[i+1]) /* After a screenful, give them */ ^ In file included from ckuus2.c:29: ckuus2.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuus2.c:167:14: warning: 'tophlpi' defined but not used [-Wunused-variable] static char *tophlpi[] = { /* Top-level help for IKSD */ ^~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus3.c ckuus3.c:321:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab pfxtab[] = { ^ "all", PX_ALL, 0, { } "cautious", PX_CAU, 0, { } "minimal", PX_WIL, 0, { } "none", PX_NON, 0 { }; } ckuus3.c:364:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ctltab[] = { ^ "prefixed", 1, 0, /* Note, the values are important. */ { } "unprefixed", 0, 0 { }; } ckuus3.c:370:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab oldnew[] = { ^ "new", 0, 0, { } "old", 1, 0 { }; } ckuus3.c:384:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab functab[] = { ^ "diagnostics", FUNC_DI, 0, { } "error", FUNC_ER, 0 { }; } ckuus3.c:390:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab outptab[] = { /* SET OUTPUT parameters */ ^ "pacing", 0, 0, /* only one so far... */ { } "special-escapes", 1, 0 { }; } ckuus3.c:397:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab chktab[] = { /* Block check types */ ^ "1", 1, 0, /* 1 = 6-bit checksum */ { } "2", 2, 0, /* 2 = 12-bit checksum */ { } "3", 3, 0, /* 3 = 16-bit CRC */ { } "4", 4, 0, /* Same as B */ { } "5", 5, 0, /* Same as F */ { } "blank-free-2", 4, CM_INV, /* B = 12-bit checksum, no blanks */ { } "force-3", 5, CM_INV /* F = Force CRC on ALL packets */ { }; } ckuus3.c:408:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab rpttab[] = { /* SET REPEAT */ ^ "counts", 0, 0, /* On or Off */ { } ckuus3.c:413:5: "prefix", 2, 0 /* Repeat-prefix character value */ { }; } ckuus3.c:419:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab crrtab[] = { ^ "automatic", CAR_AUT, 0, /* 2 */ { } "off", CAR_OFF, 0, /* 0 */ { } "on", CAR_ON, 0 /* 1 */ { }; } ckuus3.c:427:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ooatab[] = { /* On/Off/Auto table */ ^ "automatic", SET_AUTO, 0, /* 2 */ { } "off", SET_OFF, 0, /* 0 */ { } "on", SET_ON, 0 /* 1 */ { }; } ckuus3.c:433:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ooetab[] = { /* On/Off/Stderr table 2010/03/12 */ ^ "off", SET_OFF, 0, /* for SET DEBUG MESSAGES */ { } "on", SET_ON, 0, /* 2013-03-13 and SET EXIT MESSAGE */ { } "s", 2, CM_ABR|CM_INV, { } "st", 2, CM_ABR|CM_INV, { } "std", 2, CM_ABR|CM_INV, { } "stderr", 2, 0, { } "stdout", SET_ON, CM_INV { }; } ckuus3.c:444:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ooktab[] = { /* On/Off/Ask table */ ^ "ask", 2, 0, /* 2 */ { } "off", SET_OFF, 0, /* 0 */ { } "on", SET_ON, 0 /* 1 */ { }; } ckuus3.c:450:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab qvtab[] = { /* Quiet/Verbose table */ ^ "quiet", 1, 0, { } "verbose", 0, 0 { }; } ckuus3.c:465:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab dbgtab[] = { ^ "linelength", DEB_LEN, CM_INV, { } "m", DEB_MSG, CM_ABR|CM_INV, { } "message", DEB_MSG, 0, { } "msg", DEB_MSG, CM_INV, { } "off", DEB_OFF, 0, { } "on", DEB_ON, 0, { } "session", DEB_SES, 0, { } "timestamps", DEB_TIM, 0 { }; } ckuus3.c:572:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnspdtab[] = { /* RFC 2217 TELNET COMPORT Option */ ^ "115200", 11520, 0, /* (add any other defined speeds) */ { } "1200", 120, 0, { } "14400", 1440, 0, { } "19200", 1920, 0, { } "230400", 23040, 0, { } "2400", 240, 0, { } "28800", 2880, 0, { } "300", 30, 0, { } "38400", 3840, 0, { } "460800", 46080, 0, { } "4800", 480, 0, { } "57600", 5760, 0, { } "600", 60, 0, { } "9600", 960, 0 { }; } ckuus3.c:600:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab dpxtab[] = { ^ "full", 0, 0, { } "half", 1, 0 { }; } ckuus3.c:608:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab cxtypesw[] = { ^ ckuus3.c:612:5: "/direct-serial", CXT_DIRECT, 0, { } ckuus3.c:620:5: "/modem", CXT_MODEM, 0, { } ckuus3.c:627:5: "/remote", CXT_REMOTE, 0, { } ckuus3.c:629:5: "/tcpip", CXT_TCPIP, 0, { } ckuus3.c:634:5: "", 0, 0 { }; } ckuus3.c:639:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnflotab[] = { /* SET FLOW-CONTROL keyword table */ ^ "dtr/cd", FLO_DTRC, 0, /* for RFC 2217 Telnet COMPORT */ { } "dtr/cts", FLO_DTRT, 0, { } "keep", FLO_KEEP, 0, { } "none", FLO_NONE, 0, { } "rts/cts", FLO_RTSC, 0, { } "xon/xoff", FLO_XONX, 0 { }; } ckuus3.c:650:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab flotab[] = { /* SET FLOW-CONTROL keyword table */ ^ "automatic", FLO_AUTO, CM_INV, /* Not needed any more */ { } ckuus3.c:658:5: "keep", FLO_KEEP, 0, { } "none", FLO_NONE, 0, { } ckuus3.c:661:5: "rts/cts", FLO_RTSC, 0, { } ckuus3.c:664:5: "xon/xoff", FLO_XONX, 0, { } ckuus3.c:666:5: "", 0, 0 { }; } ckuus3.c:672:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab hshtab[] = { ^ "bell", 007, 0, { } "code", 998, 0, { } "cr", 015, 0, { } "esc", 033, 0, { } "lf", 012, 0, { } "none", 999, 0, /* (can't use negative numbers) */ { } "xoff", 023, 0, { } "xon", 021, 0 { }; } ckuus3.c:685:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sfttab[] = { /* File types for SET SESSION-LOG */ ^ "ascii", XYFT_T, CM_INV, { } "binary", XYFT_B, 0, { } "debug", XYFT_D, 0, { } "null-padded-lines", 998, 0, { } "text", XYFT_T, 0, { } "timestamped-text", 999, 0 { }; } ckuus3.c:762:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab drstrtab[] = { ^ "international", 5, 0, { } "local", 2, 0, { } "long-distance", 4, 0, { } "none", 6, 0 { }; } ckuus3.c:769:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab dcnvtab[] = { ^ "ask", 2, 0, { } "off", 0, 0, { } "on", 1, 0 { }; } ckuus3.c:775:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab setmdm[] = { ^ "capabilities", XYDCAP, 0, { } "carrier-watch", XYDMCD, 0, { } "command", XYDSTR, 0, { } "compression", XYDDC, CM_INV, { } "data-compression", XYDDC, 0, { } "dial-command", XYDDIA, 0, { } "error-correction", XYDEC, 0, { } "escape-character", XYDESC, 0, { } "flow-control", XYDFC, 0, { } "hangup-method", XYDMHU, 0, { } ckuus3.c:787:5: "kermit-spoof", XYDKSP, 0, { } ckuus3.c:789:5: "maximum-speed", XYDMAX, 0, { } "name", XYDNAM, 0, { } "speaker", XYDSPK, 0, { } "speed-matching", XYDSPD, 0, { } "type", XYDTYP, 0, { } "volume", XYDVOL, 0 { }; } ckuus3.c:798:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab voltab[] = { ^ "high", 3, 0, { } "low", 1, 0, { } "medium", 2, 0 { }; } ckuus3.c:804:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab mdmcap[] = { ^ "at-commands", CKD_AT, 0, { } "compression", CKD_DC, 0, { } "dc", CKD_DC, CM_INV, { } "ec", CKD_EC, CM_INV, { } "error-correction", CKD_EC, 0, { } "hardware-flow", CKD_HW, 0, { } "hwfc", CKD_HW, CM_INV, { } "itu", CKD_V25, CM_INV, { } "kermit-spoof", CKD_KS, 0, { } "ks", CKD_KS, CM_INV, { } "sb", CKD_SB, CM_INV, { } "software-flow", CKD_SW, 0, { } "speed-buffering", CKD_SB, 0, { } "swfc", CKD_SW, CM_INV, { } "tb", CKD_TB, CM_INV, { } "telebit", CKD_TB, 0, { } "v25bis-commands", CKD_V25, 0 { }; } ckuus3.c:834:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab dialtab[] = { /* SET DIAL table */ ^ "area-code", XYDLAC, 0, /* Also still includes items */ { } "compression", XYDDC, CM_INV, /* that were moved to SET MODEM, */ { } "confirmation", XYDCNF, 0, /* but they are CM_INVisible... */ { } "connect", XYDCON, 0, { } "convert-directory",XYDCVT, 0, { } "country-code", XYDLCC, 0, { } "dial-command", XYDDIA, CM_INV, { } "directory", XYDDIR, 0, { } "display", XYDDPY, 0, { } "escape-character", XYDESC, CM_INV, { } "error-correction", XYDEC, CM_INV, { } "flow-control", XYDFC, CM_INV, { } "force-long-distance", XYDFLD, 0, { } "hangup", XYDHUP, 0, { } "ignore-dialtone", XYDIDT, 0, { } "interval", XYDINT, 0, { } "in", XYDINI, CM_INV|CM_ABR, { } "init-string", XYDINI, CM_INV, { } "intl-prefix", XYDIXP, 0, { } "intl-suffix", XYDIXS, 0, { } ckuus3.c:856:5: "kermit-spoof", XYDKSP, CM_INV, { } ckuus3.c:858:5: "lc-area-codes", XYDLLAC, 0, { } "lc-prefix", XYDLCP, 0, { } "lc-suffix", XYDLCS, 0, { } "ld-prefix", XYDLDP, 0, { } "ld-suffix", XYDLDS, 0, { } "local-area-code", XYDLAC, CM_INV, { } "local-prefix", XYDLCP, CM_INV, { } "local-suffix", XYDLCS, CM_INV, { } "m", XYDMTH, CM_INV|CM_ABR, { } ckuus3.c:868:5: "macro", XYDMAC, 0, /* 195 */ { } ckuus3.c:871:5: "me", XYDMTH, CM_INV|CM_ABR, { } ckuus3.c:873:5: "method", XYDMTH, 0, { } "mnp-enable", XYDMNP, CM_INV, /* obsolete but still accepted */ { } ckuus3.c:876:5: "modem-hangup", XYDMHU, CM_INV, { } ckuus3.c:878:5: "pacing", XYDPAC, 0, { } "pbx-exchange", XYDPXX, 0, { } "pbx-inside-prefix",XYDPXI, 0, { } "pbx-outside-prefix",XYDPXO, 0, { } "prefix", XYDNPR, 0, { } "pulse-countries", XYDPUCC, 0, { } "restrict", XYDRSTR, 0, { } "retries", XYDRTM, 0, { } "sort", XYDSRT, 0, { } "speed-matching", XYDSPD, CM_INV, { } "string", XYDSTR, CM_INV, { } "suffix", XYDSFX, 0, { } "test", XYDTEST, 0, { } "timeout", XYDTMO, 0, { } "tf-area-code", XYDTFC, CM_INV, { } "tf-prefix", XYDTFP, CM_INV, { } "toll-free-area-code",XYDTFC,0, { } "toll-free-prefix", XYDTFP, 0, { } "tone-countries", XYDTOCC, 0 { }; } ckuus3.c:901:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab mdmhang[] = { ^ "dtr", 0, 0, { } "modem-command", 1, 0, { } "rs232-signal", 0, 0, { } "v24-signal", 0, CM_INV { }; } ckuus3.c:909:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab mdmcmd[] = { ^ "autoanswer", XYDS_AN, 0, /* autoanswer */ { } "compression", XYDS_DC, 0, /* data compression */ { } "dial-mode-prompt", XYDS_MP, 0, /* dial mode prompt */ { } "dial-mode-string", XYDS_MS, 0, /* dial mode string */ { } "error-correction", XYDS_EC, 0, /* error correction */ { } "hangup-command", XYDS_HU, 0, /* hangup command */ { } "hardware-flow", XYDS_HW, 0, /* hwfc */ { } "ignore-dialtone", XYDS_ID, 0, /* ignore dialtone */ { } "init-string", XYDS_IN, 0, /* init string */ { } "no-flow-control", XYDS_NF, 0, /* no flow control */ { } "predial-init", XYDS_I2, 0, /* last-minute setup commands */ { } "pulse", XYDS_DP, 0, /* pulse */ { } "software-flow", XYDS_SW, 0, /* swfc */ { } "speaker", XYDS_SP, 0, /* Speaker */ { } "tone", XYDS_DT, 0, /* tone */ { } "volume", XYDS_VO, 0 /* Volume */ { }; } ckuus3.c:929:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab dial_fc[] = { ^ "auto", FLO_AUTO, 0, { } "none", FLO_NONE, 0, { } "rts/cts", FLO_RTSC, 0, { } "xon/xoff", FLO_XONX, 0 { }; } ckuus3.c:936:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab dial_m[] = { /* DIAL METHOD */ ^ "auto", XYDM_A, 0, { } "default", XYDM_D, 0, { } "pulse", XYDM_P, 0, { } "tone", XYDM_T, 0 { }; } ckuus3.c:988:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab wildtab[] = { /* SET WILDCARD-EXPANSION */ ^ ckuus3.c:990:5: "kermit", WILD_KER, 0, /* By Kermit */ { } ckuus3.c:992:5: "off", WILD_OFF, 0, /* Disabled */ { } "on", WILD_ON, 0, /* Enabled */ { } ckuus3.c:995:5: "shell", WILD_SHE, 0, /* By Shell */ { } ckuus3.c:997:5: "", 0, 0 { }; } ckuus3.c:1001:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab wdottab[] = { /* cont'd */ ^ "/match-dot-files", 1, 0, { } "/no-match-dot-files", 0, 0 { }; } ckuus3.c:1060:32: warning: missing braces around initializer [-Wmissing-braces] static struct keytab vbtab[] = { ^ "brief", 0, 0, { } ckuus3.c:1063:5: "ftp", 2, 0, { } ckuus3.c:1069:5: "verbose", 1, 0 { }; } ckuus3.c:1075:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab syslogtab[] = { ^ "all", SYSLG_CX, 0, { } "commands", SYSLG_CM, 0, { } "connection", SYSLG_AC, 0, { } "debug", SYSLG_DB, 0, { } "dial", SYSLG_DI, 0, { } "file-access", SYSLG_FA, 0, { } "file-create", SYSLG_FC, 0, { } "login", SYSLG_LI, 0, { } "none", SYSLG_NO, 0, { } "protocol", SYSLG_PR, 0 { }; } ckuus3.c:1092:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab partbl[] = { ^ "even", 'e', 0, { } ckuus3.c:1095:5: "hardware",'H', 0, { } ckuus3.c:1097:5: "mark", 'm', 0, { } "none", 0 , 0, { } "odd", 'o', 0, { } "space", 's', 0 { }; } ckuus3.c:1105:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab hwpartbl[] = { ^ ckuus3.c:1107:5: "even", 'e', 0, { } ckuus3.c:1111:5: "odd", 'o', 0, { } ckuus3.c:1115:5: "", 0, 0 { }; } ckuus3.c:1122:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab onoff[] = { ^ "off", 0, 0, { } "on", 1, 0 { }; } ckuus3.c:1131:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab cdtab[] = { ^ "home", XYCD_H, 0, { } "message", XYCD_M, 0, { } "path", XYCD_P, 0 { }; } ckuus3.c:1138:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab cdmsg[] = { ^ "file", 2, 0, { } "off", 0, 0, { } "on", 1, 0 { }; } ckuus3.c:1146:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab xittab[] = { /* SET EXIT */ ^ "hangup", 3, 0, /* ...HANGUP */ { } "message", 4, 0, /* ...MESSAGE */ { } "on-disconnect", 2, 0, /* ...ON-DISCONNECT */ { } "status", 0, 0, /* ...STATUS */ { } "warning", 1, 0 /* ...WARNING */ { }; } ckuus3.c:1155:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab xitwtab[] = { /* SET EXIT WARNING */ ^ "always", 2, 0, /* even when not connected */ { } "off", 0, 0, /* no warning */ { } "on", 1, 0 /* when connected */ { }; } ckuus3.c:1162:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab rltab[] = { ^ "local", 1, 0, /* ECHO values */ { } "off", 0, CM_INV, { } "on", 1, CM_INV, { } "remote", 0, 0 { }; } ckuus3.c:1172:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ifdtab[] = { ^ "discard", SET_OFF, 0, { } "keep", SET_ON, 0 { }; } ckuus3.c:1177:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab ifdatab[] = { ^ "auto", SET_AUTO, 0, { } "discard", SET_OFF, 0, { } "keep", SET_ON, 0 { }; } ckuus3.c:1187:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab taktab[] = { ^ "echo", 0, 0, { } "error", 1, 0, { } "off", 2, CM_INV, /* For compatibility */ { } "on", 3, CM_INV /* with MS-DOS Kermit... */ { }; } ckuus3.c:1206:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab smactab[] = { ^ "echo", 0, 0, { } "error", 1, 0 { }; } ckuus3.c:1214:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab scrtab[] = { ^ "echo", 0, 0 { }; } ckuus3.c:1242:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab scmdtab[] = { ^ ckuus3.c:1244:5: "autodownload", SCMD_ADL, 0, { } ckuus3.c:1254:5: "bytesize", SCMD_BSZ, 0, { } "cbreak", SCMD_CBR, CM_INV, { } ckuus3.c:1261:5: "doublequoting", SCMD_DBQ, 0, { } ckuus3.c:1263:5: "error-display", SCMD_ERR, 0, { } "height", SCMD_HIG, 0, { } "interruption", SCMD_INT, 0, { } "more-prompting", SCMD_MOR, 0, { } "quoting", SCMD_QUO, 0, { } ckuus3.c:1269:5: "recall-buffer-size", SCMD_RCL, 0, { } ckuus3.c:1272:5: "retry", SCMD_RTR, 0, { } ckuus3.c:1280:5: "variable-evaluation", SCMD_VAR,0, { } "width", SCMD_WID, 0 { }; } ckuus3.c:1287:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab srvtab[] = { ^ "cd-message", XYSERC, 0, { } "display", XYSERD, 0, { } "get-path", XYSERP, 0, { } "idle-timeout", XYSERI, 0, { } "keepalive", XYSERK, 0, { } "login", XYSERL, 0, { } "timeout", XYSERT, 0 { }; } ckuus3.c:1299:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sleeptab[] = { /* SET SLEEP table */ ^ "cancellation", 0, 0 { }; } ckuus3.c:1303:32: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tstab[] = { /* SET TRANSFER/XFER table */ ^ "bell", XYX_BEL, 0, { } ckuus3.c:1306:5: "cancellation", XYX_CAN, 0, { } ckuus3.c:1309:5: "character-set", XYX_CSE, 0, { } ckuus3.c:1312:5: "crc-calculation", XYX_CRC, 0, { } ckuus3.c:1314:5: "display", XYX_DIS, 0, { } "interruption", XYX_INT, 0, { } "locking-shift", XYX_LSH, 0, { } "message", XYX_MSG, 0, { } "mode", XYX_MOD, 0, { } "msg", XYX_MSG, CM_INV, { } ckuus3.c:1321:5: "pipes", XYX_PIP, 0, { } ckuus3.c:1324:5: "protocol", XYX_PRO, 0, { } ckuus3.c:1326:5: "report", XYX_RPT, 0, { } "slow-start", XYX_SLO, 0, { } ckuus3.c:1329:5: "translation", XYX_XLA, 0, { } ckuus3.c:1333:5: "xlation", XYX_XLA, CM_INV, { } "", 0, 0 { }; } ckuus3.c:1338:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab rtstab[] = { /* REMOTE SET TRANSFER/XFER table */ ^ ckuus3.c:1340:5: "character-set", XYX_CSE, 0, { } ckuus3.c:1342:5: "mode", XYX_MOD, 0 { }; } ckuus3.c:1346:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab xfrmtab[] = { /* TRANSFER MODE table */ ^ "automatic", XMODE_A, 0, { } "manual", XMODE_M, 0 { }; } ckuus3.c:1374:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab lstab[] = { ^ "forced", 2, 0, { } "off", 0, 0, { } "on", 1, 0 { }; } ckuus3.c:1396:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab setauth[] = { ^ ckuus3.c:1411:5: "ssl", AUTH_SSL, 0, { } "tls", AUTH_TLS, 0, { } ckuus3.c:1414:5: "", 0, 0 { }; } ckuus3.c:1526:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab ssltab[] = { ^ "certs-ok", XYSSLCOK, CM_INV, { } "cipher-list", XYSSLCL, 0, { } "crl-dir", XYSSLCRLD, 0, { } "crl-file", XYSSLCRL, 0, { } "debug", XYSSLDBG, 0, { } "dh-key-file", XYSSLDKFL, CM_INV, { } "dh-param-file", XYSSLDPFL, 0, { } "dsa-cert-chain-file", XYSSLDCCF, 0, { } "dsa-cert-file", XYSSLDCFL, 0, { } "dsa-key-file", XYSSLDKFL, 0, { } "dummy", XYSSLDUM, CM_INV, { } "only", XYSSLON, CM_INV, { } "random-file", XYSSLRND, 0, { } "rsa-cert-chain-file", XYSSLRCCF, 0, { } "rsa-cert-file", XYSSLRCFL, 0, { } "rsa-key-file", XYSSLRKFL, 0, { } "verbose", XYSSLVRB, 0, { } "verify", XYSSLVRF, 0, { } "verify-dir", XYSSLVRFD, 0, { } "verify-file", XYSSLVRFF, 0 { }; } ckuus3.c:1549:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sslvertab[] = { ^ "fail-if-no-peer-cert", SSL_VERIFY_PEER | { SSL_VERIFY_FAIL_IF_NO_PEER_CERT, 0, } "no", SSL_VERIFY_NONE, 0, { } "none", SSL_VERIFY_NONE, CM_INV, { } "off", SSL_VERIFY_NONE, CM_INV, { } "on", SSL_VERIFY_PEER, CM_INV, { } "peer-cert", SSL_VERIFY_PEER, 0 { }; } ckuus3.c:1593:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnnegtab[] = { /* TELNET NEGOTIATION table */ ^ "accepted", TN_NG_AC, 0, { } "refused", TN_NG_RF, 0, { } "req", TN_NG_RQ, CM_INV|CM_ABR, { } "requ", TN_NG_RQ, CM_INV|CM_ABR, { } "reque", TN_NG_RQ, CM_INV|CM_ABR, { } "reques", TN_NG_RQ, CM_INV|CM_ABR, { } "request", TN_NG_RQ, CM_INV|CM_ABR, { } "requeste", TN_NG_RQ, CM_INV|CM_ABR, { } "requested", TN_NG_RQ, 0, { } "required", TN_NG_MU, 0 { }; } ckuus3.c:1608:33: warning: missing braces around initializer [-Wmissing-braces] static struct keytab typkwd[] = { ^ "/type", 0, CM_ARG { }; } ckuus3.c:1612:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnenctab[] = { /* TELNET ENCRYPTION table */ ^ "accepted", TN_NG_AC, CM_INV, { } "refused", TN_NG_RF, CM_INV, { } "req", TN_NG_RQ, CM_INV|CM_ABR, { } "requ", TN_NG_RQ, CM_INV|CM_ABR, { } "reque", TN_NG_RQ, CM_INV|CM_ABR, { } "reques", TN_NG_RQ, CM_INV|CM_ABR, { } "request", TN_NG_RQ, CM_INV|CM_ABR, { } "requeste", TN_NG_RQ, CM_INV|CM_ABR, { } "requested", TN_NG_RQ, CM_INV, { } "required", TN_NG_MU, CM_INV, { } "start", TN_EN_START, CM_INV, { } "stop", TN_EN_STOP, CM_INV, { } "type", TN_EN_TYP, 0 { }; } ckuus3.c:1631:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnfwdxtab[] = { /* TELNET FORWARD-X table */ ^ "no-encryption", 1, CM_INV, { } "xauthority-file", 0, 0 { }; } ckuus3.c:1638:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnbugtab[] = { /* TELNET BUG table */ ^ "auth-krb5-des", 4, 0, { } "binary-me-means-u-too", 0, 0, { } "binary-u-means-me-too", 1, 0, { } "infinite-loop-check", 2, 0, { } "sb-implies-will-do", 3, 0 { }; } ckuus3.c:1647:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnenvtab[] = { /* TELNET ENVIRONMENT table */ ^ "acct", TN_ENV_ACCT, 0, { } "display", TN_ENV_DISP, 0, { } "job", TN_ENV_JOB, 0, { } "location", TN_ENV_LOC, 0, { } "off", TN_ENV_OFF, CM_INV, { } "on", TN_ENV_ON, CM_INV, { } "printer", TN_ENV_PRNT, 0, { } "systemtype",TN_ENV_SYS, 0, { } "user", TN_ENV_USR, 0, { } "uservar", TN_ENV_UVAR, 0, { } "", 0, 0 { }; } ckuus3.c:1664:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnauthtab[] = { /* TELNET AUTHENTICATION table */ ^ "accepted", TN_NG_AC, CM_INV, { } "encrypt-flag", TN_AU_ENC, 0, { } "forwarding", TN_AU_FWD, 0, { } "how-flag", TN_AU_HOW, 0, { } "refused", TN_NG_RF, CM_INV, { } "req", TN_NG_RQ, CM_INV|CM_ABR, { } "requ", TN_NG_RQ, CM_INV|CM_ABR, { } "reque", TN_NG_RQ, CM_INV|CM_ABR, { } "reques", TN_NG_RQ, CM_INV|CM_ABR, { } "request", TN_NG_RQ, CM_INV|CM_ABR, { } "requeste", TN_NG_RQ, CM_INV|CM_ABR, { } "requested", TN_NG_RQ, CM_INV, { } "required", TN_NG_MU, CM_INV, { } "type", TN_AU_TYP, 0 { }; } ckuus3.c:1682:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab autyptab[] = { /* TELNET AUTHENTICATION TYPE table */ ^ "automatic", AUTH_AUTO, 0, { } ckuus3.c:1694:5: "none", AUTH_NONE, 0, { } ckuus3.c:1702:5: "ssl", AUTH_SSL, 0, { } ckuus3.c:1704:5: "", 0, 0 { }; } ckuus3.c:1708:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab auhowtab[] = { /* TELNET AUTHENTICATION HOW table */ ^ "any", TN_AUTH_HOW_ANY, 0, { } "mutual", TN_AUTH_HOW_MUTUAL, 0, { } "one-way", TN_AUTH_HOW_ONE_WAY, 0, { } "", 0, 0 { }; } ckuus3.c:1716:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab auenctab[] = { /* TELNET AUTHENTICATION ENCRYPT table */ ^ "any", TN_AUTH_ENC_ANY, 0, { } "none", TN_AUTH_ENC_NONE, 0, { } "telopt", TN_AUTH_ENC_TELOPT, 0, { } ckuus3.c:1721:5: "tls", TN_AUTH_ENC_TLS, 0, { } ckuus3.c:1723:5: "", 0, 0 { }; } ckuus3.c:1730:36: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tn_nlmtab[] = { /* TELNET NEWLINE-MODE table */ ^ "binary-mode", TN_NL_BIN, 0, /* Binary mode */ { } "nvt", TN_NL_NVT, 0, /* NVT mode */ { } "off", TNL_CRNUL, CM_INV, /* CR-NUL (TELNET spec) */ { } "on", TNL_CRLF, CM_INV, /* CR-LF (TELNET spec) */ { } "raw", TNL_CR, CM_INV /* CR only (out of spec) */ { }; } ckuus3.c:1739:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab tnlmtab[] = { /* TELNET NEWLINE-MODE table */ ^ "cr", TNL_CR, CM_INV, /* CR only (out of spec) */ { } "cr-lf", TNL_CRLF, CM_INV, /* CR-LF (TELNET spec) */ { } "cr-nul", TNL_CRNUL, CM_INV, /* CR-NUL (TELNET spec) */ { } "lf", TNL_LF, CM_INV, /* LF instead of CR-LF */ { } "off", TNL_CRNUL, 0, /* CR-NUL (TELNET spec) */ { } "on", TNL_CRLF, 0, /* CR-LF (TELNET spec) */ { } "raw", TNL_CR, 0 /* CR only (out of spec) */ { }; } ckuus3.c:1750:25: warning: missing braces around initializer [-Wmissing-braces] struct keytab tntab[] = { ^ ckuus3.c:1752:5: "authentication", CK_TN_AU, 0, { } ckuus3.c:1754:5: "b", CK_TN_BM, CM_INV|CM_ABR, { } "bi", CK_TN_BM, CM_INV|CM_ABR, { } "bin", CK_TN_BM, CM_INV|CM_ABR, { } "bina", CK_TN_BM, CM_INV|CM_ABR, { } "binar", CK_TN_BM, CM_INV|CM_ABR, { } "binary", CK_TN_BM, CM_INV|CM_ABR, { } "binary-", CK_TN_BM, CM_INV|CM_ABR, { } "binary-mode", CK_TN_BM, CM_INV, { } "binary-transfer-mode", CK_TN_XF, 0, { } "binary-xfer-mode", CK_TN_XF, CM_INV, { } "bug", CK_TN_BUG, 0, { } "debug", CK_TN_DB, 0, { } "delay-sb", CK_TN_DL, 0, { } "echo", CK_TN_EC, 0, { } ckuus3.c:1769:5: "encryption", CK_TN_ENC, 0, { } ckuus3.c:1772:5: "environment", CK_TN_ENV, 0, { } ckuus3.c:1775:5: "forward-x", CK_TN_FX, 0, { } ckuus3.c:1778:5: "kermit", CK_TN_IKS, CM_INV, { } ckuus3.c:1781:5: "location", CK_TN_LOC, 0, { } ckuus3.c:1784:5: "naws", CK_TN_NAWS, CM_INV, { } ckuus3.c:1786:5: "newline-mode", CK_TN_NL, 0, { } "no-encrypt-during-xfer", CK_TN_NE, CM_INV, { } "prompt-for-userid",CK_TN_PUID,0, { } "remote-echo", CK_TN_RE, 0, { } ckuus3.c:1791:5: "start-tls", CK_TN_TLS, CM_INV, { } ckuus3.c:1796:5: "sfu-compatibility", CK_TN_SFU, CM_INV, { } ckuus3.c:1798:5: "terminal-type", CK_TN_TT, 0, { } "wait-for-negotiations", CK_TN_WAIT, 0, { } ckuus3.c:1801:5: "xdisplay-location",CK_TN_XD, CM_INV, { } ckuus3.c:1803:5: "", 0, 0 { }; } ckuus3.c:1807:28: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnopttab[] = { ^ ckuus3.c:1809:5: "authentication", CK_TN_AU, 0, { } ckuus3.c:1813:5: "binary-mode", CK_TN_BM, 0, { } ckuus3.c:1815:5: "c", CK_TN_CPC, CM_INV|CM_ABR, { } "co", CK_TN_CPC, CM_INV|CM_ABR, { } "com", CK_TN_CPC, CM_INV|CM_ABR, { } "com-port-control",CK_TN_CPC, 0, { } "comport-control", CK_TN_CPC, CM_INV, { } ckuus3.c:1824:5: "echo", CK_TN_EC, 0, { } ckuus3.c:1826:5: "encryption", CK_TN_ENC, 0, { } ckuus3.c:1831:5: "forward-x", CK_TN_FX, 0, { } ckuus3.c:1835:5: "ibm-sak", CK_TN_SAK, CM_INV, { } ckuus3.c:1837:5: "kermit", CK_TN_IKS, 0, { } ckuus3.c:1841:5: "lflow", CK_TN_FLW, CM_INV, { } "logout", CK_TN_LOG, 0, { } ckuus3.c:1844:5: "naws", CK_TN_NAWS, 0, { } ckuus3.c:1849:5: "new-environment", CK_TN_ENV, 0, { } ckuus3.c:1853:5: "pragma-heartbeat",CK_TN_PHR, CM_INV, { } "pragma-logon", CK_TN_PLG, CM_INV, { } "pragma-sspi", CK_TN_PSP, CM_INV, { } "sak", CK_TN_SAK, CM_INV, { } ckuus3.c:1858:5: "send-location", CK_TN_LOC, 0, { } ckuus3.c:1862:5: "sga", CK_TN_SGA, CM_INV|CM_ABR, { } ckuus3.c:1864:5: "start-tls", CK_TN_TLS, 0, { } ckuus3.c:1868:5: "suppress-go-aheads", CK_TN_SGA, 0, { } "terminal-type", CK_TN_TT, 0, { } "ttype", CK_TN_TT, CM_INV|CM_ABR, { } ckuus3.c:1872:5: "xdisplay-location", CK_TN_XD, 0, { } ckuus3.c:1876:5: "", 0, 0 { }; } ckuus3.c:1880:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab tnoptsw[] = { ^ "/client", CK_TN_CLIENT, 0, { } "/server", CK_TN_SERVER, 0 { }; } ckuus3.c:1887:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab ftrtab[] = { /* Feature table */ ^ ckuus3.c:1889:1: "character-sets", 0, 0, { } ckuus3.c:1894:1: "cyrillic", 0, 0, { } ckuus3.c:1900:1: "cx-log", 0, 0, { } ckuus3.c:1906:1: "debug", 0, 0, { } ckuus3.c:1912:1: "dial", 0, 0, { } ckuus3.c:1918:1: "dynamic-memory", 0, 0, { } ckuus3.c:1924:1: "file-transfer", 0, 0, { } ckuus3.c:1930:1: "forward", 0, 0, { } ckuus3.c:1936:1: "ftp", 0, 0, { } ckuus3.c:1942:1: "fullscreen-display", 0, 0, { } ckuus3.c:1947:1: "greek", 0, 0, { } ckuus3.c:1952:1: "hebrew", 0, 0, { } ckuus3.c:1957:1: "help", 0, 0, { } ckuus3.c:1963:1: "iksd", 0, 0, { } ckuus3.c:1969:1: "if-command", 0, 0, { } ckuus3.c:1975:1: "job-control", 0, 0, { } ckuus3.c:1983:1: "kanji", 0, 0, { } ckuus3.c:1989:1: "kermit", 0, 0, { } ckuus3.c:1997:1: "kerberos", 1, 0, { } ckuus3.c:2001:1: "latin1", 0, 0, { } ckuus3.c:2006:1: "latin2", 0, 0, { } ckuus3.c:2012:1: "learned-scripts", 0, 0, { } ckuus3.c:2018:1: "locale", 0, 0, { } ckuus3.c:2024:1: "making-connections", 0, 0, { } ckuus3.c:2030:1: "network", 0, 0, { } ckuus3.c:2042:1: "ntlm", 0, 0, { } ckuus3.c:2046:1: "pipes", 0, 0, { } ckuus3.c:2059:1: "pty", 0, 0, { } ckuus3.c:2065:1: "push", 0, 0, { } ckuus3.c:2071:1: "redirect", 0, 0, { } ckuus3.c:2077:1: "rts/cts", 0, 0, { } ckuus3.c:2083:1: "script-command", 0, 0, { } ckuus3.c:2088:1: "server-mode", 0, 0, { } ckuus3.c:2094:1: "sexpression", 0, 0, { } ckuus3.c:2102:1: "sftp", 0, 0, { } ckuus3.c:2106:1: "show-command", 0, 0, { } ckuus3.c:2114:1: "srp", 1, 0, { } ckuus3.c:2120:1: "ssh", 1, 0, { } ckuus3.c:2124:1: "ssl/tls", 0, 0, { } ckuus3.c:2130:1: "transmit", 0, 0, { } ckuus3.c:2136:1: "unicode", 0, 0, { } ckuus3.c:2142:1: "xyzmodem", 0, 0, { } ckuus3.c:2147:1: "", 0, 0 { }; } ckuus3.c:2151:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab desttab[] = { /* SET DESTINATION */ ^ ckuus3.c:2153:5: "calibrate", DEST_N, CM_INV, { } ckuus3.c:2155:5: "disk", DEST_D, 0, { } ckuus3.c:2157:5: "nowhere", DEST_N, 0, { } ckuus3.c:2159:5: "printer", DEST_P, 0, { } "screen", DEST_S, 0 { }; } ckuus3.c:2472:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q0yesno[] = { /* Yes/No/Quit keyword table */ ^ "no", 0, 0, { } "ok", 1, 0, { } "yes", 1, 0 { }; } ckuus3.c:2479:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q1yesno[] = { /* Yes/No/Quit keyword table */ ^ "no", 0, 0, { } "ok", 1, 0, { } "quit", 2, 0, { } "yes", 1, 0 { }; } ckuus3.c:2487:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q2yesno[] = { /* Yes/No/Quit keyword table */ ^ "go", 3, 0, { } "no", 0, 0, { } "ok", 1, 0, { } "yes", 1, 0 { }; } ckuus3.c:2495:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab q3yesno[] = { /* Yes/No/Quit keyword table */ ^ "go", 3, 0, { } "no", 0, 0, { } "ok", 1, 0, { } "quit", 2, 0, { } "yes", 1, 0 { }; } ckuus3.c: In function 'uq_ok': ckuus3.c:2638:12: warning: unused variable 'text' [-Wunused-variable] char * text=NULL; ^~~~ ckuus3.c:2637:13: warning: unused variable 'len' [-Wunused-variable] int rc, len; ^~~ ckuus3.c:2637:9: warning: unused variable 'rc' [-Wunused-variable] int rc, len; ^~ ckuus3.c: In function 'uq_txt': ckuus3.c:2743:9: warning: unused variable 'rc' [-Wunused-variable] int rc; ^~ ckuus3.c: In function 'uq_mtxt': ckuus3.c:2810:12: warning: unused variable 'rc' [-Wunused-variable] int i, rc; ^~ ckuus3.c: At top level: ckuus3.c:3032:35: warning: missing braces around initializer [-Wmissing-braces] static struct keytab uchmodsw[] = { ^ "/directories", CHM_DIR, 0, { } "/dotfiles", CHM_DOT, 0, { } "/files", CHM_FIL, 0, { } "/list", CHM_LIS, 0, { } "/nolist", CHM_NOL, 0, { } "/nopage", CHM_NOP, 0, { } "/page", CHM_PAG, 0, { } "/quiet", CHM_QUI, CM_INV, { } "/recursive", CHM_REC, 0, { } "/simulate", CHM_SIM, 0, { } "/type", CHM_TYP, CM_ARG, { } "/verbose", CHM_VRB, CM_INV, { }; } ckuus3.c: In function 'douchmod': ckuus3.c:3050:38: warning: unused variable 'diractive' [-Wunused-variable] extern int recursive, nscanfile, diractive; ^~~~~~~~~ ckuus3.c: At top level: ckuus3.c:3283:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab sexptab[] = { ^ "depth-limit", 1, 0, { } "echo-result", 0, 0, { } "truncate-all-results", 2 { }; } ckuus3.c:3358:34: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sexpops[] = { /* Built-in operators */ ^ "setq", SX_SET, 0, /* Global assignment */ { } "+", SX_ADD, 0, /* Simple arithmetic */ { } "-", SX_SUB, 0, { } "*", SX_MUL, 0, { } "/", SX_DIV, SXF_TWO, { } "^", SX_POW, SXF_TWO, { } ckuus3.c:3366:5: "if", SX_IFC, SXF_TWO, /* IF */ { } "let", SX_LET, 0, /* Local assignment */ { } "not", SX_NOT, SXF_ONE, /* NOT */ { } "mod", SX_MOD, SXF_TWO, /* Modulus */ { } ckuus3.c:3371:5: "<", SX_ALT, SXF_PRE, /* Comparisons */ { } ">", SX_AGT, SXF_PRE, { } "<=", SX_ALE, SXF_PRE, { } "=", SX_AEQ, SXF_PRE, { } ">=", SX_AGE, SXF_PRE, { } "!=", SX_NEQ, SXF_PRE, { } ckuus3.c:3378:5: "++", SX_INC, SXF_ONE|SXF_TWO, /* Increment */ { } "--", SX_DEC, SXF_ONE|SXF_TWO, /* Decrement */ { } ckuus3.c:3381:5: "**", SX_POW, SXF_TWO, /* Common synonyms */ { } "==", SX_AEQ, SXF_PRE, { } "!", SX_NOT, SXF_ONE, { } ".", SX_EVA, 0, { } ckuus3.c:3386:5: "and", SX_AND, 0, /* Logical operators */ { } "or", SX_LOR, 0, { } "xor", SX_XOR, SXF_TWO, { } ckuus3.c:3390:5: "max", SX_MAX, SXF_ONE|SXF_TWO, /* Max and min */ { } "min", SX_MIN, SXF_ONE|SXF_TWO, { } ckuus3.c:3393:5: "%", SX_MOD, SXF_TWO, /* More synonyms */ { } "||", SX_LOR, 0, { } "&&", SX_AND, 0, { } ckuus3.c:3397:5: "quote", SX_QUO, SXF_ONE, /* String operators */ { } "string", SX_STR, SXF_ONE, { } "unquote", SX_UNQ, SXF_ONE, { } ckuus3.c:3401:5: "eval", SX_EVA, 0, /* Assorted commands */ { } "abs", SX_ABS, SXF_ONE, { } "truncate",SX_TRU, SXF_ONE|SXF_FLO, { } "round", SX_ROU, SXF_ONE|SXF_TWO|SXF_FLO, { } "ceiling", SX_CEI, SXF_ONE|SXF_FLO, { } "floor", SX_FLR, SXF_ONE|SXF_FLO, { } "float", SX_FLO, SXF_ONE|SXF_FLO, { } "echo", SX_ECH, 0, { } ckuus3.c:3411:5: "sqrt", SX_SQR, SXF_ONE|SXF_FLO, /* Floating point functions */ { } "exp", SX_EXP, SXF_ONE|SXF_FLO, { } "sin", SX_SIN, SXF_ONE|SXF_FLO, { } "cos", SX_COS, SXF_ONE|SXF_FLO, { } "tan", SX_TAN, SXF_ONE|SXF_FLO, { } "log", SX_LGN, SXF_ONE|SXF_FLO, { } "log10", SX_LGX, SXF_ONE|SXF_FLO, { } ckuus3.c:3420:5: "#", SX_BWX, SXF_TWO, /* Bitwise operators */ { } "&", SX_BWA, 0, { } "|", SX_BWO, 0, { } "~", SX_BWN, SXF_ONE, { } "", 0, 0 /* (end) */ { }; } ckuus3.c:3428:37: warning: missing braces around initializer [-Wmissing-braces] static struct keytab sexpconsts[] = { /* Built-in constants */ ^ "nil", SXC_NIL, 0, /* NIL (false) */ { } "pi", SXC_PI, 0, /* Pi (3.1415926...) */ { } "t", SXC_T, 0, /* T (true) */ { } "", 0, 0 { }; } ckuus3.c: In function 'dosexp': ckuus3.c:3896:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] float r; ^ ckuus3.c:4101:17: warning: unused variable 'k' [-Wunused-variable] int k, xx; ^ ckuus3.c:4114:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (xx = 0) /* Null or empty arg */ ^~ ckuus3.c:4752:3: warning: label 'xxdosexp' defined but not used [-Wunused-label] xxdosexp: ^~~~~~~~ ckuus3.c: In function 'dologend': ckuus3.c:4844:13: warning: unused variable 'x' [-Wunused-variable] int x = locus; ^ ckuus3.c: In function 'shomodem': ckuus3.c:6179:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6182:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6185:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6192:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6195:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6198:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6201:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6204:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6207:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6211:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6214:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6217:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6220:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6223:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6227:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6230:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6233:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6236:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6239:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6243:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6247:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus3.c:6251:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0; ^ ckuus3.c: At top level: ckuus3.c:6849:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab protos[] = { ^ ckuus3.c:6851:5: "g", PROTO_G, CM_INV, { } ckuus3.c:6853:5: "kermit", PROTO_K, 0, { } ckuus3.c:6855:5: "other", PROTO_O, 0, { } "x", PROTO_X, CM_INV|CM_ABR, { } "xmodem", PROTO_X, 0, { } "xmodem-crc", PROTO_XC, 0, { } "y", PROTO_Y, CM_INV|CM_ABR, { } "ymodem", PROTO_Y, 0, { } "ymodem-g", PROTO_G, 0, { } "zmodem", PROTO_Z, 0 { ckuus3.c:6864:1: }; } ckuus3.c: In function 'dosetssh': ckuus3.c:8210:19: warning: unused variable 'z' [-Wunused-variable] int cx, x, y, z; ^ ckuus3.c:8210:16: warning: unused variable 'y' [-Wunused-variable] int cx, x, y, z; ^ ckuus3.c: In function 'doprm': ckuus3.c:9926:18: warning: unused variable 'n' [-Wunused-variable] int c, n; /* Workers */ ^ ckuus3.c:10419:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus3.c:10422:19: warning: implicit declaration of function 'ck_tn_enc_start'; did you mean 'ck_tn_encrypt_start'? [-Wimplicit-function-declaration] ck_tn_enc_start(); ^~~~~~~~~~~~~~~ ck_tn_encrypt_start ckuus3.c:10430:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus3.c:10433:19: warning: implicit declaration of function 'ck_tn_enc_stop'; did you mean 'ck_tn_encrypt_stop'? [-Wimplicit-function-declaration] ck_tn_enc_stop(); ^~~~~~~~~~~~~~ ck_tn_encrypt_stop ckuus3.c:10388:19: warning: unused variable 'getval' [-Wunused-variable] int getval = 0; ^~~~~~ ckuus3.c:10387:22: warning: unused variable 'tmp' [-Wunused-variable] int c, tmp = -1; ^~~ ckuus3.c:10387:19: warning: unused variable 'c' [-Wunused-variable] int c, tmp = -1; ^ ckuus3.c:12206:42: warning: format '%s' expects a matching 'char *' argument [-Wformat=] if (x < 0) printf("WARNING: %s does not appear to be writable\n"); ~^ ckuus3.c:12548:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus3.c:13160:29: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] SSL_CTX_new((SSL_METHOD *)TLSv1_method()); ^~~~~~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ckuus3.c:44: /usr/include/openssl/ssl.h:1632:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ ckuus3.c:12510:18: warning: unused variable 'p' [-Wunused-variable] char * p = NULL; ^ ckuus3.c:13274:22: warning: unused variable 'cmask' [-Wunused-variable] extern int cmask; ^~~~~ ckuus3.c:9008:22: warning: unused variable 'p' [-Wunused-variable] char *s = NULL, *p = NULL; ^ In file included from ckuus3.c:28: ckuus3.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuus3.c:1608:22: warning: 'typkwd' defined but not used [-Wunused-variable] static struct keytab typkwd[] = { ^~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus4.c ckuus4.c: In function 'prescan': ckuus4.c:1843:30: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus4.c:1534:9: warning: unused variable 'z' [-Wunused-variable] int z; ^ ckuus4.c: In function 'xlate': ckuus4.c:3239:15: warning: unused variable 'c2' [-Wunused-variable] int x, c, c2; /* Workers */ ^~ ckuus4.c: In function 'shoparc': ckuus4.c:4412:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (reliable == SET_ON || (reliable == SET_AUTO && !local) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #ifdef TN_COMPORT ~~~~~~~~~~~~~~~~~ && !istncomport() ^~~~~~~~~~~~~~~~~ ckuus4.c:4622:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckuus4.c:4392:9: warning: unused variable 'i' [-Wunused-variable] int i; char *s; ^ ckuus4.c: In function 'shotcp': ckuus4.c:4747:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4749:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4753:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4760:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4771:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4776:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4781:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4789:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4796:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:4801:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4804:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shotopt': ckuus4.c:4831:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4865:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4882:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shotel': ckuus4.c:4910:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4935:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4942:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4986:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:4947:15: warning: variable 'x' set but not used [-Wunused-but-set-variable] int i,x; ^ ckuus4.c:5020:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5029:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5047:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5049:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5051:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5053:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5055:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5057:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5074:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5077:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5079:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5082:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5084:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5086:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5089:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5092:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5097:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5103:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c:5108:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(-1); else n = 0; ^ ckuus4.c: In function 'shonet': ckuus4.c:5162:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5171:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5180:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5325:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5333:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5337:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5349:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5370:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5419:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5439:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5470:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5472:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5477:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5151:9: warning: unused variable 'i' [-Wunused-variable] int i, n = 4; ^ ckuus4.c: In function 'doshodial': ckuus4.c:5541:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5544:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5551:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5563:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5567:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5570:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5573:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5576:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5586:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5593:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5603:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5606:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5609:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5612:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5615:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5618:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5621:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5630:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5640:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5650:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5657:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5666:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5669:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c:5672:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus4.c: In function 'shofil': ckuus4.c:5740:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5771:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5778:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5781:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5783:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5786:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5788:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5790:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5793:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5796:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5799:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5811:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5816:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5821:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5841:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5844:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5847:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5850:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5861:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5865:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5879:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5882:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5884:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5889:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5891:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5895:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5897:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:5900:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c: In function 'showassoc': ckuus4.c:6244:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6248:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6250:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c:6260:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return; else n = 0; ^ ckuus4.c: In function 'dostat': ckuus4.c:6321:23: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!xferstat > 0) { ^ ckuus4.c:6321:13: note: add parentheses around left hand side expression to silence this warning if (!xferstat > 0) { ^~~~~~~~~ ( ) ckuus4.c: In function 'doinput': ckuus4.c:7033:7: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] int dummy = 0, skip = 0; ^~~~~ ckuus4.c:6563:10: warning: unused variable 'ch' [-Wunused-variable] char ch, *xp, *s; ^~ ckuus4.c: In function 'fneval': ckuus4.c:8212:28: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* if no macro is active */ ^ ckuus4.c:8238:26: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* Letter for global variable */ ^ ckuus4.c:10292:19: warning: variable 'ap' set but not used [-Wunused-but-set-variable] char ** ap = NULL; ^~ ckuus4.c:10502:16: warning: unused variable 's' [-Wunused-variable] char * s, * s1 = NULL, * s2 = NULL; ^ ckuus4.c:11081:16: warning: unused variable 'j' [-Wunused-variable] int i, j, places = 0; ^ ckuus4.c:11865:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) { /* Loop thru arg chars */ ^ ckuus4.c:12054:16: warning: unused variable 'd1' [-Wunused-variable] char * d1, * dp; ^~ ckuus4.c:12188:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && s[k] == CR || s[k] == LF) ckuus4.c:12190:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (k >= 0 && s[k] == SP || s[k] == HT) ckuus4.c:12178:6: warning: unused variable 'pc' [-Wunused-variable] int pc = 0; /* For nested comments */ ^~ ckuus4.c:12177:31: warning: unused variable 'infield' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^~~~~~~ ckuus4.c:12177:20: warning: unused variable 'quote' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^~~~~ ckuus4.c:12177:9: warning: unused variable 'state' [-Wunused-variable] int k, state = 0, quote = 0, infield = 0; ^~~~~ ckuus4.c:12176:14: warning: unused variable 'c' [-Wunused-variable] char c, * s = bp[0], * s2, * s3, * ap = ""; ^ ckuus4.c:12323:15: warning: unused variable 'i' [-Wunused-variable] unsigned int i, j, k; ^ ckuus4.c:12528:6: warning: unused variable 't' [-Wunused-variable] int t, n; ^ ckuus4.c:12588:20: warning: unused variable 's2' [-Wunused-variable] char *s1, *s2; ^~ ckuus4.c:12712:7: warning: unused variable 'buf' [-Wunused-variable] char buf[3]; ^~~ ckuus4.c:12763:7: warning: unused variable 'buf' [-Wunused-variable] char buf[3]; ^~~ ckuus4.c: In function 'nvlook': ckuus4.c:14196:35: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckuus4.c:14239:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((ssl_active_flag || tls_active_flag) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ck_tn_auth_valid() == AUTH_VALID && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (sstelnet ? (!TELOPT_U(TELOPT_AUTHENTICATION)) : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (!TELOPT_ME(TELOPT_AUTHENTICATION))) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus4.c:14416:18: warning: unused variable 's' [-Wunused-variable] char * s = unm_mod; ^ ckuus4.c:14415:15: warning: unused variable 'y' [-Wunused-variable] int y = VVBUFL - 1; ^ ckuus4.c: In function 'zzstring': ckuus4.c:15235:29: warning: array subscript has type 'char' [-Wchar-subscripts] vp = g_var[vb]; /* if no macro is active */ ^ ckuus4.c:15256:27: warning: array subscript has type 'char' [-Wchar-subscripts] vp = g_var[vb]; /* Letter for global variable */ ^ In file included from ckuus4.c:23: ckuus4.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuus4.c: In function 'doinput': ckuus4.c:6711:42: warning: '%2d' directive writing between 2 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(xbuf,"doinput string %2d",y); /* SAFE (24) */ ^~~ ckuus4.c:6711:26: note: directive argument in the range [0, 2147483647] sprintf(xbuf,"doinput string %2d",y); /* SAFE (24) */ ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ckcdeb.h:668, from ckuus4.c:23: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 18 and 26 bytes into a destination of size 24 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus4.c: In function 'zzstring': ckuus4.c:15275:9: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] if (q) free(q); ^ ckuus4.c:11813:20: warning: 'seplen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (z < seplen) ^ ckuus4.c:11652:51: note: 'seplen' was declared here int i, x, y, z, flag, flag2, hi, lo, max, seplen, grouping = 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus5.c ckuus5.c: In function 'doinit': ckuus5.c:1484:12: warning: unused variable 'ckrooterr' [-Wunused-variable] extern int ckrooterr; ^~~~~~~~~ ckuus5.c: In function 'parser': ckuus5.c:3296:14: warning: unused variable 'eol' [-Wunused-variable] char * eol = ""; ^~~ ckuus5.c: In function 'vardef': ckuus5.c:3518:31: warning: array subscript has type 'char' [-Wchar-subscripts] return(g_var[c]); /* if no macro is active */ ^ ckuus5.c:3523:29: warning: array subscript has type 'char' [-Wchar-subscripts] return(g_var[c]); /* Letter for global variable */ ^ ckuus5.c: In function 'dooutput': ckuus5.c:3646: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:4450:22: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = p; /* No, it's top level one */ ^ ckuus5.c:4459:18: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = p; /* Put pointer in global-var table */ ^ ckuus5.c:4383:26: warning: unused variable 's' [-Wunused-variable] char * p = NULL, c, *s; ^ ckuus5.c: In function 'delmac': ckuus5.c:4678:34: warning: array subscript has type 'char' [-Wchar-subscripts] if (p) if (p != g_var[c]) { ^ ckuus5.c:4682:22: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus5.c:4683:18: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = NULL; /* Zero the table entry */ ^ ckuus5.c:4686:34: warning: array subscript has type 'char' [-Wchar-subscripts] if (p) if (p != g_var[c]) { ^ ckuus5.c:4694:22: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; /* Get pointer from global-var table */ ^ ckuus5.c:4695:18: warning: array subscript has type 'char' [-Wchar-subscripts] g_var[c] = NULL; /* Zero the table entry */ ^ ckuus5.c: In function 'shotrm': ckuus5.c:5806:30: warning: unused variable 'tt_idleact' [-Wunused-variable] extern int tt_idlelimit, tt_idleact; ^~~~~~~~~~ ckuus5.c:5805:16: warning: unused variable 'tt_idlesnd_tmo' [-Wunused-variable] extern int tt_idlesnd_tmo; ^~~~~~~~~~~~~~ ckuus5.c:5804:19: warning: unused variable 'tt_idlesnd_str' [-Wunused-variable] extern char * tt_idlesnd_str; ^~~~~~~~~~~~~~ ckuus5.c: In function 'doshow': ckuus5.c:6855:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (x != SHBUI && x != SHARR) ^ ckuus5.c:7207:15: warning: unused variable 't' [-Wunused-variable] int t; ^ ckuus5.c:7206:35: warning: unused variable 'tmpbufp' [-Wunused-variable] char * s, * s1, * s2, * tmpbufp; ^~~~~~~ ckuus5.c:7206:18: warning: unused variable 's' [-Wunused-variable] char * s, * s1, * s2, * tmpbufp; ^ ckuus5.c:8104:18: warning: unused variable 'myhome' [-Wunused-variable] extern char * myhome; ^~~~~~ ckuus5.c:6602:12: warning: unused variable 'z' [-Wunused-variable] int y, z, i; long zz; ^ ckuus5.c: In function 'dclarray': ckuus5.c:8826:19: warning: array subscript has type 'char' [-Wchar-subscripts] if ((p = a_ptr[a]) != NULL) { /* Delete old array of same name */ ^ ckuus5.c:8827:19: warning: array subscript has type 'char' [-Wchar-subscripts] if (a_link[a] > -1) { /* Is it a link? */ ^ ckuus5.c:8829:22: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = (char **) NULL; /* clear all the info. */ ^ ckuus5.c:8830:22: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = 0; ^ ckuus5.c:8831:23: warning: array subscript has type 'char' [-Wchar-subscripts] a_link[a] = -1; ^ ckuus5.c:8834:23: warning: array subscript has type 'char' [-Wchar-subscripts] a = a_link[a]; /* Switch to linked-to array */ ^ ckuus5.c:8836:19: warning: array subscript has type 'char' [-Wchar-subscripts] n2 = a_dim[a]; /* Real array */ ^ ckuus5.c:8843:27: warning: array subscript has type 'char' [-Wchar-subscripts] free((char *)a_ptr[a]); /* Then the element list */ ^ ckuus5.c:8853:14: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = (char **) NULL; /* Remove pointer to element list */ ^ ckuus5.c:8854:14: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = 0; /* Set dimension at zero. */ ^ ckuus5.c:8855:15: warning: array subscript has type 'char' [-Wchar-subscripts] a_link[a] = -1; /* Unset link word */ ^ ckuus5.c:8861:10: warning: array subscript has type 'char' [-Wchar-subscripts] a_ptr[a] = p; /* Save pointer to member list */ ^ ckuus5.c:8862:10: warning: array subscript has type 'char' [-Wchar-subscripts] a_dim[a] = n; /* Save dimension */ ^ ckuus5.c:8812: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:8954:12: warning: unused variable 'x' [-Wunused-variable] int i, x, y, range[2], bc = 0; ^ ckuus5.c: In function 'arraybounds': ckuus5.c:9055:12: warning: unused variable 'tmp' [-Wunused-variable] char * tmp = NULL; ^~~ ckuus5.c:9054:31: warning: unused variable 'q' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:9054:26: warning: unused variable 'p' [-Wunused-variable] char zz, buf[256], * p, * q; ^ ckuus5.c:9054:14: warning: unused variable 'buf' [-Wunused-variable] char zz, buf[256], * p, * q; ^~~ ckuus5.c:9053:18: warning: unused variable 'range' [-Wunused-variable] int i, x, y, range[2]; ^~~~~ ckuus5.c:9053:9: warning: unused variable 'i' [-Wunused-variable] int i, x, y, range[2]; ^ ckuus5.c: In function 'xwords': ckuus5.c:9651:13: warning: unused variable 'n' [-Wunused-variable] int n; ^ In file included from ckuus5.c:28: ckuus5.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuus5.c: In function 'evalmacroarg': ckuus5.c:4371:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: ckuus5.c:2547:1: warning: 'cmderr' defined but not used [-Wunused-function] cmderr() { ^~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus6.c ckuus6.c: In function 'doask': ckuus6.c:918:9: warning: variable 'guiflg' set but not used [-Wunused-but-set-variable] int guiflg = 0; ^~~~~~ ckuus6.c:917:9: warning: variable 'popupflg' set but not used [-Wunused-but-set-variable] int popupflg = 0; ^~~~~~~~ ckuus6.c: In function 'xxundef': ckuus6.c:1517:24: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus6.c:1523:24: warning: array subscript has type 'char' [-Wchar-subscripts] p = g_var[c]; ^ ckuus6.c: In function 'ludial': ckuus6.c:2534:25: warning: unused variable 'i' [-Wunused-variable] int dd, n1, n2, n3, i, j, t; /* Workers */ ^ ckuus6.c: In function 'dodial': ckuus6.c:3130:24: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus6.c:3416:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!success) ^ ckuus6.c: In function 'dotype': ckuus6.c:3897:12: warning: unused variable 'c' [-Wunused-variable] int x, c, n, i, j, k = 0; ^ ckuus6.c: In function 'domydir': ckuus6.c:6058:14: warning: format '%s' expects a matching 'char *' argument [-Wformat=] printf("%s: Skipped (not a text file)\n"); ~^ ckuus6.c:6286:36: warning: too many arguments for format [-Wformat-extra-args] printf("?Error preserving original modtime: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus6.c:6298:36: warning: too many arguments for format [-Wformat-extra-args] printf("?Modtime error on backup file: %s\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus6.c:6047:15: warning: unused variable 'c2' [-Wunused-variable] char c1, c2; /* Char for quick compare */ ^~ ckuus6.c:6047:11: warning: unused variable 'c1' [-Wunused-variable] char c1, c2; /* Char for quick compare */ ^~ ckuus6.c:6044:22: warning: unused variable 'y' [-Wunused-variable] int i, j, k, x, y; /* Workers */ ^ ckuus6.c:6044:10: warning: unused variable 'i' [-Wunused-variable] int i, j, k, x, y; /* Workers */ ^ ckuus6.c:6037:13: warning: unused variable 'tdp' [-Wunused-variable] char * tdp = tmpfile; /* Temporary directory path */ ^~~ ckuus6.c:6465:17: warning: unused variable 'i' [-Wunused-variable] int i, x, y; ^ ckuus6.c: In function 'dodel': ckuus6.c:7570:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus6.c:7579:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus6.c:7590:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus6.c:7600:32: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus6.c:7610:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus6.c:7617:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus6.c:7452:17: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus6.c:6963:12: warning: unused variable 'j' [-Wunused-variable] int i, j, k, x; ^ ckuus6.c: In function 'dofor': ckuus6.c:7825:22: warning: unused variable 'loopvar2' [-Wunused-variable] char loopvar[8], loopvar2[8]; /* \%x-style loop variable */ ^~~~~~~~ ckuus6.c:7825:10: warning: unused variable 'loopvar' [-Wunused-variable] char loopvar[8], loopvar2[8]; /* \%x-style loop variable */ ^~~~~~~ ckuus6.c: In function 'docopy': ckuus6.c:8834:10: warning: unused variable 'skip' [-Wunused-variable] int i, skip = 0; ^~~~ ckuus6.c:8595:9: warning: unused variable 'i' [-Wunused-variable] int i, x, listing = 0, nolist = 0, havename = 0, getval; ^ ckuus6.c: In function 'renameone': ckuus6.c:9501:11: warning: unused variable 'c' [-Wunused-variable] char c; ^ ckuus6.c: In function 'dorenam': ckuus6.c:9809:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if ((x = cmfld("Character or string to replace spaces with", ^ ckuus6.c:9672:9: warning: unused variable 'i' [-Wunused-variable] int i, x, z, fn, listing = 0, havename = 0, wild = 0, rc = 1, noarg = 0; ^ ckuus6.c:9667:26: warning: unused variable 'fcsinfo' [-Wunused-variable] extern struct csinfo fcsinfo[]; ^~~~~~~ ckuus6.c: In function 'dogta': ckuus6.c:11193:39: 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:11162:12: warning: unused variable 'n' [-Wunused-variable] int i, n; ^ ckuus6.c: In function 'dogoto': ckuus6.c:11262:9: warning: unused variable 'i' [-Wunused-variable] int i, j, x, y, z, bc; ^ ckuus6.c: In function 'boolexp': ckuus6.c:11702:14: warning: too many arguments for format [-Wformat-extra-args] printf("?Not an IF condition, macro name or number:\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus6.c:12536:8: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ ckuus6.c:12027:7: warning: label 'lexical' defined but not used [-Wunused-label] lexical: ^~~~~~~ ckuus6.c: In function 'doif': ckuus6.c:12629:11: warning: unused variable 'q' [-Wunused-variable] char *q; ^ In file included from ckuus6.c:22: ckuus6.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuus6.c:659: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 ^~~~ In file included from ckuus6.c:22: ckuus6.c: In function 'dncvt': ckcdeb.h:5151:16: warning: 'kx' may be used uninitialized in this function [-Wmaybe-uninitialized] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^~~~~~~ ckuus6.c:2317:22: note: 'kx' was declared here int xx=0,kx; /* Begin 1 Dec 2001... */ ^~ ckuus6.c: In function 'dotype': ckuus6.c:4305:5: warning: 'oldsig' may be used uninitialized in this function [-Wmaybe-uninitialized] signal(SIGINT,oldsig); /* Put old signal action back. */ ^~~~~~~~~~~~~~~~~~~~~ ckuus6.c: In function 'domydir': ckuus6.c:6387:43: warning: '%02d' directive writing between 2 and 6 bytes into a region of size between 0 and 17 [-Wformat-overflow=] "%2d-%s-%4d %02d:%02d:%02d", ^~~~ ckuus6.c:6387:21: note: directive argument in the range [-32768, 32767] "%2d-%s-%4d %02d:%02d:%02d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from ckcdeb.h:668, from ckuus6.c:22: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 39) into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus6.c:6054:23: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] case FT_TEXT: k++; break; ~^~ In file included from ckuus6.c:22: ckuus6.c: In function 'docopy': ckcdeb.h:5151:16: warning: 'n2' may be used uninitialized in this function [-Wmaybe-uninitialized] ((void)(deblog?dodebug(a,b,(char *)(c),(CK_OFF_T)(d)):0)) ^~~~~~~ ckuus6.c:8833:16: note: 'n2' was declared here char * n1, * n2; ^~ ckuus6.c:8852:8: warning: 'n1' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!strcmp(n1,n2)) { /* Same name? */ ^~~~~~~~~~~~~ In file included from ckuus6.c:22: ckuus6.c: In function 'shorename': ckcdeb.h:1405:16: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] #define printf ckxprintf ^~~~~~~~~ ckuus6.c:9243:12: note: 's' was declared here char * s; ^ ckuus6.c: In function 'dorenam': ckuus6.c:10020:18: warning: 'line[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!line[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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuus7.c ckuus7.c: In function 'dopurge': ckuus7.c:3018:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++lines > cmd_rows - 3) ^ ckuus7.c: In function 'doputenv': ckuus7.c:3833:12: warning: unused variable 's' [-Wunused-variable] char * s, * t = tmpbuf; /* Create or alter environment var */ ^ ckuus7.c: In function 'getiact': ckuus7.c:3964:28: warning: unused variable 't' [-Wunused-variable] char * p, * q, * t; ^ ckuus7.c: In function 'setlclcharset': ckuus7.c:4015:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus7.c: In function 'setremcharset': ckuus7.c:4030:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuus7.c: In function 'settrm': ckuus7.c:4209:9: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ ckuus7.c: In function 'cx_net': ckuus7.c:9382:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (line[0] == '*' && ckuus7.c:9491:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (ttnproto == NP_TELNET || ttnproto == NP_KERMIT) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ((line[0] == '*' && ~~~~~~~~~~~~~~~~~~~ TELOPT_DEF_S_U_MODE(TELOPT_ENCRYPTION) == TN_NG_MU && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TELOPT_DEF_S_ME_MODE(TELOPT_ENCRYPTION) == TN_NG_MU) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (line[0] != '*' && ~~~~~~~~~~~~~~~~~~ TELOPT_DEF_C_U_MODE(TELOPT_ENCRYPTION) == TN_NG_MU && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TELOPT_DEF_C_ME_MODE(TELOPT_ENCRYPTION) == TN_NG_MU)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuus7.c:9668:7: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuus7.c:9842:3: warning: label 'xcx_net' defined but not used [-Wunused-label] xcx_net: ^~~~~~~ ckuus7.c:8844:40: warning: unused variable 'g_pcpt' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^~~~~~ ckuus7.c:8844:32: warning: unused variable 'g_pflg' [-Wunused-variable] extern int pwflg, pwcrypt, g_pflg, g_pcpt, nolocal; ^~~~~~ ckuus7.c:8843:28: warning: unused variable 'g_pswd' [-Wunused-variable] extern char pwbuf[], * g_pswd; ^~~~~~ ckuus7.c: In function 'cx_serial': ckuus7.c:10095:9: warning: unused variable 'x' [-Wunused-variable] int x; /* Find a safe, long buffer */ ^ ckuus7.c:10133:3: warning: label 'xcx_serial' defined but not used [-Wunused-label] xcx_serial: ^~~~~~~~~~ ckuus7.c:9942:15: warning: unused variable 'x' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c:9942:12: warning: unused variable 'n' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c:9942:9: warning: unused variable 'i' [-Wunused-variable] int i, n, x, y, msg; ^ ckuus7.c: In function 'setlin': ckuus7.c:10239:9: warning: variable 'encrypt' set but not used [-Wunused-but-set-variable] int encrypt = 0; /* Encrypted? */ ^~~~~~~ ckuus7.c:10233:9: warning: variable 'wild' set but not used [-Wunused-but-set-variable] int wild = 0; /* Filespec has wildcards */ ^~~~ ckuus7.c:10231:9: warning: variable 'haveuser' set but not used [-Wunused-but-set-variable] int haveuser = 0; ^~~~~~~~ ckuus7.c:10230:12: warning: unused variable 'i' [-Wunused-variable] int c, i, haveswitch = 0; ^ ckuus7.c:10229:9: warning: unused variable '_local' [-Wunused-variable] int _local = -1; ^~~~~~ ckuus7.c: In function 'z_in': ckuus7.c:11826:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus7.c:11824:12: warning: unused variable 'j' [-Wunused-variable] int i, j, x; ^ ckuus7.c: In function 'z_seek': ckuus7.c:11976:9: warning: unused variable 'i' [-Wunused-variable] int i, x = 0, rc; ^ ckuus7.c: In function 'z_line': ckuus7.c:12006:9: warning: unused variable 'i' [-Wunused-variable] int i, len, x = 0; ^ ckuus7.c: In function 'z_count': ckuus7.c:12199:9: warning: unused variable 'i' [-Wunused-variable] int i, x; ^ ckuus7.c: In function 'dofile': ckuus7.c:12732:24: warning: unused variable 'k' [-Wunused-variable] int i, k, xx; ^ ckuus7.c:13056:20: warning: unused variable 'ispat' [-Wunused-variable] int flag = 0, ispat = 0, matchresult = 0; ^~~~~ ckuus7.c: In function 'savkeys': ckuus7.c:13230:23: warning: unused variable 'k' [-Wunused-variable] int savfil, i, j, k; ^ ckuus7.c: In function 'readpass': ckuus7.c:13837:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuus7.c: In function 'sho_iks': ckuus7.c:14112:34: warning: unused variable 'cdmsgstr' [-Wunused-variable] extern char * cdmsgfile[], * cdmsgstr, *kermrc; ^~~~~~~~ ckuus7.c:14111:35: warning: unused variable 'iksdcf' [-Wunused-variable] extern int srvcdmsg, success, iksdcf, noinit, arg_x; ^~~~~~ ckuus7.c:14091:16: warning: unused variable 'ckxperms' [-Wunused-variable] extern int ckxperms; ^~~~~~~~ ckuus7.c: In function 'sho_auth': ckuus7.c:14204:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14207:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14267:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14276:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14279:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14386:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14394:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14397:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14402:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14405:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14408:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14411:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14414:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14417:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14420:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14423:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14426:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14429:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14432:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14435:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14438:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14442:19: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] SSL_CTX_new((SSL_METHOD *)TLSv1_method()); ^~~~~~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ckuus7.c:79: /usr/include/openssl/ssl.h:1632:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ ckuus7.c:14455:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) ^ ckuus7.c:14460:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14462:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14464:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14469:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14471:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14473:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14480:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14482:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14485:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14489:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14498:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14500:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14503:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14507:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0; ^ ckuus7.c:14181:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckuus7.c:14180:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ In file included from ckuus7.c:26: ckuus7.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuus7.c: In function 'z_close': ckuus7.c:11713:8: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if (x == EOF) /* On failure */ ^ ckuus7.c: In function 'dofile': ckuus7.c:13037:19: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized] z += pos; ~~^~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -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:2841:9: warning: unused variable 'havefull' [-Wunused-variable] int havefull = 0; ^~~~~~~~ ckuusx.c: In function 'chkint': ckuusx.c:3805:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (what & W_SEND) ^ ckuusx.c: In function 'ckscreen': ckuusx.c:4442:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*abuf) conol(" => "); conol(abuf); /* Names */ ^~ ckuusx.c:4442:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*abuf) conol(" => "); conol(abuf); /* Names */ ^~~~~ ckuusx.c:4443:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*a2buf) conol(" => "); conol(a2buf); /* Names */ ^~ ckuusx.c:4443:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*a2buf) conol(" => "); conol(a2buf); /* Names */ ^~~~~ ckuusx.c:4472:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*abuf) conol(" => "); conol(abuf); /* Names */ ^~ ckuusx.c:4472:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*abuf) conol(" => "); conol(abuf); /* Names */ ^~~~~ ckuusx.c:4473:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*a2buf) conol(" => "); conol(a2buf); /* Names */ ^~ ckuusx.c:4473:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*a2buf) conol(" => "); conol(a2buf); /* Names */ ^~~~~ ckuusx.c:4517:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*abuf) conol(" => "); conol(abuf); /* Names */ ^~ ckuusx.c:4517:47: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*abuf) conol(" => "); conol(abuf); /* Names */ ^~~~~ ckuusx.c:4518:21: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*a2buf) conol(" => "); conol(a2buf); /* Names */ ^~ ckuusx.c:4518:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*a2buf) conol(" => "); conol(a2buf); /* Names */ ^~~~~ ckuusx.c: In function 'dodebug': ckuusx.c:5373:15: warning: variable 'flag' set but not used [-Wunused-but-set-variable] int x, flag = 0; ^~~~ ckuusx.c: In function 'fxdinit': ckuusx.c:5975:17: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] x = tgetent(trmbuf,s); ^~~~~~~ getenv ckuusx.c:5914:12: warning: unused variable 'dummy' [-Wunused-variable] int x, dummy; ^~~~~ ckuusx.c: In function 'ck_termset': ckuusx.c:6476:13: warning: implicit declaration of function 'tgetstr'; did you mean 'tigetstr'? [-Wimplicit-function-declaration] if (tgetstr("cl", &bp)) { /* Get clear-screen code */ ^~~~~~~ tigetstr ckuusx.c: In function 'ck_curpos': ckuusx.c:6555:9: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] tputs( ^~~~~ puts ckuusx.c:6559:15: warning: implicit declaration of function 'tgoto'; did you mean 'dogoto'? [-Wimplicit-function-declaration] tgoto(cur_cm,col-1,row-1),1,fn); ^~~~~ dogoto ckuusx.c: In function 'screenc': ckuusx.c:7359:20: warning: implicit declaration of function 'ck_tn_encrypting' [-Wimplicit-function-declaration] || ck_tn_encrypting() && ck_tn_decrypting() ^~~~~~~~~~~~~~~~ ckuusx.c:7359:42: warning: implicit declaration of function 'ck_tn_decrypting' [-Wimplicit-function-declaration] || ck_tn_encrypting() && ck_tn_decrypting() ^~~~~~~~~~~~~~~~ ckuusx.c:7359:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckuusx.c:7098:10: warning: variable 'cps' set but not used [-Wunused-but-set-variable] long cps = 0L; ^~~ ckuusx.c:7090:16: warning: unused variable 'ttnproto' [-Wunused-variable] extern int ttnproto; ^~~~~~~~ ckuusx.c: In function 'getslot': ckuusx.c:9497:24: warning: unused variable 's' [-Wunused-variable] char pidbuf[64], * s; ^ In file included from ckuusx.c:26: ckuusx.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuusx.c: In function 'getslot': ckuusx.c:9525:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfd,idstring,(int)strlen(idstring)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ckuusx.c:9619:13: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(dbfp),(CK_OFF_T)i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuusy.c ckuusy.c:201:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab urltab[] = { ^ ckuusy.c:203:5: "ftp", URL_FTP, 0, { } ckuusy.c:206:5: "http", URL_HTTP, 0, { } "https", URL_HTTPS, 0, { } ckuusy.c:209:5: "iksd", URL_IKSD, 0, { } "kermit", URL_IKSD, 0, { } "telnet", URL_TELNET, 0, { } "", 0, 0 { }; } ckuusy.c: In function 'urlparse': ckuusy.c:253:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckuusy.c: In function 'cmdlin': ckuusy.c:804:13: warning: unused variable 'xx' [-Wunused-variable] int xx; ^~ ckuusy.c: In function 'doxarg': ckuusy.c:2803:22: warning: unused variable 'nttyp' [-Wunused-variable] extern int nttyp; ^~~~~ ckuusy.c:2802:32: warning: unused variable 'ttyptab' [-Wunused-variable] extern struct keytab ttyptab[]; ^~~~~~~ In file included from ckuusy.c:23: ckuusy.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckuusy.c:219:13: warning: 'urlbuf' defined but not used [-Wunused-variable] static char urlbuf[URLBUFLEN]; ^~~~~~ ckuusy.c:160:12: warning: 'have_cx' defined but not used [-Wunused-variable] static int have_cx = 0; /* Have connection */ ^~~~~~~ ckuusy.c: In function 'cmdlin': ckuusy.c:896:14: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!rdigits(q)) ^~~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckwart.c ckwart.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) int argc; char **argv; { ^~~~ gcc -o wart ckwart.o -L/usr/lib64 -lssl -lcrypto -lpam -ldl -lz -lutil -lncurses -lresolv -lcrypt -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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcpro.c ckcpro.c: In function 'wart': ckcpro.c:1525:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (server && !ENABLED(en_cwd) || /* if DISABLE CD */ ckcpro.c:1507:16: warning: unused variable 'rsn' [-Wunused-variable] extern int rsn; ^~~ ckcpro.c: In function 'rcv_firstdata': ckcpro.c:2395:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmp = (char *)malloc(n)) { ^~~ ckcpro.c:2409:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (tmp = (char *)malloc(n)) { ^~~ ckcpro.c: In function 'rcv_shortreply': ckcpro.c:2513:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (*rdatap) /* add a line terminator */ ^ ckcpro.c: In function 'srv_login': ckcpro.c:2777: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:2979:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ^ ckcpro.c: In function 'proto': ckcpro.c:3184:13: warning: implicit declaration of function 'ck_tn_enc_stop' [-Wimplicit-function-declaration] ck_tn_enc_stop(); ^~~~~~~~~~~~~~ ckcpro.c:3202:13: warning: implicit declaration of function 'ck_tn_enc_start' [-Wimplicit-function-declaration] ck_tn_enc_start(); ^~~~~~~~~~~~~~~ ckcpro.c:3057:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcpro.c: In function 'xxproto': ckcpro.c:3473:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (s = zgtdir()) { /* Get current directory */ ^ ckcpro.c: In function 'sgetinit': ckcpro.c:3678:9: warning: unused variable 'i' [-Wunused-variable] int i, n, done = 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcfns.c ckcfns.c: In function 'rcvfil': ckcfns.c:3783:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( ( ~ #ifdef UNIX ~~~~~~~~~~~ strcmp(ofn1,"/dev/null") && /* It's not the null device? */ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #else ~~~~~ #ifdef OSK ~~~~~~~~~~ strcmp(ofn1,"/nil") && ~~~~~~~~~~~~~~~~~~~~~~ #endif /* OSK */ ~~~~~~~~~~~~~~~~ #endif /* UNIX */ ~~~~~~~~~~~~~~~~~ !stdouf ) && /* Not copying to standard output? */ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ofn1x || /* File of same name exists? */ ~~~~~ 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] (reliable == SET_ON || (reliable == SET_AUTO && !local) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #ifdef TN_COMPORT ~~~~~~~~~~~~~~~~~ && !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; ^ In file included from ckcfns.c:26: ckcfns.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckcfns.c: In function 'snddir': ckcfns.c:6552:33: warning: '%s' directive writing up to 4096 bytes into a region of size 1015 [-Wformat-overflow=] sprintf(cmdstr,"DIRECTORY %s",name); /* safe */ ^~ ~~~~ In file included from /usr/include/stdio.h:862, from ckcdeb.h:668, from ckcfns.c:26: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 11 and 4107 bytes into a destination of size 1025 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcfn2.c 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' [-Wdangling-else] if (nakstate) /* j == -1 is a read timeout */ ^ In file included from ckcfn2.c:20: ckcfn2.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcfn3.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:10: warning: array subscript has type 'char' [-Wchar-subscripts] reason[c] : ^ ckcfn3.c: In function 'gattr': ckcfn3.c:1477:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = *s++) { /* Get attribute tag */ ^ ckcfn3.c: In function 'opena': ckcfn3.c:2117:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (x = openo(f,zz,&fcb)) { /* Try to open the file. */ ^ ckcfn3.c:2173:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (*rf_err) ^ In file included from ckcfn3.c:20: ckcfn3.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuxla.c ckuxla.c:159:27: warning: missing braces around initializer [-Wmissing-braces] struct csinfo tcsinfo[] = { ^ ckuxla.c:161:3: "TRANSPARENT", 256,TC_TRANSP, "", AL_UNK, "transparent", /* 0 */ { } "ASCII", 128,TC_USASCII,"", AL_ROMAN,"ascii", /* 1 */ { } "ISO 8859-1 Latin-1",256,TC_1LATIN, "I6/100",AL_ROMAN,"latin1-iso", /* 2 */ { } ckuxla.c:165:3: "ISO 8859-2 Latin-2",256,TC_2LATIN, "I6/101",AL_ROMAN,"latin2-iso", /* 3 */ { } ckuxla.c:169:3: "ISO 8859-5 Latin/Cyrillic",256,TC_CYRILL,"I6/144",AL_CYRIL,"cyrillic-iso", { } ckuxla.c:172:3: "Japanese EUC",16384,TC_JEUC, "I14/87/13", AL_JAPAN, "euc-jp", /* 5 */ { } ckuxla.c:176:3: "ISO 8859-8 Latin/Hebrew",256,TC_HEBREW,"I6/138",AL_HEBREW,"hebrew-iso", { } ckuxla.c:179:3: "ISO 8859-7 Latin/Greek",256,TC_GREEK,"I6/126",AL_GREEK,"greek-iso", /* 7 */ { } ckuxla.c:181:3: "ISO 8859-15 Latin-9",256,TC_9LATIN,"I6/203",AL_ROMAN,"latin9-iso", /* 8 */ { } "ISO 10646 / Unicode UCS-2",64000,TC_UCS2,"I162",AL_UNIV,"ucs2", /* 9 */ { } "ISO 10646 / Unicode UTF-8",64000,TC_UTF8,"I190",AL_UNIV,"utf8", /* 10 */ { } "",0,0,"",0,"" { }; } ckuxla.c:188:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab tcstab[] = { /* Keyword table for */ ^ "ascii", TC_USASCII, 0, /* SET TRANSFER CHARACTER-SET */ { } ckuxla.c:191:5: "cyrillic-iso", TC_CYRILL, 0, { } ckuxla.c:194:5: "elot928-greek", TC_GREEK, CM_INV, { } ckuxla.c:197:5: "euc-jp", TC_JEUC, 0, { } ckuxla.c:200:5: "greek-iso", TC_GREEK, 0, { } ckuxla.c:203:5: "hebrew-iso", TC_HEBREW, 0, { } ckuxla.c:207:5: "iso-10646-ucs-2", TC_UCS2, CM_INV, /* ISO 10646 / Unicode UCS-2 */ { } ckuxla.c:209:5: "iso-8859-1", TC_1LATIN, CM_INV, /* ISO Latin Alphabet 1 */ { } "iso-8859-15", TC_9LATIN, CM_INV, /* ISO Latin Alphabet 9 (yes) */ { } "iso-8859-2", TC_2LATIN, CM_INV, /* ISO Latin Alphabet 2 */ { } ckuxla.c:213:5: "iso-8859-5", TC_CYRILL, CM_INV, /* ISO Latin/Cyrillic Alphabet */ { } ckuxla.c:216:5: "iso-8859-7", TC_GREEK, CM_INV, /* ISO 8859-7 Latin/Greek */ { } ckuxla.c:219:5: "iso-8859-8", TC_HEBREW, CM_INV, /* ISO Latin/Hebrew */ { } ckuxla.c:223:5: "japanese-euc", TC_JEUC, CM_INV, { } ckuxla.c:225:5: "l", TC_1LATIN, CM_ABR|CM_INV, { } "la", TC_1LATIN, CM_ABR|CM_INV, { } "lat", TC_1LATIN, CM_ABR|CM_INV, { } "lati", TC_1LATIN, CM_ABR|CM_INV, { } "latin", TC_1LATIN, CM_ABR|CM_INV, { } "latin1-iso", TC_1LATIN, 0, { } ckuxla.c:232:5: "latin2-iso", TC_2LATIN, 0, { } ckuxla.c:234:5: "latin9-iso", TC_9LATIN, 0, { } "transparent", TC_TRANSP, 0, { } ckuxla.c:237:5: "ucs2", TC_UCS2, 0, { } ckuxla.c:239:5: "us-ascii", TC_USASCII, CM_INV, { } "usascii", TC_USASCII, CM_INV, { } ckuxla.c:242:5: "utf-8", TC_UTF8, CM_INV, { } "utf8", TC_UTF8, 0, { } ckuxla.c:245:5: "", 0, 0 { }; } ckuxla.c:253:27: warning: missing braces around initializer [-Wmissing-braces] struct csinfo fcsinfo[] = { /* File character set information... */ ^ ckuxla.c:255:3: "US ASCII", 128, FC_USASCII, NULL, AL_ROMAN, "ascii", { } "British/UK ISO-646", 128, FC_UKASCII, NULL, AL_ROMAN, "british", { } "Dutch ISO-646", 128, FC_DUASCII, NULL, AL_ROMAN, "dutch", { } "Finnish ISO-646", 128, FC_FIASCII, NULL, AL_ROMAN, "finnish", { } "French ISO-646", 128, FC_FRASCII, NULL, AL_ROMAN, "french", { } "Canadian-French NRC", 128, FC_FCASCII, NULL, AL_ROMAN, "canadian-french", { } "German ISO-646", 128, FC_GEASCII, NULL, AL_ROMAN, "german", { } "Hungarian ISO-646", 128, FC_HUASCII, NULL, AL_ROMAN, "hungarian", { } "Italian ISO-646", 128, FC_ITASCII, NULL, AL_ROMAN, "italian", { } "Norwegian/Danish ISO-646",128,FC_NOASCII,NULL,AL_ROMAN,"norwegian/danish", { } "Portuguese ISO-646", 128, FC_POASCII, NULL, AL_ROMAN,"portuguese", { } "Spanish ISO-646", 128, FC_SPASCII, NULL, AL_ROMAN, "spanish", { } "Swedish ISO-646", 128, FC_SWASCII, NULL, AL_ROMAN, "swedish", { } "Swiss NRC", 128, FC_CHASCII, NULL, AL_ROMAN, "swiss", { } "ISO 8859-1 Latin-1", 256, FC_1LATIN, NULL, AL_ROMAN,"latin1-iso", { } "ISO 8859-2 Latin-2", 256, FC_2LATIN, NULL, AL_ROMAN,"latin2-iso", { } "DEC Multinational", 256, FC_DECMCS, NULL,AL_ROMAN,"dec-multinational", { } "NeXT Multinational", 256, FC_NEXT, NULL,AL_ROMAN,"next-multinational", { } "PC Code Page 437", 256, FC_CP437, NULL, AL_ROMAN,"cp437", { } "PC Code Page 850", 256, FC_CP850, NULL, AL_ROMAN,"cp850", { } "PC Code Page 852", 256, FC_CP852, NULL, AL_ROMAN,"cp852", { } "Apple Macintosh Latin", 256, FC_APPQD, NULL, AL_ROMAN,"macintosh-latin", { } "Data General International",256,FC_DGMCS,NULL,AL_ROMAN,"dg-international", { } "Hewlett Packard Roman8", 256, FC_HPR8, NULL, AL_ROMAN, "hp-roman8", { } "ISO 8859-5 Latin/Cyrillic", 256, FC_CYRILL, NULL, AL_CYRIL,"cyrillic-iso", { } "CP866 Cyrillic", 256, FC_CP866, NULL, AL_CYRIL,"cp866", { } "Short KOI", 128, FC_KOI7, NULL, AL_CYRIL,"short-koi", { } "Old KOI-8 Cyrillic", 256, FC_KOI8, NULL, AL_CYRIL,"koi8-cyrillic", { } "Japanese JIS7", 16384, FC_JIS7, NULL, AL_JAPAN, "jis7-kanji", { } "Japanese Shift JIS", 16384, FC_SHJIS, NULL, AL_JAPAN, "shift-jis-kanji", { } "Japanese EUC", 16384, FC_JEUC, NULL, AL_JAPAN, "euc-jp", { } "Japanese DEC Kanji", 16384, FC_JDEC, NULL, AL_JAPAN, "dec-kanji", { } "Hebrew-7 DEC", 128, FC_HE7, NULL, AL_HEBREW, "hebrew-7", { } "ISO 8859-8 Latin/Hebrew",256, FC_HEBREW, NULL, AL_HEBREW, "hebrew-iso", { } "CP862 Hebrew", 256, FC_CP862, NULL, AL_HEBREW, "cp862-hebrew", { } "ELOT 927 Greek", 128, FC_ELOT, NULL, AL_GREEK, "elot927-greek", { } "ISO 8859-7 Latin/Greek", 256, FC_GREEK, NULL, AL_GREEK, "greek-iso", { } "CP869 Greek", 256, FC_CP869, NULL, AL_GREEK, "cp869-greek", { } "ISO 8859-15 Latin-9", 256, FC_9LATIN, NULL, AL_ROMAN, "latin9-iso", { } "PC Code Page 858", 256, FC_CP850, NULL, AL_ROMAN, "cp858", { } "PC Code Page 855", 256, FC_CP855, NULL, AL_CYRIL, "cp855-cyrillic", { } "Windows Code Page 1251", 256, FC_CP1251, NULL, AL_CYRIL, "cp1251-cyrillic", { } "Bulgarian PC Code Page", 256, FC_BULGAR, NULL, AL_CYRIL, "bulgaria-pc", { } "Windows Code Page 1250", 256, FC_CP1250, NULL, AL_ROMAN, "cp1250", { } "Polish Mazovia PC Code Page", 256, FC_MAZOVIA, NULL, AL_ROMAN, "mazovia-pc", { } "ISO 10646 / Unicode UCS-2", 64000, FC_UCS2, NULL, AL_UNIV, "ucs2", { } "ISO 10646 / Unicode UTF-8", 64000, FC_UCS2, NULL, AL_UNIV, "utf8", { } "KOI8-R Russian+Boxdrawing",256, FC_KOI8R, NULL, AL_CYRIL,"koi8r", { } "KOI8-U Ukrainian+Boxdrawing",256,FC_KOI8U, NULL, AL_CYRIL,"koi8u", { } "Windows Code Page 1252", 256, FC_CP1252, NULL, AL_ROMAN, "cp1252", { } "",0,0,NULL,0,NULL { }; } ckuxla.c:315:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab fcstab[] = { /* Keyword table for 'set file character-set' */ ^ ckuxla.c:324:5: "apple-quickdraw", FC_APPQD, CM_INV, /* Apple Quickdraw */ { } "ascii", FC_USASCII, 0, /* ASCII */ { } "british", FC_UKASCII, 0, /* British NRC */ { } "bulgaria-pc", FC_BULGAR, 0, /* Bulgarian PC Code Page */ { } "canadian-french", FC_FCASCII, 0, /* French Canadian NRC */ { } ckuxla.c:330:5: "cp1250", FC_CP1250, 0, /* Windows CP 1250 */ { } ckuxla.c:333:5: "cp1251-cyrillic", FC_CP1251, 0, /* Windows CP 1251 */ { } ckuxla.c:335:5: "cp1252", FC_CP1252, 0, /* Windows CP 1252 */ { } "cp437", FC_CP437, 0, /* PC CP437 */ { } "cp850", FC_CP850, 0, /* PC CP850 */ { } ckuxla.c:339:5: "cp852", FC_CP852, 0, /* PC CP852 */ { } ckuxla.c:342:5: "cp855-cyrillic", FC_CP855, 0, /* PC CP855 */ { } ckuxla.c:344:5: "cp858", FC_CP858, 0, /* PC CP858 */ { } ckuxla.c:346:5: "cp862-hebrew", FC_CP862, 0, /* PC CP862 */ { } ckuxla.c:349:5: "cp866-cyrillic", FC_CP866, 0, /* CP866 Cyrillic */ { } ckuxla.c:352:5: "cp869-greek", FC_CP869, 0, /* CP869 Greek */ { } ckuxla.c:355:5: "cyrillic-iso", FC_CYRILL, 0, /* ISO Latin/Cyrillic Alphabet */ { } ckuxla.c:357:5: "danish", FC_NOASCII, 0, /* Norwegian and Danish NRC */ { } ckuxla.c:359:5: "dec-kanji", FC_JDEC, 0, /* Japanese DEC Kanji */ { } ckuxla.c:361:5: "dec-mcs", FC_DECMCS, CM_INV, /* DEC multinational char set */ { } "dec-multinational", FC_DECMCS, 0, /* DEC multinational character set */ { } "dg-international", FC_DGMCS, 0, /* Data General multinational */ { } "dutch", FC_DUASCII, 0, /* Dutch NRC */ { } ckuxla.c:366:5: "elot927-greek", FC_ELOT, 0, /* ELOT 927 Greek */ { } "elot928-greek", FC_GREEK, 0, /* Same as ISO 8859-7 Latin/Greek */ { } ckuxla.c:370:5: "euc-jp", FC_JEUC, 0, /* Japanese EUC */ { } ckuxla.c:372:5: "finnish", FC_FIASCII, 0, /* Finnish NRC */ { } "french", FC_FRASCII, 0, /* French NRC */ { } "fr-canadian", FC_FCASCII, CM_INV, /* French Canadian NRC */ { } "german", FC_GEASCII, 0, /* German NRC */ { } ckuxla.c:377:5: "greek-iso", FC_GREEK, 0, /* ISO 8859-7 Latin/Greek */ { } ckuxla.c:380:5: "he", FC_HEBREW, CM_ABR|CM_INV, { } "heb", FC_HEBREW, CM_ABR|CM_INV, { } "hebr", FC_HEBREW, CM_ABR|CM_INV, { } "hebre", FC_HEBREW, CM_ABR|CM_INV, { } "hebrew", FC_HEBREW, CM_ABR|CM_INV, { } "hebrew-7", FC_HE7, 0, /* DEC 7-Bit Hebrew */ { } "hebrew-iso", FC_HEBREW, 0, /* ISO Latin/Hebrew */ { } ckuxla.c:388:5: "hp-roman8", FC_HPR8, 0, /* Hewlett Packard Roman8 */ { } "hungarian", FC_HUASCII, 0, /* Hungarian NRC */ { } ckuxla.c:391:5: "ibm437", FC_CP437, CM_INV, /* PC CP437 */ { } "ibm850", FC_CP850, CM_INV, /* PC CP850 (not in MIME) */ { } ckuxla.c:394:5: "ibm852", FC_CP852, CM_INV, /* PC CP852 */ { } ckuxla.c:397:5: "ibm855", FC_CP855, CM_INV, /* PC CP855 */ { } ckuxla.c:399:5: "ibm858", FC_CP858, CM_INV, /* PC CP858 (not in MIME) */ { } ckuxla.c:401:5: "ibm862", FC_CP862, CM_INV, /* PC CP862 (not in MIME) */ { } ckuxla.c:404:5: "ibm866", FC_CP866, CM_INV, /* CP866 Cyrillic */ { } ckuxla.c:407:5: "ibm869", FC_CP869, CM_INV, /* CP869 Greek */ { } ckuxla.c:411:5: "iso-10646-ucs-2", FC_UCS2, CM_INV, /* ISO 10646 / Unicode UCS-2 */ { } ckuxla.c:413:5: "iso-8859-1", FC_1LATIN, CM_INV, /* ISO Latin Alphabet 1 */ { } "iso-8859-15", FC_9LATIN, CM_INV, /* ISO Latin Alphabet 9 (yes) */ { } "iso-8859-2", FC_2LATIN, CM_INV, /* ISO Latin Alphabet 2 */ { } ckuxla.c:417:5: "iso-8859-5", FC_CYRILL, CM_INV, /* ISO Latin/Cyrillic Alphabet */ { } ckuxla.c:420:5: "iso-8859-7", FC_GREEK, CM_INV, /* ISO 8859-7 Latin/Greek */ { } ckuxla.c:423:5: "iso-8859-8", FC_HEBREW, CM_INV, /* ISO Latin/Hebrew */ { } ckuxla.c:426:5: "iso2022jp-kanji", FC_JIS7, CM_INV, /* Synonym for JIS-7 */ { } ckuxla.c:429:5: "iso646-gb", FC_UKASCII, CM_INV, /* British NRC */ { } "iso646-ca", FC_FCASCII, CM_INV, /* French Canadian NRC */ { } "iso646-de", FC_GEASCII, CM_INV, /* German NRC */ { } "iso646-dk", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ { } "iso646-es", FC_SPASCII, CM_INV, /* Spanish NRC */ { } "iso646-fi", FC_FIASCII, CM_INV, /* Finnish NRC */ { } "iso646-fr", FC_FRASCII, CM_INV, /* French NRC */ { } "iso646-hu", FC_HUASCII, CM_INV, /* Hungarian NRC */ { } "iso646-it", FC_ITASCII, CM_INV, /* Italian NRC */ { } "iso646-no", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ { } "iso646-po", FC_POASCII, CM_INV, /* Portuguese NRC */ { } "iso646-se", FC_SWASCII, CM_INV, /* Swedish NRC */ { } ckuxla.c:442:5: "italian", FC_ITASCII, CM_INV, /* Italian NRC */ { } ckuxla.c:444:5: "japanese-euc", FC_JEUC, CM_INV, /* Japanese EUC */ { } "jis7-kanji", FC_JIS7, 0, /* Japanese JIS7 7bit code */ { } ckuxla.c:448:5: "k", FC_KOI8, CM_ABR|CM_INV, { } "ko", FC_KOI8, CM_ABR|CM_INV, { } "koi", FC_KOI8, CM_ABR|CM_INV, { } "koi7", FC_KOI7, 0, /* Short KOI Cyrillic */ { } "koi8", FC_KOI8, 0, /* Old KOI-8 Cyrillic */ { } "koi8-e", FC_KOI8, CM_INV, /* Old KOI-8 Cyrillic */ { } "koi8-cyrillic", FC_KOI8, CM_INV, { } "koi8-r", FC_KOI8R, CM_INV, /* KOI8-R RFC1489 */ { } "koi8-u", FC_KOI8U, CM_INV, /* KOI8-U RFC2319 */ { } "koi8r", FC_KOI8R, 0, /* KOI8-R RFC1489 */ { } "koi8u", FC_KOI8U, 0, /* KOI8-U RFC2319 */ { } ckuxla.c:460:5: "l", FC_1LATIN, CM_ABR|CM_INV, { } "la", FC_1LATIN, CM_ABR|CM_INV, { } "lat", FC_1LATIN, CM_ABR|CM_INV, { } "lati", FC_1LATIN, CM_ABR|CM_INV, { } "latin", FC_1LATIN, CM_ABR|CM_INV, { } "latin1-iso", FC_1LATIN, 0, /* ISO Latin Alphabet 1 */ { } ckuxla.c:467:5: "latin2-iso", FC_2LATIN, 0, /* ISO Latin Alphabet 2 */ { } ckuxla.c:469:5: "latin9-iso", FC_9LATIN, 0, /* ISO Latin Alphabet 9 */ { } "macintosh-latin", FC_APPQD, 0, /* "Extended Mac Latin" */ { } ckuxla.c:472:5: "mazovia-pc", FC_MAZOVIA, 0, /* Polish Mazovia PC code page */ { } ckuxla.c:474:5: "next-multinational", FC_NEXT, 0, /* NeXT workstation */ { } "norwegian", FC_NOASCII, 0, /* Norwegian and Danish NRC */ { } "portuguese", FC_POASCII, 0, /* Portuguese NRC */ { } ckuxla.c:478:5: "shift-jis-kanji", FC_SHJIS, 0, /* Japanese Kanji Shift-JIS */ { } "shift_jis", FC_SHJIS, CM_INV, /* Japanese Kanji Shift-JIS */ { } ckuxla.c:482:5: "short-koi", FC_KOI7, 0, /* Short KOI Cyrillic */ { } ckuxla.c:484:5: "spanish", FC_SPASCII, 0, /* Spanish NRC */ { } "swedish", FC_SWASCII, 0, /* Swedish NRC */ { } "swiss", FC_CHASCII, 0, /* Swiss NRC */ { } ckuxla.c:488:5: "ucs2", FC_UCS2, 0, /* ISO 10646 / Unicode UCS-2 */ { } ckuxla.c:490:5: "us-ascii", FC_USASCII, CM_INV, /* MIME */ { } "usascii", FC_USASCII, CM_INV, { } ckuxla.c:493:5: "utf-8", FC_UTF8, CM_INV, /* ISO 10646 / Unicode UTF-8 */ { } "utf8", FC_UTF8, 0, /* ISO 10646 / Unicode UTF-8 */ { } ckuxla.c:497:5: "windows-1250", FC_CP1250, CM_INV, /* Windows CP 1250 */ { } ckuxla.c:500:5: "windows-1251", FC_CP1251, CM_INV, /* Windows CP 1251 */ { } ckuxla.c:502:5: "windows-1252", FC_CP1252, CM_INV, /* Windows CP 1252 */ { } "", 0, 0 { }; } ckuxla.c:507:27: warning: missing braces around initializer [-Wmissing-braces] struct keytab ttcstab[] = { /* Keyword table for SET TERMINAL CHARACTER-SET */ ^ ckuxla.c:514:5: "apple-quickdraw", FC_APPQD, CM_INV, /* Apple Quickdraw */ { } "ascii", FC_USASCII, 0, /* ASCII */ { } "british", FC_UKASCII, 0, /* British NRC */ { } "bulgaria-pc", FC_BULGAR, 0, /* Bulgarian PC Code Page */ { } "canadian-french", FC_FCASCII, 0, /* French Canadian NRC */ { } ckuxla.c:520:5: "cp1250", FC_CP1250, 0, /* Windows CP 1250 */ { } ckuxla.c:523:5: "cp1251-cyrillic", FC_CP1251, 0, /* Windows CP 1251 */ { } ckuxla.c:525:5: "cp1252", FC_CP1252, 0, /* Windows CP 1252 */ { } "cp437", FC_CP437, 0, /* PC CP437 */ { } "cp850", FC_CP850, 0, /* PC CP850 */ { } ckuxla.c:529:5: "cp852", FC_CP852, 0, /* PC CP852 */ { } ckuxla.c:532:5: "cp855-cyrillic", FC_CP855, 0, /* PC CP855 */ { } ckuxla.c:534:5: "cp858", FC_CP858, 0, /* PC CP858 */ { } ckuxla.c:536:5: "cp862-hebrew", FC_CP862, 0, /* PC CP862 */ { } ckuxla.c:539:5: "cp866-cyrillic", FC_CP866, 0, /* CP866 Cyrillic */ { } ckuxla.c:542:5: "cp869-greek", FC_CP869, 0, /* CP869 Greek */ { } ckuxla.c:545:5: "cyrillic-iso", FC_CYRILL, 0, /* ISO Latin/Cyrillic Alphabet */ { } ckuxla.c:547:5: "danish", FC_NOASCII, 0, /* Norwegian and Danish NRC */ { } "dec-mcs", FC_DECMCS, CM_INV, /* DEC multinational char set */ { } "dec-multinational", FC_DECMCS, 0, /* DEC multinational character set */ { } "dg-international", FC_DGMCS, 0, /* Data General multinational */ { } "dutch", FC_DUASCII, 0, /* Dutch NRC */ { } ckuxla.c:553:5: "elot927-greek", FC_ELOT, 0, /* ELOT 927 Greek */ { } "elot928-greek", FC_GREEK, 0, /* Same as ISO 8859-7 Latin/Greek */ { } ckuxla.c:556:5: "finnish", FC_FIASCII, 0, /* Finnish NRC */ { } "french", FC_FRASCII, 0, /* French NRC */ { } "fr-canadian", FC_FCASCII, CM_INV, /* French Canadian NRC */ { } "german", FC_GEASCII, 0, /* German NRC */ { } ckuxla.c:561:5: "greek-iso", FC_GREEK, 0, /* ISO 8859-7 Latin/Greek */ { } ckuxla.c:564:5: "he", FC_HEBREW, CM_ABR|CM_INV, { } "heb", FC_HEBREW, CM_ABR|CM_INV, { } "hebr", FC_HEBREW, CM_ABR|CM_INV, { } "hebre", FC_HEBREW, CM_ABR|CM_INV, { } "hebrew", FC_HEBREW, CM_ABR|CM_INV, { } "hebrew-7", FC_HE7, 0, /* DEC 7-Bit Hebrew */ { } "hebrew-iso", FC_HEBREW, 0, /* ISO Latin/Hebrew */ { } ckuxla.c:572:5: "hp-roman8", FC_HPR8, 0, /* Hewlett Packard Roman8 */ { } "hungarian", FC_HUASCII, 0, /* Hungarian NRC */ { } ckuxla.c:575:5: "ibm437", FC_CP437, CM_INV, /* PC CP437 */ { } "ibm850", FC_CP850, CM_INV, /* PC CP850 (not in MIME) */ { } ckuxla.c:578:5: "ibm852", FC_CP852, CM_INV, /* PC CP852 */ { } ckuxla.c:581:5: "ibm855", FC_CP855, CM_INV, /* PC CP855 */ { } ckuxla.c:583:5: "ibm858", FC_CP858, CM_INV, /* PC CP858 (not in MIME) */ { } ckuxla.c:585:5: "ibm862", FC_CP862, CM_INV, /* PC CP862 (not in MIME) */ { } ckuxla.c:588:5: "ibm866", FC_CP866, CM_INV, /* CP866 Cyrillic */ { } ckuxla.c:591:5: "ibm869", FC_CP869, CM_INV, /* CP869 Greek */ { } ckuxla.c:595:5: "iso-10646-ucs-2", FC_UCS2, CM_INV, /* ISO 10646 / Unicode UCS-2 */ { } ckuxla.c:597:5: "iso-8859-1", FC_1LATIN, CM_INV, /* ISO Latin Alphabet 1 */ { } "iso-8859-15", FC_9LATIN, CM_INV, /* ISO Latin Alphabet 9 (yes) */ { } "iso-8859-2", FC_2LATIN, CM_INV, /* ISO Latin Alphabet 2 */ { } ckuxla.c:601:5: "iso-8859-5", FC_CYRILL, CM_INV, /* ISO Latin/Cyrillic Alphabet */ { } ckuxla.c:604:5: "iso-8859-7", FC_GREEK, CM_INV, /* ISO 8859-7 Latin/Greek */ { } ckuxla.c:607:5: "iso-8859-8", FC_HEBREW, CM_INV, /* ISO Latin/Hebrew */ { } ckuxla.c:610:5: "iso646-gb", FC_UKASCII, CM_INV, /* British NRC */ { } "iso646-ca", FC_FCASCII, CM_INV, /* French Canadian NRC */ { } "iso646-de", FC_GEASCII, CM_INV, /* German NRC */ { } "iso646-dk", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ { } "iso646-es", FC_SPASCII, CM_INV, /* Spanish NRC */ { } "iso646-fi", FC_FIASCII, CM_INV, /* Finnish NRC */ { } "iso646-fr", FC_FRASCII, CM_INV, /* French NRC */ { } "iso646-hu", FC_HUASCII, CM_INV, /* Hungarian NRC */ { } "iso646-it", FC_ITASCII, CM_INV, /* Italian NRC */ { } "iso646-no", FC_NOASCII, CM_INV, /* Norwegian and Danish NRC */ { } "iso646-po", FC_POASCII, CM_INV, /* Portuguese NRC */ { } "iso646-se", FC_SWASCII, CM_INV, /* Swedish NRC */ { } ckuxla.c:623:5: "italian", FC_ITASCII, CM_INV, /* Italian NRC */ { } ckuxla.c:626:5: "k", FC_KOI8, CM_ABR|CM_INV, { } "ko", FC_KOI8, CM_ABR|CM_INV, { } "koi", FC_KOI8, CM_ABR|CM_INV, { } "koi7", FC_KOI7, 0, /* Short KOI Cyrillic */ { } "koi8", FC_KOI8, 0, /* Old KOI-8 Cyrillic */ { } "koi8-e", FC_KOI8, CM_INV, /* Old KOI-8 Cyrillic */ { } "koi8-cyrillic", FC_KOI8, CM_INV, { } "koi8-r", FC_KOI8R, CM_INV, /* KOI8-R RFC1489 */ { } "koi8-u", FC_KOI8U, CM_INV, /* KOI8-U RFC2319 */ { } "koi8r", FC_KOI8R, 0, /* KOI8-R RFC1489 */ { } "koi8u", FC_KOI8U, 0, /* KOI8-U RFC2319 */ { } ckuxla.c:638:5: "l", FC_1LATIN, CM_ABR|CM_INV, { } "la", FC_1LATIN, CM_ABR|CM_INV, { } "lat", FC_1LATIN, CM_ABR|CM_INV, { } "lati", FC_1LATIN, CM_ABR|CM_INV, { } "latin", FC_1LATIN, CM_ABR|CM_INV, { } "latin1-iso", FC_1LATIN, 0, /* ISO Latin Alphabet 1 */ { } ckuxla.c:645:5: "latin2-iso", FC_2LATIN, 0, /* ISO Latin Alphabet 2 */ { } ckuxla.c:647:5: "latin9-iso", FC_9LATIN, 0, /* ISO Latin Alphabet 9 */ { } "macintosh-latin", FC_APPQD, 0, /* "Extended Mac Latin" */ { } ckuxla.c:650:5: "mazovia-pc", FC_MAZOVIA, 0, /* Polish Mazovia PC code page */ { } ckuxla.c:652:5: "next-multinational", FC_NEXT, 0, /* NeXT workstation */ { } "norwegian", FC_NOASCII, 0, /* Norwegian and Danish NRC */ { } "portuguese", FC_POASCII, 0, /* Portuguese NRC */ { } ckuxla.c:657:5: "short-koi", FC_KOI7, 0, /* Short KOI Cyrillic */ { } ckuxla.c:659:5: "spanish", FC_SPASCII, 0, /* Spanish NRC */ { } "swedish", FC_SWASCII, 0, /* Swedish NRC */ { } "swiss", FC_CHASCII, 0, /* Swiss NRC */ { } "transparent", FC_TRANSP, 0, /* Transparent */ { } ckuxla.c:664:5: "ucs2", FC_UCS2, 0, /* ISO 10646 / Unicode UCS-2 */ { } ckuxla.c:666:5: "us-ascii", FC_USASCII, CM_INV, /* MIME */ { } "usascii", FC_USASCII, CM_INV, { } ckuxla.c:669:5: "utf-8", FC_UTF8, CM_INV, /* ISO 10646 / Unicode UTF-8 */ { } "utf8", FC_UTF8, 0, /* ISO 10646 / Unicode UTF-8 */ { } ckuxla.c:673:5: "windows-1250", FC_CP1250, CM_INV, /* Windows CP 1250 */ { } ckuxla.c:676:5: "windows-1251", FC_CP1251, CM_INV, /* Windows CP 1251 */ { } ckuxla.c:678:5: "windows-1252", FC_CP1252, CM_INV, /* Windows CP 1252 */ { } "", 0, 0 { }; } ckuxla.c:718:27: warning: missing braces around initializer [-Wmissing-braces] struct langinfo langs[] = { ^ ckuxla.c:757:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab lngtab[] = { ^ "ascii", L_USASCII, CM_INV, { } "danish", L_DANISH, 0, { } "dutch", L_DUTCH, 0, { } "english", L_USASCII, CM_INV, { } "finnish", L_FINNISH, 0, { } "french", L_FRENCH, 0, { } "german", L_GERMAN, 0, { } ckuxla.c:766:5: "greek", L_GREEK, CM_INV, { } ckuxla.c:769:5: "hebrew", L_HEBREW, CM_INV, { } ckuxla.c:771:5: "hungarian", L_HUNGARIAN, CM_INV, { } "icelandic", L_ICELANDIC, 0, { } "italian", L_ITALIAN, CM_INV, { } ckuxla.c:775:5: "japanese", L_JAPANESE, CM_INV, { } ckuxla.c:777:5: "norwegian", L_NORWEGIAN, 0, { } "none", L_USASCII, 0, { } "portuguese", L_PORTUGUESE, CM_INV, { } ckuxla.c:781:5: "russian", L_RUSSIAN, 0, { } ckuxla.c:783:5: "spanish", L_SPANISH, CM_INV, { } "swedish", L_SWEDISH, 0, { } ckuxla.c:786:5: "ukrainian", L_RUSSIAN, 0, { } ckuxla.c:788:5: "", 0, 0 { }; } ckuxla.c:6073:1: warning: missing braces around initializer [-Wmissing-braces] { ^ ckuxla.c:6638:1: warning: missing braces around initializer [-Wmissing-braces] { ^ In file included from ckuxla.c:3: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckucns.c ckucns.c: In function 'ckcgetc': ckucns.c:804:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (n > (IBUFL - ibc)) /* Get them all at once. */ ^~ ckucns.c:806:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ((n = ttxin(n,(CHAR *)ibp)) > 0) { ^~ ckucns.c: In function 'conect': ckucns.c:1275:10: warning: implicit declaration of function 'ck_tn_encrypting' [-Wimplicit-function-declaration] if (ck_tn_encrypting() && ck_tn_decrypting()) ^~~~~~~~~~~~~~~~ ckucns.c:1275:32: warning: implicit declaration of function 'ck_tn_decrypting' [-Wimplicit-function-declaration] if (ck_tn_encrypting() && ck_tn_decrypting()) ^~~~~~~~~~~~~~~~ ckucns.c:1274:29: warning: unused variable 'u_encrypt' [-Wunused-variable] extern int me_encrypt, u_encrypt; ^~~~~~~~~ ckucns.c:1274:17: warning: unused variable 'me_encrypt' [-Wunused-variable] extern int me_encrypt, u_encrypt; ^~~~~~~~~~ In file included from ckucns.c:23: ckucns.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckutio.c ckutio.c: In function 'sysinit': ckutio.c:2291:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("LOCATION")) ^ ckutio.c:2292:8: 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:3859:20: warning: unused variable 'ttc_save' [-Wunused-variable] unsigned short ttc_save; ^~~~~~~~ ckutio.c:3858:9: warning: unused variable 'flags' [-Wunused-variable] int flags; /* fcntl flags */ ^~~~~ ckutio.c:3829:9: warning: unused variable 'x' [-Wunused-variable] int x = 0; /* Sometimes used as return code. */ ^ ckutio.c: In function 'ttres': ckutio.c:4522: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:4981:9: warning: unused variable 'x' [-Wunused-variable] int x, n; ^ ckutio.c: In function 'ttvt': ckutio.c:6988:9: warning: variable 's' set but not used [-Wunused-but-set-variable] int s, s2, x; ^ ckutio.c: In function 'ttgspd': ckutio.c:7985:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ckutio.c: In function 'myfillbuf': ckutio.c:8570:8: warning: unused variable 'error' [-Wunused-variable] int error, n = 0; ^~~~~ ckutio.c: In function 'ttflux': ckutio.c:9011:19: warning: variable 'x' set but not used [-Wunused-but-set-variable] int dotnopts, x; ^ ckutio.c: In function 'ttflui': ckutio.c:9045:9: warning: variable 'dotnopts' set but not used [-Wunused-but-set-variable] int dotnopts; ^~~~~~~~ ckutio.c:9043:9: warning: unused variable 'n' [-Wunused-variable] int n, fd; ^ ckutio.c: In function 'ttxin': ckutio.c:10222:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int fd; ^~ ckutio.c: In function 'ttol': ckutio.c:10434:7: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ ckutio.c: In function 'ttoc': ckutio.c:10620:12: warning: unused variable 'error' [-Wunused-variable] int error; ^~~~~ ckutio.c: In function 'ttinl': ckutio.c:10750:9: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int fd; ^~ ckutio.c: In function 'ttinc': ckutio.c:11151:16: warning: variable 'fd' set but not used [-Wunused-but-set-variable] int n = 0, fd; ^~ ckutio.c: In function 'msleep': ckutio.c:11577:9: warning: variable 't1' set but not used [-Wunused-but-set-variable] int t1, x; ^~ ckutio.c: In function 'concb': ckutio.c:12190:12: warning: unused variable 'y' [-Wunused-variable] int x, y = 0; ^ ckutio.c: In function 'coninc': ckutio.c:12878:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (errno == EINTR) /* Read interrupted. */ ^ ckutio.c: In function 'tt_is_secure': ckutio.c:14087:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || ck_tn_encrypting() && ck_tn_decrypting() ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ ckutio.c: In function 'pty_chk': ckutio.c:14419: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:14443:11: warning: unused variable 'w' [-Wunused-variable] PID_T w; ^ ckutio.c: In function 'ttptycmd': ckutio.c:14668:9: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration] if (openpty(&masterfd, &slavefd, NULL, NULL, NULL) == -1) { ^~~~~~~ openat ckutio.c:14583:18: warning: unused variable 't' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c:14583:15: warning: unused variable 'm' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c:14583:9: warning: unused variable 'c' [-Wunused-variable] int c, n, m, t, x; /* Workers */ ^ ckutio.c: In function 'locale_dayname': ckutio.c:15489:10: warning: unused variable 'buf' [-Wunused-variable] char buf[20]; ^~~ ckutio.c:15488:12: warning: unused variable 'date' [-Wunused-variable] char * date; ^~~~ ckutio.c: In function 'locale_monthname': ckutio.c:15511:10: warning: unused variable 'mbuf' [-Wunused-variable] char mbuf[4]; ^~~~ ckutio.c:15510:10: warning: unused variable 'buf' [-Wunused-variable] char buf[20]; ^~~ ckutio.c:15509:12: warning: unused variable 'date' [-Wunused-variable] char * date; ^~~~ ckutio.c: In function 'ttopen': ckutio.c:2568:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(ttname); ^~~~~~~~~~~~~~ ckutio.c: In function 'ttlock': ckutio.c:5295:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfd, pid_str, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ckutio.c:5320:8: warning: ignoring return value of 'link', declared with attribute warn_unused_result [-Wunused-result] link(flfnam,lock2); ^~~~~~~~~~~~~~~~~~ ckutio.c: In function 'priv_on': ckutio.c:13906:34: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] #define switchgid(hidden,active) setgid(active) ^~~~~~~~~~~~~~ ckutio.c:13931:6: note: in expansion of macro 'switchgid' switchgid(privgid,realgid); ^~~~~~~~~ At top level: ckutio.c:14418:1: warning: 'pty_chk' defined but not used [-Wunused-function] pty_chk(fd) int fd; { ^~~~~~~ ckutio.c:12166:1: warning: 'congetbuf' defined but not used [-Wunused-function] congetbuf(x) int x; { ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckufio.c ckufio.c: In function 'zinfill': ckufio.c:1964:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckufio.c: In function 'zchko': ckufio.c:2687:3: warning: label 'xzchko' defined but not used [-Wunused-label] xzchko: /* Exit point */ ^~~~~~ ckufio.c:2514:12: warning: variable 'oname' set but not used [-Wunused-but-set-variable] char * oname; ^~~~~ ckufio.c: In function 'zchdir': ckufio.c:3040:16: warning: variable 'sp' set but not used [-Wunused-but-set-variable] char *hd, *sp; ^~ ckufio.c: In function 'zstrdt': ckufio.c:4888:20: warning: unused variable 'tp' [-Wunused-variable] struct utimbuf tp; ^~ ckufio.c: In function 'zlocaltime': ckufio.c:5169:20: warning: unused variable 'tp' [-Wunused-variable] struct utimbuf tp; ^~ ckufio.c:5152:15: warning: variable 'x' set but not used [-Wunused-but-set-variable] int i, n, x, isleapyear; ^ ckufio.c: In function 'zfnqfp': ckufio.c:7549:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = zgtdir()) { /* So get current directory */ ^ ckufio.c: In function 'zvpass': ckufio.c:8296:12: warning: implicit declaration of function 'ck_tn_auth_valid' [-Wimplicit-function-declaration] && ck_tn_auth_valid() != AUTH_VALID ^~~~~~~~~~~~~~~~ ckufio.c:8567:19: warning: implicit declaration of function 'ck_tn_authenticated'; did you mean 'pam_authenticate'? [-Wimplicit-function-declaration] myatype = ck_tn_authenticated(); ^~~~~~~~~~~~~~~~~~~ pam_authenticate ckufio.c:8271:21: warning: unused variable 'salt' [-Wunused-variable] char *xpasswd, *salt; ^~~~ ckufio.c:8271:11: warning: unused variable 'xpasswd' [-Wunused-variable] char *xpasswd, *salt; ^~~~~~~ In file included from ckufio.c:42: ckufio.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ /usr/include/utmp.h: In function 'logwtmp': ckufio.c:1207:13: 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:1771:17: 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:8403:12: 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckudia.c ckudia.c:4226:26: warning: missing braces around initializer [-Wmissing-braces] struct keytab mdmtab[] = { ^ ckudia.c:4228:5: "3com-usr-megahertz-56k", n_USRX2, CM_INV, { } "acer-v90", n_RWV90, M_ALIAS, { } "atlas-newcom-33600ifxC", n_ATLAS, 0, { } "att-1900-stu-iii", n_ATT1900, 0, { } "att-1910-stu-iii", n_ATT1910, 0, { } "att-7300", n_ATTUPC, 0, { } "att-dataport", n_DATAPORT, 0, { } "att-dtdm", n_ATTDTDM, 0, { } "att-isn", n_ATTISN, 0, { } "att-keepintouch", n_KEEPINTOUCH, 0, { } "att-switched-net", n_ATTMODEM, 0, { } ckudia.c:4240:5: "att7300", n_ATTUPC, CM_INV, /* old name */ { } "attdtdm", n_ATTDTDM, CM_INV, /* old name */ { } "attisn", n_ATTISN, CM_INV, /* old name */ { } "attmodem", n_ATTMODEM, CM_INV, /* old name */ { } ckudia.c:4245:5: "bestdata", n_BESTDATA, 0, { } "boca", n_BOCA, 0, { } "cardinal", n_CARDINAL, 0, { } ckudia.c:4249:5: "ccitt-v25bis", n_CCITT, CM_INV, /* Name changed to ITU-T */ { } ckudia.c:4252:5: "cermetek", n_CERMETEK, M_OLD, { } ckudia.c:4254:5: "compaq", n_COMPAQ, 0, { } ckudia.c:4256:5: "concord", n_CONCORD, M_OLD, { } ckudia.c:4258:5: "conexant", n_CONEXANT, 0, { } "courier", n_USR, CM_INV, { } "dataport", n_DATAPORT, CM_INV, /* == att-dataport */ { } ckudia.c:4262:5: "df03-ac", n_DF03, M_OLD, { } "df100-series", n_DF100, M_OLD, { } "df200-series", n_DF200, M_OLD, { } ckudia.c:4266:5: "digitel-dt22", n_DIGITEL, 0, { } ckudia.c:4268:5: "direct", 0, CM_INV, /* Synonym for NONE */ { } ckudia.c:4270:5: "fujitsu", n_FUJITSU, 0, { } "gateway-telepath", n_TELEPATH, 0, { } ckudia.c:4273:5: "gdc-212a/ed", n_GDC, M_OLD, { } "ge", n_GENERIC, CM_INV|CM_ABR, { } "gen", n_GENERIC, CM_INV|CM_ABR, { } "gendatacomm", n_GDC, CM_INV, /* Synonym for GDC */ { } ckudia.c:4279:5: "gene", n_GENERIC, CM_INV|CM_ABR, { } "generic", n_GENERIC, 0, { } "generic-high-speed",n_GENERIC, CM_INV, { } "h", n_HAYES, CM_INV|CM_ABR, { } "ha", n_HAYES, CM_INV|CM_ABR, { } "hay", n_HAYES, CM_INV|CM_ABR, { } "haye", n_HAYES, CM_INV|CM_ABR, { } "hayes", n_HAYES, CM_INV|CM_ABR, /* Hayes 2400 */ { } ckudia.c:4288:5: "hayes-1200", n_H_1200, 0, { } ckudia.c:4290:5: "hayes-2400", n_HAYES, 0, { } ckudia.c:4292:5: "hayes-high-speed", n_H_ACCURA, 0, { } "hayes-accura", n_H_ACCURA, CM_INV, { } "hayes-optima", n_H_ACCURA, CM_INV, { } "hayes-ultra", n_H_ULTRA, CM_INV, { } "hst-courier", n_USR, CM_INV, /* Synonym for COURIER */ { } "intel", n_INTEL, 0, { } ckudia.c:4300:5: "itu-t-v250", n_ITUTV250, 0, { } "itu-t-v25bis", n_CCITT, 0, /* New name for CCITT */ { } "itu-t-v25ter/v250",n_ITUTV250, CM_INV, { } ckudia.c:4305:5: "lucent", n_LUCENT, 0, { } "maxtech", n_MAXTECH, 0, { } ckudia.c:4308:5: "megahertz-att-v34", n_MHZATT, 0, /* Megahertzes */ { } "megahertz-xjack", n_XJACK, CM_INV|CM_ABR, { } "megahertz-xjack-33.6", n_XJACK, 0, { } "megahertz-xjack-56k", n_USRX2, 0, /* 3COM/USR/Megahertz 33.6 PC Card */ { } ckudia.c:4313:5: "mi", n_MICROCOM, CM_INV|CM_ABR, { } "mic", n_MICROCOM, CM_INV|CM_ABR, { } "micr", n_MICROCOM, CM_INV|CM_ABR, { } "micro", n_MICROCOM, CM_INV|CM_ABR, { } "microc", n_MICROCOM, CM_INV|CM_ABR, { } "microco", n_MICROCOM, CM_INV|CM_ABR, { } "microcom", n_MICROCOM, CM_INV|CM_ABR, { } "microcom-at-mode", n_UCOM_AT, 0, /* Microcom DeskPorte, etc */ { } "microcom-sx-mode", n_MICROCOM, 0, /* Microcom AX,QX,SX, native mode */ { } "microlink", n_MICROLINK, 0, { } "microlink-v250", n_ULINKV250, 0, { } "motorola-codex", n_CODEX, 0, { } "motorola-fastalk", n_MOTOROLA, 0, { } "motorola-lifestyle",n_MOTOROLA, 0, { } "motorola-montana", n_MONTANA, 0, { } "motorola-sm56-v90",n_MOTSM56, 0, { } "mt5634zpx", n_MT5634ZPX, 0, { } "multitech", n_MULTI, 0, { } "mwave", n_MWAVE, 0, { } ckudia.c:4333:5: "none", 0, 0, { } ckudia.c:4336:5: "old-telebit", n_TELEBIT, 0, { } ckudia.c:4338:5: "pctel", n_PCTEL, 0, { } ckudia.c:4340:5: "penril", n_PENRIL, M_OLD, { } ckudia.c:4342:5: "ppi", n_PPI, 0, { } ckudia.c:4344:5: "racalvadic", n_RACAL, M_OLD, { } ckudia.c:4346:5: "rockwell-v32", n_RWV32, 0, { } "rockwell-v32bis", n_RWV32B, 0, { } "rockwell-v34", n_RWV34, 0, { } "rockwell-v90", n_RWV90, 0, { } "rolm", n_ROLM, CM_INV|CM_ABR, { } "rolm-244pc", n_ROLMAT, 0, { } "rolm-600-series", n_ROLMAT, 0, { } "rolm-dcm", n_ROLM, 0, { } "smartlink-v90", n_USR, M_ALIAS, { } "spirit-ii", n_SPIRITII, 0, { } "sportster", n_USR, M_ALIAS, { } "sup", n_SUPRA, CM_INV|CM_ABR, { } "supr", n_SUPRA, CM_INV|CM_ABR, { } "supra", n_SUPRA, CM_INV|CM_ABR, { } "supra-express-v90",n_SUPRAX, 0, { } "suprafaxmodem", n_SUPRA, 0, { } "suprasonic", n_SUPRASON, 0, { } ckudia.c:4366:5: "te", n_TBNEW, CM_INV|CM_ABR, { } "tel", n_TBNEW, CM_INV|CM_ABR, { } "telebit", n_TBNEW, 0, { } "telepath", n_TELEPATH, CM_INV, { } ckudia.c:4371:5: "unknown", n_UNKNOWN, 0, { } "user-defined", n_UDEF, 0, { } ckudia.c:4375:5: "usr", n_USR, CM_INV|CM_ABR, { } "usr-212a", n_HAYES, CM_INV|M_ALIAS, { } "usr-courier", n_USR, CM_INV, { } "usr-megahertz-56k", n_USRX2, 0, { } "usr-sportster", n_USR, CM_INV, { } "usr-xj1560-x2", n_USRX2, CM_INV, { } "usrobotics", n_USR, 0, { } ckudia.c:4383:5: "v25bis", n_CCITT, CM_INV, /* Name changed to ITU-T */ { } ckudia.c:4385:5: "ventel", n_VENTEL, M_OLD, { } ckudia.c:4387:5: "zoltrix-v34", n_ZOLTRIX, 0, { } "zoltrix-hsp-v90", n_PCTEL, M_ALIAS, { } "zoltrix-hcf-v90", n_ITUTV250, 0, { } "zoo", n_ZOOM, CM_INV|CM_ABR, { } "zoom", n_ZOOM, CM_INV|CM_ABR, { } "zoom-v32bis", n_ZOOM, 0, { } "zoom-v34", n_ZOOMV34, 0, { } "zoom-v90", n_ZOOMV90, 0, { } "zoom-v92", n_ZOOMV92, 0, { } "zyxel", n_ZYXEL, 0, { } ckudia.c:4398:5: "", 0, 0 { }; } ckudia.c: In function 'dialfail': ckudia.c:4995:14: warning: the address of 'lbuf' will always evaluate as 'true' [-Waddress] if (lbuf && *lbuf) { ^~~~ ckudia.c:5026:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:5026:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:5027:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:5027:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c: In function '_dodial': ckudia.c:5075:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:5075:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:5076:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:5076:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:5139:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:5139:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:5140:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:5140:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:5323:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:5323:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:5324:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:5324:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:5881:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:5881:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:5882:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:5882:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:6392:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:6392:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:6393:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:6393:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c: In function 'ckdial': ckudia.c:6564:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:6564:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:6581:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:6581:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:6582:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:6582:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:6607:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:6607:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:6608:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:6608:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:6628:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (rbuf) free(rbuf); rbuf = NULL; ^~ ckudia.c:6628:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (rbuf) free(rbuf); rbuf = NULL; ^~~~ ckudia.c:6629:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (fbuf) free(fbuf); fbuf = NULL; ^~ ckudia.c:6629:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (fbuf) free(fbuf); fbuf = NULL; ^~~~ ckudia.c:6434:9: warning: unused variable 'n' [-Wunused-variable] int n = F_TIME; ^ ckudia.c: In function 'dook': ckudia.c:6936:16: warning: unused variable 'inserver' [-Wunused-variable] extern int inserver; ^~~~~~~~ ckudia.c:6931:12: warning: unused variable 'mdmmsg' [-Wunused-variable] char * mdmmsg = ""; ^~~~~~ ckudia.c: In function 'mdmhup': ckudia.c:8068:15: warning: unused variable 'p' [-Wunused-variable] char *s, *p, c; ^ ckudia.c:8064: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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcnet.c ckcnet.c: In function 'ck_linger': ckcnet.c:1709:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && ckcnet.c: In function 'sendbuf': ckcnet.c:1831:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'recvbuf': ckcnet.c:1927:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && ckcnet.c: In function 'keepalive': ckcnet.c:2018:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'dontroute': ckcnet.c:2136:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'no_delay': ckcnet.c:2254:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nettype != NET_TCPA && nettype != NET_TCPB && nettype != NET_SSH ckcnet.c: In function 'tcpsrv_open': ckcnet.c:2976:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&saddr.sin_addr,4,PF_INET)) { ^~~~ ckcnet.c: In function 'netopen': ckcnet.c:3901:17: warning: variable 'uidfound' set but not used [-Wunused-but-set-variable] int uidfound=0; ^~~~~~~~ ckcnet.c:4889:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((tcp_rdns && dns || tcp_rdns == SET_ON ~~~~~~~~~^~~~~~ ckcnet.c:4910:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^~~~ ckcnet.c:3541: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:5091:19: warning: unused variable 'z' [-Wunused-variable] int x = 0, y, z; ^ ckcnet.c:5091:16: warning: unused variable 'y' [-Wunused-variable] int x = 0, y, z; ^ ckcnet.c: In function 'getlocalipaddr': ckcnet.c:6983:20: warning: unused variable 'laddr' [-Wunused-variable] struct in_addr laddr; ^~~~~ In file included from ckcnet.h:1245, from ckcnet.c:58: ckcnet.c: In function 'netbreak': ckctel.h:183:60: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (unsigned int)(x) >= TELCMD_FIRST || \ ^~ ckctel.h:185:26: note: in expansion of macro 'TELCMD_OK' #define TELCMD(x) (TELCMD_OK(x)? ((x) == TN_SAK?"SAK": \ ^~~~~~~~~ ckcnet.c:7571:59: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET SENT ",TELCMD(BREAK), ^~~~~~ ckcnet.c: In function 'http_date': ckcnet.c:9985:17: warning: unused variable 'cmdatebuf' [-Wunused-variable] extern char cmdatebuf[18]; ^~~~~~~~~ ckcnet.c: In function 'http_security': ckcnet.c:10203:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(tls_http_con); ^ ckcnet.c:10200:21: warning: variable 'cipher_list' set but not used [-Wunused-but-set-variable] const char *cipher_list; ^~~~~~~~~~~ ckcnet.c: In function 'http_open': ckcnet.c:10794:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (host = gethostbyaddr((char *)&r_addr.sin_addr,4,PF_INET)) { ^~~~ ckcnet.c:10253:12: warning: unused variable 'x' [-Wunused-variable] int i, x, dns = 0; ^ ckcnet.c: In function 'http_tol': ckcnet.c:10953:13: warning: unused variable 'error' [-Wunused-variable] int error, r; ^~~~~ ckcnet.c: In function 'http_inc': ckcnet.c:11367:4: warning: label 'ssl_read2' defined but not used [-Wunused-label] ssl_read2: ^~~~~~~~~ ckcnet.c:11152:4: warning: label 'ssl_read' defined but not used [-Wunused-label] ssl_read: ^~~~~~~~ ckcnet.c: In function 'http_head': ckcnet.c:11872:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^~~~~~~ ckcnet.c:11871:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^~~~~ ckcnet.c:11870:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^~~~~ ckcnet.c: In function 'http_index': ckcnet.c:12062:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^~~~~~~ ckcnet.c:12061:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^~~~~ ckcnet.c:12060:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^~~~~ ckcnet.c: In function 'http_put': ckcnet.c:12310:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^~~~~~~ ckcnet.c:12309:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^~~~~ ckcnet.c:12308:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^~~~~ ckcnet.c: In function 'http_delete': ckcnet.c:12615:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^~~~~~~ ckcnet.c:12614:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^~~~~ ckcnet.c:12613:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^~~~~ ckcnet.c: In function 'http_post': ckcnet.c:12855:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^~~~~~~ ckcnet.c:12854:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^~~~~ ckcnet.c:12853:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^~~~~ ckcnet.c: In function 'http_connect': ckcnet.c:13143:12: warning: variable 'local_t' set but not used [-Wunused-but-set-variable] time_t local_t; ^~~~~~~ ckcnet.c:13142:12: warning: unused variable 'srv_t' [-Wunused-variable] time_t srv_t; ^~~~~ ckcnet.c:13141:12: warning: unused variable 'mod_t' [-Wunused-variable] time_t mod_t; ^~~~~ ckcnet.c: In function 'locate_srv_dns': ckcnet.c:13529:22: warning: macro expands to multiple statements [-Wmultistatement-macros] INCR_CHECK(p, rdlen); ^ ckcnet.c:13316:25: note: in definition of macro 'INCR_CHECK' #define INCR_CHECK(x,y) x += y; if (x > size + answer.bytes) goto dnsout ^ ckcnet.c:13528:11: note: some parts of macro expansion are not guarded by this 'else' clause } else ^~~~ ckcnet.c: In function 'fwdx_create_listen_socket': ckcnet.c:13748:33: warning: variable 'i' set but not used [-Wunused-but-set-variable] int display, port, sock=-1, i; ^ ckcnet.c: In function 'fwdx_open_client_channel': ckcnet.c:13829:16: warning: unused variable 'dot' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^~~ ckcnet.c:13829:9: warning: unused variable 'colon' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^~~~~ ckcnet.c: In function 'fwdx_server_avail': ckcnet.c:13984:9: warning: unused variable 'on' [-Wunused-variable] int on=1; ^~ ckcnet.c:13981:42: warning: unused variable 'i' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^ ckcnet.c:13981:16: warning: unused variable 'dot' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^~~ ckcnet.c:13981:9: warning: unused variable 'colon' [-Wunused-variable] int colon, dot, display, port, sock, i, screen; ^~~~~ ckcnet.c: In function 'fwdx_open_server_channel': ckcnet.c:14134:21: warning: unused variable 'p' [-Wunused-variable] unsigned char * p; ^ ckcnet.c:14133:20: warning: unused variable 'nchannel' [-Wunused-variable] unsigned short nchannel; ^~~~~~~~ ckcnet.c:14117:10: warning: unused variable 'sb' [-Wunused-variable] char sb[8]; ^~ ckcnet.c:14107:46: warning: unused variable 'i' [-Wunused-variable] int sock, ready_to_accept, sock2,channel,i; ^ ckcnet.c: In function 'fwdx_write_data_to_channel': ckcnet.c:14303:22: warning: unused variable 'try' [-Wunused-variable] int sock, count, try=0, length = len, i; ^~~ ckcnet.c: In function 'fwdx_check_sockets': ckcnet.c:14358:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( sstelnet && !TELOPT_ME(TELOPT_FORWARD_X) || ckcnet.c: In function 'fwdx_init_fd_set': ckcnet.c:14391:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( sstelnet && !TELOPT_ME(TELOPT_FORWARD_X) || At top level: ckcnet.c:3536: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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckctel.c ckctel.c: In function 'tn_outst': ckctel.c:351:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (TELOPT_SB(TELOPT_ENCRYPTION).encrypt.stop && e || ckctel.c:366:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (TELOPT_SB(TELOPT_ENCRYPTION).encrypt.stop && d || In file included from ckcnet.h:1245, 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:22: warning: array subscript has type 'char' [-Wchar-subscripts] tncnts[index][tnopps[m]] = 0; ^ In file included from ckcnet.h:1245, 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 'fwdx_tn_sb': ckctel.c:1259:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ( sstelnet && !TELOPT_ME(TELOPT_FORWARD_X) || ckctel.c: In function 'fwdx_send_xauth_to_xserver': ckctel.c:1453:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (hi = gethostbyname(host)) ^~ ckctel.c:1430:29: warning: unused variable 'p' [-Wunused-variable] unsigned char *sb, *p; ^ ckctel.c:1430:24: warning: unused variable 'sb' [-Wunused-variable] unsigned char *sb, *p; ^~ ckctel.c:1428:45: warning: unused variable 'sb_len' [-Wunused-variable] int c, err, dpynum, scrnum, family, sb_len; ^~~~~~ ckctel.c:1428:16: warning: unused variable 'err' [-Wunused-variable] int c, err, dpynum, scrnum, family, sb_len; ^~~ ckctel.c:1428:13: warning: unused variable 'c' [-Wunused-variable] int c, err, dpynum, scrnum, family, sb_len; ^ ckctel.c: In function 'iks_tn_sb': ckctel.c:2409:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || !local && cmdadl ~~~~~~~^~~~~~~~~ ckctel.c: In function 'tn_set_modes': ckctel.c:2511:15: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ ckctel.c: In function 'tn_siks': ckctel.c:3485:11: warning: unused variable 'm' [-Wunused-variable] int n,m,rc; ^ ckctel.c:3485:9: warning: unused variable 'n' [-Wunused-variable] int n,m,rc; ^ ckctel.c: In function 'tn_sb': ckctel.c:3637:21: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckctel.c:3587:21: warning: unused variable 'm' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c:3587:12: warning: unused variable 'x' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c:3587:9: warning: unused variable 'c' [-Wunused-variable] int c, x, y, n, m, flag; ^ ckctel.c: In function 'tn_no_encrypt': ckctel.c:4344:5: warning: implicit declaration of function 'ck_tn_enc_stop'; did you mean 'ck_tn_encrypt_stop'? [-Wimplicit-function-declaration] ck_tn_enc_stop(); ^~~~~~~~~~~~~~ ck_tn_encrypt_stop In file included from ckcnet.h:1245, 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:4416: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:4444: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:4505:51: note: in expansion of macro 'TELCMD' ckmakmsg(tn_msg,TN_MSG_LEN,"TELNET RCVD ",TELCMD(c)," ",TELOPT(x)); ^~~~~~ ckctel.c:5208:33: warning: unused variable 'line' [-Wunused-variable] extern char * line; ^~~~ ckctel.c:4394:21: warning: unused variable 'm' [-Wunused-variable] int c, x, y, n, m; ^ ckctel.c: In function 'tn_rnenv': ckctel.c:5674:15: warning: unused variable 'n' [-Wunused-variable] int i,j,k,n; /* Worker. */ ^ ckctel.c:5673:25: warning: unused variable 's' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c:5673:12: warning: unused variable 'reply' [-Wunused-variable] char * reply = 0, * s = 0; ^~~~~ ckctel.c: In function 'tn_snenv': ckctel.c:5844:25: warning: unused variable 's' [-Wunused-variable] char * reply = 0, * s = 0; ^ ckctel.c: In function 'tn_sndcomport': ckctel.c:6663:18: warning: variable 'signature' set but not used [-Wunused-but-set-variable] CONST char * signature; ^~~~~~~~~ ckctel.c:6662:50: warning: variable 'iflow' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^~~~~ ckctel.c:6662:43: warning: variable 'oflow' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^~~~~ ckctel.c:6662:33: warning: variable 'stopsize' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^~~~~~~~ ckctel.c:6662:25: warning: variable 'parity' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^~~~~~ ckctel.c:6662:15: warning: variable 'datasize' set but not used [-Wunused-but-set-variable] int baud, datasize, parity, stopsize, oflow, iflow; ^~~~~~~~ ckctel.c:6662: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:9002:9: warning: unused variable 'rc' [-Wunused-variable] int rc = -1; ^~ At top level: ckctel.c:1936:1: warning: 'fwdx_add_quoted_twobyte' defined but not used [-Wunused-function] fwdx_add_quoted_twobyte(unsigned char *p, unsigned short twobyte) ^~~~~~~~~~~~~~~~~~~~~~~ ckctel.c:1074:1: warning: 'get_local_hostname' defined but not used [-Wunused-function] get_local_hostname (char *buf, int maxlen) ^~~~~~~~~~~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckusig.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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcuni.c ckcuni.c:4378:37: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_transparent = { ^ ckcuni.c:4380:5: 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, { ckcuni.c:4412:1: }; } ckcuni.c:4416:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_ascii = { ^ ckcuni.c:4418:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4430:1: }; } ckcuni.c:4432:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_british = { ^ ckcuni.c:4434:13: 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4446:1: }; } ckcuni.c:4448:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dutch = { ^ ckcuni.c:4450:13: 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4462:1: }; } ckcuni.c:4464:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_finnish = { ^ ckcuni.c:4466:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4478:1: }; } ckcuni.c:4480:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_french = { ^ ckcuni.c:4482:13: 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4494:1: }; } ckcuni.c:4496:37: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_fr_canadian = { ^ ckcuni.c:4498:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4510:1: }; } ckcuni.c:4512:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_german = { ^ ckcuni.c:4514:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4526:1: }; } ckcuni.c:4528:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hungarian = { ^ ckcuni.c:4530:13: 0x0021, 0x0022, 0x0023, 0x00a4, 0x0025, 0x0026, 0x0027, { ckcuni.c:4542:1: }; } ckcuni.c:4544:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_italian = { ^ ckcuni.c:4546:13: 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4558:1: }; } ckcuni.c:4560:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_icelandic = { ^ ckcuni.c:4562:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4574:1: }; } ckcuni.c:4576:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_jis0201r = { ^ ckcuni.c:4578:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4590:1: }; } ckcuni.c:4592:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_jis0201k = { ^ ckcuni.c:4594:13: 0xff61, 0xff62, 0xff63, 0xff64, 0xff65, 0xff66, 0xff67, { ckcuni.c:4606:1: }; } ckcuni.c:4608:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_norwegian = { /* Same as Danish */ ^ ckcuni.c:4610:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4622:1: }; } ckcuni.c:4624:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_danish = { /* Same as Norwegian */ ^ ckcuni.c:4626:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4638:1: }; } ckcuni.c:4640:36: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_portuguese = { ^ ckcuni.c:4642:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4654:1: }; } ckcuni.c:4656:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_spanish = { ^ ckcuni.c:4658:13: 0x0021, 0x0022, 0x00a3, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4670:1: }; } ckcuni.c:4672:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_swedish = { ^ ckcuni.c:4674:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4686:1: }; } ckcuni.c:4688:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_swiss = { ^ ckcuni.c:4690:13: 0x0021, 0x0022, 0x00f9, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4702:1: }; } ckcuni.c:4704:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi7 = { ^ ckcuni.c:4706:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4718:1: }; } ckcuni.c:4720:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_elot927 = { ^ ckcuni.c:4722:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4734:1: }; } ckcuni.c:4737:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hebrew7 = { ^ ckcuni.c:4739:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:4751:1: }; } ckcuni.c:4753:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl1 = { ^ ckcuni.c:4755:13: 0x00a8, 0x0029, 0x003c, 0x2264, 0x003d, 0x003e, 0x005d, { ckcuni.c:4767:1: }; } ckcuni.c:4771:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_1 = { ^ ckcuni.c:4773:5: 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, { ckcuni.c:4785:1: }; } ckcuni.c:4787:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_2 = { ^ ckcuni.c:4789:5: 0x00A0, 0x0104, 0x02D8, 0x0141, 0x00A4, 0x013D, 0x015A, 0x00A7, { ckcuni.c:4801:1: }; } ckcuni.c:4803:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_3 = { ^ ckcuni.c:4805:5: 0x00A0, 0x0126, 0x02D8, 0x00A3, 0x00A4, 0xfffd, 0x0124, 0x00A7, { ckcuni.c:4817:1: }; } ckcuni.c:4819:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_4 = { ^ ckcuni.c:4821:5: 0x00A0, 0x0104, 0x0138, 0x0156, 0x00A4, 0x0128, 0x013B, 0x00A7, { ckcuni.c:4833:1: }; } ckcuni.c:4835:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_5 = { ^ ckcuni.c:4837:5: 0x00A0, 0x0401, 0x0402, 0x0403, 0x0404, 0x0405, 0x0406, 0x0407, { ckcuni.c:4849:1: }; } ckcuni.c:4851:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_6 = { ^ ckcuni.c:4853:5: 0x00A0, 0xfffd, 0xfffd, 0xfffd, 0x00A4, 0xfffd, 0xfffd, 0xfffd, { ckcuni.c:4865:1: }; } ckcuni.c:4867:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_7 = { ^ ckcuni.c:4869:5: 0x00A0, 0x2018, 0x2019, 0x00A3, 0xFFFD, 0xFFFD, 0x00A6, 0x00A7, { ckcuni.c:4881:1: }; } ckcuni.c:4883:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_8 = { ^ ckcuni.c:4885:5: 0x00A0, 0xfffd, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, { ckcuni.c:4897:1: }; } ckcuni.c:4899:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_9 = { ^ ckcuni.c:4901:5: 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, { ckcuni.c:4913:1: }; } ckcuni.c:4915:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_10 = { ^ ckcuni.c:4917:5: 0x00a0, 0x0104, 0x0112, 0x0122, 0x012a, 0x0128, 0x0136, 0x013b, { ckcuni.c:4929:1: }; } ckcuni.c:4942:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_8859_15 = { ^ ckcuni.c:4944:5: 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x20AC, 0x00A5, 0x0160, 0x00A7, { ckcuni.c:4956:1: }; } ckcuni.c:4961:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl2 = { /* Dyadic Systems APL + box drawings */ ^ ckcuni.c:4963:5: 0x00a0, 0x00d7, 0x2502, 0x2524, 0x00a2, 0x2510, 0x2514, 0x2534, { ckcuni.c:4975:1: }; } ckcuni.c:4977:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl3 = { /* APL-Plus = APL-2000 */ ^ ckcuni.c:4979:5: 0x20ac, 0x22a3, 0x22a4, 0x22a5, 0x2190, 0x2192, 0x2191, 0x2193, { ckcuni.c:4995:1: }; } ckcuni.c:4997:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl4 = { /* IBM APL2 */ ^ ckcuni.c:4999:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, { ckcuni.c:5015:1: }; } ckcuni.c:5017:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_apl5 = { /* APL-2741 */ ^ ckcuni.c:5019:5: 0x20ac, 0x22a3, 0x22a4, 0x22a5, 0x2190, 0x2192, 0x2191, 0x2193, { ckcuni.c:5035:1: }; } ckcuni.c:5039:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi8 = { ^ ckcuni.c:5041:5: 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, { ckcuni.c:5053:1: }; } ckcuni.c:5057:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi8r = { /* (Russia) Table from RFC1489 */ ^ ckcuni.c:5059:5: 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, { ckcuni.c:5075:1: }; } ckcuni.c:5077:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_koi8u = { /* (Ukraine) From RFC2319 */ ^ ckcuni.c:5079:5: 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, { ckcuni.c:5095:1: }; } ckcuni.c:5099:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp437 = { ^ ckcuni.c:5101:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, { ckcuni.c:5117:1: }; } ckcuni.c:5119:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_mazovia = { ^ ckcuni.c:5121:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x0105, 0x00e7, /* 80 */ { ckcuni.c:5137:1: }; } ckcuni.c:5139:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp850 = { ^ ckcuni.c:5141:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, { ckcuni.c:5157:1: }; } ckcuni.c:5159:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp852 = { ^ ckcuni.c:5161:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x016f, 0x0107, 0x00e7, { ckcuni.c:5177:1: }; } ckcuni.c:5179:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp855 = { /* CP855 Cyrillic to Unicode */ ^ ckcuni.c:5181:5: 0x0452, 0x0402, 0x0453, 0x0403, 0x0451, 0x0401, 0x0454, 0x0404, { ckcuni.c:5197:1: }; } ckcuni.c:5199:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp856 = { /* CP856 (Bulgaria) to Unicode */ ^ ckcuni.c:5201:5: 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, { ckcuni.c:5217:1: }; } ckcuni.c:5219:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp857 = { ^ ckcuni.c:5221:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, /* 0x80 */ { ckcuni.c:5237:1: }; } ckcuni.c:5239:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp858 = { ^ ckcuni.c:5241:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, { ckcuni.c:5257:1: }; } ckcuni.c:5259:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp862 = { ^ ckcuni.c:5261:5: 0x05d0, 0x05d1, 0x05d2, 0x05d3, 0x05d4, 0x05d5, 0x05d6, 0x05d7, { ckcuni.c:5277:1: }; } ckcuni.c:5279:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp864 = { ^ ckcuni.c:5281:5: 0x00b0, 0x00b7, 0x2219, 0x221a, 0x2592, 0x2500, 0x2502, 0x253c, { ckcuni.c:5297:1: }; } ckcuni.c:5299:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp866 = { ^ ckcuni.c:5301:5: 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, { ckcuni.c:5317:1: }; } ckcuni.c:5319:31: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp869 = { ^ ckcuni.c:5321:5: 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0x0386, 0xfffd, { ckcuni.c:5337:1: }; } ckcuni.c:5341:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1250 = { /* Windows Latin-2 */ ^ ckcuni.c:5343:5: 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ { ckcuni.c:5359:1: }; } ckcuni.c:5361:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1251 = { /* Windows Cyrillic */ ^ ckcuni.c:5363:5: 0x0402, 0x0403, 0x201a, 0x0453, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ { ckcuni.c:5379:1: }; } ckcuni.c:5381:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1252 = { /* Windows Latin-1 */ ^ ckcuni.c:5393:5: 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, { ckcuni.c:5409:1: }; } ckcuni.c:5411:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1253 = { /* Windows Greece */ ^ ckcuni.c:5413:5: 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ { ckcuni.c:5429:1: }; } ckcuni.c:5431:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1254 = { /* Windows Turkey */ ^ ckcuni.c:5433:5: 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ { ckcuni.c:5449:1: }; } ckcuni.c:5451:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1255 = { /* Windows Hebrew */ ^ ckcuni.c:5454:5: 0x20AC, 0xFFFD, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, { ckcuni.c:5470:1: }; } ckcuni.c:5472:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1256 = { /* Windows Arabic */ ^ ckcuni.c:5475:5: 0x20ac, 0x067e, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, { ckcuni.c:5491:1: }; } ckcuni.c:5493:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1257 = { /* Windows Latin-4 */ ^ ckcuni.c:5495:5: 0x20ac, 0xfffd, 0x201a, 0xfffd, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ { ckcuni.c:5511:1: }; } ckcuni.c:5513:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp1258 = { /* Windows Viet Nam */ ^ ckcuni.c:5516:5: 0x20ac, 0xfffd, 0x201a, 0x0192, 0x201e, 0x2026, 0x2020, 0x2021, /* 80 */ { ckcuni.c:5532:1: }; } ckcuni.c:5534:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_cp37 = { /* EBCDIC U.S. */ ^ ckcuni.c:5536:5: 0x0000, 0x0001, 0x0002, 0x0003, 0x009C, 0x0009, 0x0086, 0x007F, { ckcuni.c:5568:1: }; } ckcuni.c:5572:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_decmcs = { ^ ckcuni.c:5574:5: 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0xfffd, 0x00A5, 0xfffd, 0x00A7, { ckcuni.c:5586:1: }; } ckcuni.c:5588:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hproman8 = { ^ ckcuni.c:5590:5: 0x00a0, 0x00c0, 0x00c2, 0x00c8, 0x00ca, 0x00cb, 0x00ce, 0x00cf, { ckcuni.c:5602:1: }; } ckcuni.c:5604:29: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgi = { ^ ckcuni.c:5606:5: 0x00a0, 0x00ac, 0x00bd, 0x00b5, 0x00b2, 0x00b3, 0x00a4, 0x00a2, { ckcuni.c:5618:1: }; } ckcuni.c:5620:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_nextstep = { ^ ckcuni.c:5622:5: 0x00a0, 0x00c0, 0x00c1, 0x00c2, 0x00c3, 0x00c4, 0x00c5, 0x00c7, { ckcuni.c:5638:1: }; } ckcuni.c:5640:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_maclatin = { ^ ckcuni.c:5642:5: 0x00C4, 0x00C5, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1, { ckcuni.c:5658:1: }; } ckcuni.c:5660:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_quickdraw = { ^ ckcuni.c:5662:5: 0x00C4, 0x00C5, 0x00C7, 0x00C9, 0x00D1, 0x00D6, 0x00DC, 0x00E1, { ckcuni.c:5678:1: }; } ckcuni.c:5699:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dectech = { ^ ckcuni.c:5701:13: 0x221a, 0x250c, 0x2500, 0x2320, 0x2321, 0x2502, 0x2308, /* 21-27 */ { ckcuni.c:5713:1: }; } ckcuni.c:5733:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_decspec = { ^ ckcuni.c:5735:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:5747:1: }; } ckcuni.c:5759:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hz1500 = { ^ ckcuni.c:5762:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, /* 0 */ { ckcuni.c:5775:1: }; } ckcuni.c:5794:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_heath19g = { ^ ckcuni.c:5796:13: 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, { ckcuni.c:5808:1: }; } ckcuni.c:5818:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgspec = { /* Needs to be checked */ ^ ckcuni.c:5820:13: 0xfffd, 0xfffd, 0x2424, 0x2594, 0x2594, 0x2581, 0x2581, { ckcuni.c:5832:1: }; } ckcuni.c:5836:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgline = { ^ ckcuni.c:5838:13: 0x250c, 0x2510, 0x2514, 0x2518, 0x252c, 0x2524, 0x251c, { ckcuni.c:5850:1: }; } ckcuni.c:5852:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_dgword = { ^ ckcuni.c:5854:13: 0x2308, 0x230a, 0x2309, 0x230b, 0x0192, 0x223c, 0x2202, { ckcuni.c:5866:1: }; } ckcuni.c:5875:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hpline = { /* Needs to be checked */ ^ ckcuni.c:5878:13: 0x2520, 0x2528, 0x252f, 0x2537, 0x255f, 0x2562, 0x2564, { ckcuni.c:5890:1: }; } ckcuni.c:5892:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_hpmath = { ^ ckcuni.c:5894:13: 0x221a, 0x2223, 0x00a7, 0x2207, 0x00b1, 0x03b1, 0x2320, { ckcuni.c:5906:1: }; } ckcuni.c:5908:30: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_tvig = { ^ ckcuni.c:5910:13: 0x2570, 0x256D, 0x256E, 0x256F, 0x2514, 0x250C, 0x2510, { ckcuni.c:5912:1: }; } ckcuni.c:5914:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_gn = { ^ ckcuni.c:5921:5: 0x252C, 0x2514, 0x250C, 0x2510, 0x251C, 0x2518, 0x2502, 0x2588, { ckcuni.c:5932:1: }; } ckcuni.c:5934:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_g1 = { ^ ckcuni.c:5936:5: 0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2075, 0x2077, { ckcuni.c:5946:1: }; } ckcuni.c:5948:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_g2 = { ^ ckcuni.c:5950:5: 0x250C, 0xFFFD, 0xFFFD, 0xFFFD, 0x2510, 0xFFFD, 0xFFFD, 0xFFFD, { ckcuni.c:5956:1: }; } ckcuni.c:5967:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_wyse_g3 = { ^ ckcuni.c:5969:13: 0x2570, 0x256D, 0x256E, 0x256F, 0x2514, 0x250C, 0x2510, { ckcuni.c:5973:1: }; } ckcuni.c:5982:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_qnxgrph = { ^ ckcuni.c:5984:5: 0x00c7, 0x00fc, 0x00e9, 0x00e2, 0x00e4, 0x00e0, 0x00e5, 0x00e7, /* 128 */ { ckcuni.c:6000:1: }; } ckcuni.c:6002:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_snibrack = { ^ ckcuni.c:6004:13: 0x2590, 0x258c, 0x2584, 0x2580, 0x2590, 0x258c, 0x2584, /* a0-7 */ { ckcuni.c:6016:1: }; } ckcuni.c:6018:35: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_sniblanks = { ^ ckcuni.c:6020:13: 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, /* a0-7 */ { ckcuni.c:6032:1: }; } ckcuni.c:6034:34: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_snifacet = { ^ ckcuni.c:6036:13: 0x0020, 0x2581, 0x2582, 0x2583, 0x2584, 0x2585, 0x2587, /* a1-a7 */ { ckcuni.c:6048:1: }; } ckcuni.c:6050:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_sniibm = { ^ ckcuni.c:6052:13: 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x25cf, { ckcuni.c:6064:1: }; } ckcuni.c:6066:33: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_snieuro = { ^ ckcuni.c:6068:13: 0x00e0, 0x00e1, 0x00e2, 0x00e4, 0x00e5, 0x0105, 0x00e3, { ckcuni.c:6080:1: }; } ckcuni.c:6082:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_smiley = { ^ ckcuni.c:6084:5: 0x00a0, 0x263a, 0x263b, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022, { ckcuni.c:6088:1: }; } ckcuni.c:6090:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_c0pics = { ^ ckcuni.c:6092:5: 0x2400, 0x2401, 0x2402, 0x2403, 0x2404, 0x2405, 0x2406, 0x2407, { ckcuni.c:6108:1: }; } ckcuni.c:6119:32: warning: missing braces around initializer [-Wmissing-braces] struct x_to_unicode u_c1pics = { ^ ckcuni.c:6121:5: 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, 0xfffd, { ckcuni.c:6125:1: }; } ckcuni.c:16153:1: warning: 'isunicode' defined but not used [-Wunused-function] isunicode( /* Tells whether the host we are */ ^~~~~~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckupty.c ckupty.c: In function 'ptyint_vhangup': ckupty.c:537:5: warning: implicit declaration of function 'vhangup' [-Wimplicit-function-declaration] vhangup(); ^~~~~~~ ckupty.c: In function 'pty_getpty': ckupty.c:707:9: warning: implicit declaration of function 'openpty'; did you mean 'open'? [-Wimplicit-function-declaration] if (openpty(fd, ^~~~~~~ open ckupty.c:692:17: warning: unused variable 'stb' [-Wunused-variable] struct stat stb; ^~~ ckupty.c:691:12: warning: unused variable 'ptynum' [-Wunused-variable] int i, ptynum; ^~~~~~ ckupty.c:691:9: warning: unused variable 'i' [-Wunused-variable] int i, ptynum; ^ ckupty.c:690:11: warning: unused variable 'p' [-Wunused-variable] char *p; ^ ckupty.c:689:11: warning: unused variable 'cp' [-Wunused-variable] char *cp; ^~ ckupty.c: In function 'pty_open_slave': ckupty.c:1088:14: warning: unused variable 'testfd' [-Wunused-variable] int vfd, testfd; ^~~~~~ ckupty.c:1088:9: warning: unused variable 'vfd' [-Wunused-variable] int vfd, testfd; ^~~ ckupty.c: In function 'do_pty': ckupty.c:1950:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(syncpipe[1],"y",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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckcftp.c ckcftp.c: In function 'doftpusr': ckcftp.c:3163:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^~~~~~~ ckcftp.c: In function 'putfile': ckcftp.c:4477:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] else if (rc == SKP_SIM) ^ ckcftp.c:4475:21: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] else if (rc == SKP_XUP) ^ ckcftp.c:4473:16: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (rc == SKP_XNX) ^ ckcftp.c: In function 'cmdlinget': ckcftp.c:6165: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:7316:20: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckcftp.c:6555:12: warning: unused variable 'pat' [-Wunused-variable] char * pat = ""; ^~~ ckcftp.c:6550:9: warning: unused variable 'matchdot' [-Wunused-variable] int matchdot = 0; ^~~~~~~~ ckcftp.c: In function 'ftpcmd': ckcftp.c:9763: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 'ssl_auth': ckcftp.c:10220:9: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] client_method = TLSv1_client_method(); ^~~~~~~~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ckcftp.c:535: /usr/include/openssl/ssl.h:1634:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ ckcftp.c:10432:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ^ ckcftp.c:10177:11: warning: unused variable 'p' [-Wunused-variable] char* p; ^ ckcftp.c:10176:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckcftp.c: In function 'xlatec': ckcftp.c:10715:13: warning: unused variable 'c1' [-Wunused-variable] int c0, c1; ^~ ckcftp.c: In function 'getreply': ckcftp.c:11203:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (ftpcode && n == '6') ^ ckcftp.c:10916:9: warning: variable 'safe' set but not used [-Wunused-but-set-variable] int safe = 0; ^~~~ ckcftp.c: In function 'doftpsend2': ckcftp.c:11755:18: warning: variable 'notafile' set but not used [-Wunused-but-set-variable] int n, t, x, notafile, unique = 0; ^~~~~~~~ ckcftp.c:11755:12: warning: unused variable 't' [-Wunused-variable] int n, t, x, notafile, unique = 0; ^ ckcftp.c: In function 'doftprecv2': ckcftp.c:12689:24: warning: variable 'p' set but not used [-Wunused-but-set-variable] char * p; ^ ckcftp.c:12705:17: warning: unused variable 't' [-Wunused-variable] int t; ^ ckcftp.c:12483:12: warning: unused variable 'p' [-Wunused-variable] char * p; ^ ckcftp.c:12482:23: warning: variable 'stop' set but not used [-Wunused-but-set-variable] ULONG start = 0L, stop; ^~~~ ckcftp.c:12482:11: warning: variable 'start' set but not used [-Wunused-but-set-variable] ULONG start = 0L, stop; ^~~~~ ckcftp.c: In function 'initconn': ckcftp.c:13102:17: warning: unused variable 's' [-Wunused-variable] int s; ^ ckcftp.c: In function 'dataconn': ckcftp.c:13476:9: warning: unused variable 'tos' [-Wunused-variable] int tos; ^~~ ckcftp.c: In function 'cancel_remote': ckcftp.c:14460:24: warning: unused variable 'error' [-Wunused-variable] int count, error; ^~~~~ ckcftp.c: In function 'ftp_login': ckcftp.c:15110:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (uidbuf[0] && (ftp_tmp || pwbuf[0] && pwflg)) { ~~~~~~~~~^~~~~~~~ ckcftp.c:15073:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^~~~~~~ ckcftp.c: In function 'remote_files': ckcftp.c:15661:7: warning: label 'notemp' defined but not used [-Wunused-label] notemp: ^~~~~~ ckcftp.c:15453:9: warning: unused variable 'i' [-Wunused-variable] int i, x, forced = 0; ^ ckcftp.c: In function 'secure_putbuf': ckcftp.c:16043:25: warning: unused variable 'bufsize' [-Wunused-variable] static unsigned int bufsize = 0; /* size of outbuf */ ^~~~~~~ In file included from ckcftp.c:143: ckcftp.c: At top level: ckcuni.h:232:22: warning: 'isunicode' declared 'static' but never defined [-Wunused-function] _PROTOTYP(static int isunicode, (void)); ^~~~~~~~~ ckcdeb.h:1272:34: note: in definition of macro '_PROTOTYP' #define _PROTOTYP( func, parms ) func parms ^~~~ ckcftp.c:16043:25: warning: 'bufsize' defined but not used [-Wunused-variable] static unsigned int bufsize = 0; /* size of outbuf */ ^~~~~~~ ckcftp.c:9719:17: warning: 'ptflag' defined but not used [-Wunused-variable] static int ptflag = 0; ^~~~~~ ckcftp.c:2038:1: warning: 'bytswap' defined but not used [-Wunused-function] bytswap(c0,c1) int * c0, * c1; { ^~~~~~~ ckcftp.c:2028:1: warning: 'xprintc' defined but not used [-Wunused-function] xprintc(char c) ^~~~~~~ ckcftp.c:1983:12: warning: 'nhashtab' defined but not used [-Wunused-variable] static int nhashtab = sizeof(hashtab) / sizeof(struct keytab) - 1; ^~~~~~~~ ckcftp.c:1973:12: warning: 'nciphertab' defined but not used [-Wunused-variable] static int nciphertab = sizeof(ciphertab) / sizeof(struct keytab) - 1; ^~~~~~~~~~ ckcftp.c:1025:12: warning: 'ptabflg' defined but not used [-Wunused-variable] static int ptabflg = 0; ^~~~~~~ ckcftp.c:1024:16: warning: 'jcancel' defined but not used [-Wunused-variable] static jmp_buf jcancel; ^~~~~~~ ckcftp.c:1023:16: warning: 'ptcancel' defined but not used [-Wunused-variable] static jmp_buf ptcancel; ^~~~~~~~ ckcftp.c:979:12: warning: 'local' defined but not used [-Wunused-variable] static int local = 1; /* Shadows Kermit global 'local' */ ^~~~~ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ckuath.c ckuath.c: In function 'ck_tn_enc_start': ckuath.c:1365:12: warning: implicit declaration of function 'encrypt_is_decrypting'; did you mean 'encrypt_is_encrypting'? [-Wimplicit-function-declaration] (!encrypt_is_decrypting() || !encrypt_is_encrypting())) { ^~~~~~~~~~~~~~~~~~~~~ encrypt_is_encrypting ckuath.c:1372:9: warning: implicit declaration of function 'encrypt_request_start'; did you mean 'encrypt_send_request_start'? [-Wimplicit-function-declaration] encrypt_request_start(); ^~~~~~~~~~~~~~~~~~~~~ encrypt_send_request_start ckuath.c: In function 'SendK5AuthSB': ckuath.c:1696:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'SendK4AuthSB': ckuath.c:1821:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'SendSRPAuthSB': ckuath.c:1920:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'SendSSLAuthSB': ckuath.c:2168:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ckuath.c: In function 'auth_send': ckuath.c:2352:9: warning: unused variable 'iaccnt' [-Wunused-variable] int iaccnt=0; ^~~~~~ ckuath.c:2332:9: warning: unused variable 'r' [-Wunused-variable] int r; ^ ckuath.c: In function 'ck_get_crypt_table': ckuath.c:11085:12: warning: implicit declaration of function 'get_crypt_table'; did you mean 'ck_get_crypt_table'? [-Wimplicit-function-declaration] return(get_crypt_table(pTable, pN)); ^~~~~~~~~~~~~~~ ck_get_crypt_table ckuath.c: In function 'XauFileName': ckuath.c:12734:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (name = getenv ("XAUTHORITY")) ^~~~ At top level: ckuath.c:10240:31: warning: 'k5_tkt_list' defined but not used [-Wunused-variable] static struct tkt_list_item * k5_tkt_list = NULL; ^~~~~~~~~~~ ckuath.c:9732:31: warning: 'k4_tkt_list' defined but not used [-Wunused-variable] static struct tkt_list_item * k4_tkt_list = NULL; ^~~~~~~~~~~ ckuath.c:2303:1: warning: 'auth_resend' defined but not used [-Wunused-function] auth_resend(int type) ^~~~~~~~~~~ ckuath.c:1993:1: warning: 'auth_encrypt_enable' defined but not used [-Wunused-function] auth_encrypt_enable(BOOL enable) ^~~~~~~~~~~~~~~~~~~ ckuath.c:1881:1: warning: 'SendSRPAuthSB' defined but not used [-Wunused-function] SendSRPAuthSB(int type, void *data, int len) ^~~~~~~~~~~~~ ckuath.c:1772:1: warning: 'SendK4AuthSB' defined but not used [-Wunused-function] SendK4AuthSB(int type, void *data, int len) ^~~~~~~~~~~~ ckuath.c:1643:1: warning: 'SendK5AuthSB' defined but not used [-Wunused-function] SendK5AuthSB(int type, void *data, int len) ^~~~~~~~~~~~ ckuath.c:363:13: warning: 'szLocalHostName' defined but not used [-Wunused-variable] static char szLocalHostName[UIDBUFLEN+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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ck_crp.c ck_crp.c: In function 'get_crypt_table': ck_crp.c:684:24: warning: unused variable 'len' [-Wunused-variable] int j = 0, len = 0; ^~~ ck_crp.c: In function 'encrypt_start': ck_crp.c:1288:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ep = finddecryption(decrypt_mode)) { ^~ ck_crp.c: In function 'encrypt_send_keyid': ck_crp.c:1522:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_start_output': ck_crp.c:1624:17: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_send_end': ck_crp.c:1689:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_send_request_start': ck_crp.c:1747:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: In function 'encrypt_send_request_end': ck_crp.c:1789:13: warning: unused variable 'i' [-Wunused-variable] int i; ^ ck_crp.c: At top level: ck_crp.c:3876:8: warning: type defaults to 'int' in declaration of 'encrypt_debug_mode' [-Wimplicit-int] extern encrypt_debug_mode; ^~~~~~~~~~~~~~~~~~ ck_crp.c: In function 'cast_fb64_start': ck_crp.c:4026:11: warning: unused variable 'b' [-Wunused-variable] Block b; ^ ck_crp.c: In function 'cast_fb64_is': ck_crp.c:4133:11: warning: unused variable 'b' [-Wunused-variable] Block b; ^ ck_crp.c:4131:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ ck_crp.c: In function 'cast_fb64_reply': ck_crp.c:4242:11: warning: unused variable 'b' [-Wunused-variable] Block b; ^ ck_crp.c:4241:20: warning: unused variable 'p' [-Wunused-variable] unsigned char *p; ^ ck_crp.c:4240:9: warning: unused variable 'x' [-Wunused-variable] int x; ^ 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_CRYPT_H -DHAVE_OPENPTY -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_CAST -DCK_SSL -DCK_PAM -DZLIB -DCK_SHADOW -I/usr/include/openssl -pipe -frecord-gcc-switches -Wall -g -O2 -DKTARGET=\"linux+openssl+shadow\" -c ck_ssl.c ck_ssl.c: In function 'ssl_server_verify_callback': ck_ssl.c:306:27: error: dereferencing pointer to incomplete type 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'} ctx->error); ^~ ck_ssl.c: In function 'tmp_rsa_cb': ck_ssl.c:827:9: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa_tmp=RSA_generate_key(keylength,RSA_F4,NULL,NULL); ^~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ck_ssl.c:110: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ ck_ssl.c: In function 'get_dh512': ck_ssl.c:941:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL); ^~ ck_ssl.c: In function 'ssl_display_comp': ck_ssl.c:1060:12: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} if (ssl->expand == NULL || ssl->expand->meth == NULL) ^~ ck_ssl.c: In function 'ssl_display_connect_details': ck_ssl.c:1096:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl_con); ^ ck_ssl.c: In function 'ssl_passwd_callback': ck_ssl.c:1145:24: warning: unused variable 'pwcrypt' [-Wunused-variable] extern int pwflg, pwcrypt; ^~~~~~~ ck_ssl.c: In function 'tls_load_certs': ck_ssl.c:1326:13: warning: variable 'skip1st' set but not used [-Wunused-but-set-variable] int skip1st = 0; ^~~~~~~ ck_ssl.c:1342:13: warning: variable 'skip1st' set but not used [-Wunused-but-set-variable] int skip1st = 0; ^~~~~~~ ck_ssl.c: In function 'ssl_once_init': ck_ssl.c:1492:25: error: dereferencing pointer to incomplete type 'COMP_METHOD' {aka 'struct comp_method_st'} if (cm != NULL && cm->type != NID_undef) { ^~ ck_ssl.c:1496:10: warning: implicit declaration of function 'COMP_rle'; did you mean 'COMP_zlib'? [-Wimplicit-function-declaration] cm = COMP_rle(); ^~~~~~~~ COMP_zlib ck_ssl.c:1496:8: warning: assignment to 'COMP_METHOD *' {aka 'struct comp_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] cm = COMP_rle(); ^ ck_ssl.c:1533:17: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ ck_ssl.c: In function 'ssl_tn_init': ck_ssl.c:1633:13: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] tls_ctx=(SSL_CTX *)SSL_CTX_new(TLSv1_client_method()); ^~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ck_ssl.c:110: /usr/include/openssl/ssl.h:1634:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ ck_ssl.c:1683:17: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] tls_ctx=(SSL_CTX *)SSL_CTX_new(TLSv1_server_method()); ^~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ck_ssl.c:110: /usr/include/openssl/ssl.h:1633:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ ck_ssl.c:1835:17: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa=RSA_generate_key(512,RSA_F4,NULL,NULL); ^~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ck_ssl.c:110: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ ck_ssl.c:2167:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ^ ck_ssl.c: In function 'ssl_http_init': ck_ssl.c:2219:9: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] tls_http_ctx=(SSL_CTX *)SSL_CTX_new(TLSv1_client_method()); ^~~~~~~~~~~~ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ck_ssl.c:110: /usr/include/openssl/ssl.h:1634:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ ck_ssl.c:2463:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p = getenv("SSL_CIPHER")) { ^ ck_ssl.c: In function 'ssl_get_dNSName': ck_ssl.c:2495:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^~~~~~~~~~~ ck_ssl.c:2522:1: warning: label 'cleanup' defined but not used [-Wunused-label] cleanup: ^~~~~~~ ck_ssl.c: In function 'ssl_get_commonName': ck_ssl.c:2536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^~~~~~~~~~~ ck_ssl.c: In function 'ssl_get_issuer_name': ck_ssl.c:2564:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^~~~~~~~~~~ ck_ssl.c: In function 'ssl_get_subject_name': ck_ssl.c:2584:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^~~~~~~~~~~ ck_ssl.c: In function 'ssl_verify_crl': ck_ssl.c:2626:17: error: storage size of 'obj' isn't known X509_OBJECT obj; ^~~ ck_ssl.c:2704:13: warning: implicit declaration of function 'X509_OBJECT_free_contents'; did you mean 'X509_OBJECT_up_ref_count'? [-Wimplicit-function-declaration] X509_OBJECT_free_contents(&obj); ^~~~~~~~~~~~~~~~~~~~~~~~~ X509_OBJECT_up_ref_count ck_ssl.c:2712:9: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations] i = X509_cmp_current_time(X509_CRL_get_nextUpdate(crl)); ^ In file included from /usr/include/openssl/comp.h:13, from ck_ssl.h:35, from ck_ssl.c:110: /usr/include/openssl/x509.h:709:1: note: declared here DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl)) ^~~~~~~~~~~~~~~~~~ ck_ssl.c:2749:41: error: dereferencing pointer to incomplete type 'X509_REVOKED' {aka 'struct x509_revoked_st'} if (ASN1_INTEGER_cmp(revoked->serialNumber, ^~ ck_ssl.c:2637:11: warning: unused variable 'cp2' [-Wunused-variable] char *cp2; ^~~ ck_ssl.c:2634:10: warning: unused variable 'bio' [-Wunused-variable] BIO *bio = NULL; ^~~ ck_ssl.c:2633:10: warning: variable 'serial' set but not used [-Wunused-but-set-variable] long serial; ^~~~~~ ck_ssl.c:2626:17: warning: unused variable 'obj' [-Wunused-variable] X509_OBJECT obj; ^~~ ck_ssl.c: In function 'tls_userid_from_client_cert': ck_ssl.c:2775:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (client_cert = SSL_get_peer_certificate(ssl)) { ^~~~~~~~~~~ ck_ssl.c: In function 'tls_get_SAN_objs': ck_ssl.c:2807:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (server_cert = SSL_get_peer_certificate(ssl)) { ^~~~~~~~~~~ ck_ssl.c: In function 'dNSName_cmp': ck_ssl.c:2856:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c:2861:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c:2875:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c:2880:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (p = strstr(p, ".")) { ^ ck_ssl.c: In function 'ssl_check_server_name': ck_ssl.c:2994:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_DNS)) { ^~~~~~~ ck_ssl.c:3001:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ipAddress = tls_get_SAN_objs(ssl,GEN_IPADD)) { ^~~~~~~~~ ck_ssl.c:3016:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_EMAIL)) { ^~~~~~~ ck_ssl.c:3023:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_URI)) { ^~~~~~~ ck_ssl.c:3030:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dNSName = tls_get_SAN_objs(ssl,GEN_OTHERNAME)) { ^~~~~~~ ck_ssl.c: In function 'tls_is_anon': ck_ssl.c:3145:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl); ^ ck_ssl.c: In function 'tls_is_krb5': ck_ssl.c:3195:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl); ^ ck_ssl.c: In function 'ssl_reply': ck_ssl.c:3244:12: warning: unused variable 'str' [-Wunused-variable] char * str=NULL; ^~~ ck_ssl.c: In function 'ck_tn_tls_negotiate': ck_ssl.c:3669:22: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^~~~~ ck_ssl.c:3628:66: warning: unused variable 'dNSName' [-Wunused-variable] char *subject=NULL, *issuer=NULL, *commonName=NULL, *dNSName=NULL; ^~~~~~~ ck_ssl.c:3628:48: warning: unused variable 'commonName' [-Wunused-variable] char *subject=NULL, *issuer=NULL, *commonName=NULL, *dNSName=NULL; ^~~~~~~~~~ ck_ssl.c:3628:34: warning: unused variable 'issuer' [-Wunused-variable] char *subject=NULL, *issuer=NULL, *commonName=NULL, *dNSName=NULL; ^~~~~~ ck_ssl.c:3618:16: warning: unused variable 'str' [-Wunused-variable] char * str=NULL; ^~~ ck_ssl.c: In function 'ck_ssl_incoming': ck_ssl.c:3758:9: warning: unused variable 'timo' [-Wunused-variable] int timo = 2000; ^~~~ ck_ssl.c: In function 'ck_ssl_outgoing': ck_ssl.c:3982:30: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^~~~~ ck_ssl.c:4060:30: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^~~~~ ck_ssl.c:3923:9: warning: unused variable 'timo' [-Wunused-variable] int timo = 2000; ^~~~ ck_ssl.c: In function 'ck_ssl_http_client': ck_ssl.c:4157:30: warning: unused variable 'prmpt' [-Wunused-variable] char prmpt[1024]; ^~~~~ ck_ssl.c:4100:9: warning: unused variable 'timo' [-Wunused-variable] int timo = 2000; ^~~~ ck_ssl.c: In function 'X509_userok': ck_ssl.c:4402:39: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} if (!ASN1_STRING_cmp(peer_cert->signature, file_cert->signature)) ^~ make[3]: *** [makefile:988: ck_ssl.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/x' make[2]: *** [makefile:6064: linuxa] Error 2 make[2]: Leaving directory '/usr/src/RPM/BUILD/x' make[1]: *** [makefile:6097: linux] Error 2 make[1]: Leaving directory '/usr/src/RPM/BUILD/x' If build failed try: make clean ; make linux+openssl+shadow KFLAGS=-UCK_DES make: Leaving directory '/usr/src/RPM/BUILD/x' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.16019 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ckermit-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ckermit-buildroot + cd x + install -d -m 755 /usr/src/tmp/ckermit-buildroot/usr/bin + install -d -m 755 /usr/src/tmp/ckermit-buildroot/usr/share/man/man1 + install -m 755 wermit /usr/src/tmp/ckermit-buildroot/usr/bin/kermit install: cannot stat 'wermit': No such file or directory error: Bad exit status from /usr/src/tmp/rpm-tmp.16019 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.16019 (%install) Command exited with non-zero status 1 52.45user 1.47system 1:51.37elapsed 48%CPU (0avgtext+0avgdata 155496maxresident)k 0inputs+0outputs (0major+692216minor)pagefaults 0swaps hsh-rebuild: rebuild of `ckermit-9.0.304-alt1.src.rpm' failed. Command exited with non-zero status 1 60.94user 4.00system 2:20.34elapsed 46%CPU (0avgtext+0avgdata 155496maxresident)k 0inputs+0outputs (0major+1092546minor)pagefaults 0swaps