Thu Aug 13 15:31:42 CDT 2026 KB: 3245744 / patching file configure patching file exp_chan.c patching file exp_clib.c patching file exp_command.h patching file exp_log.c patching file exp_main_sub.c patching file exp_pty.c patching file exp_trap.c patching file exp_tty.c patching file exp_win.h patching file pty_termios.c configure: loading site script /usr/share/config.site checking for correct TEA configuration... ok (TEA 3.9) configure: configuring expect 5.45.4 checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include checking for Tcl private include files... private headers found with public headers checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... no checking system version... Linux-7.0.10 checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking sys/stropts.h usability... no checking sys/stropts.h presence... no checking for sys/stropts.h... no checking sys/sysconfig.h usability... no checking sys/sysconfig.h presence... no checking for sys/sysconfig.h... no checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/ptem.h usability... no checking sys/ptem.h presence... no checking for sys/ptem.h... no checking sys/strredir.h usability... no checking sys/strredir.h presence... no checking for sys/strredir.h... no checking sys/strpty.h usability... no checking sys/strpty.h presence... no checking for sys/strpty.h... no checking for sys/bsdtypes.h... no checking return type of signal handlers... void checking whether struct tm is in sys/time.h or time.h... time.h checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for struct tm.tm_zone... yes checking for gmtime_r... yes checking for localtime_r... yes checking tm_tzadj in struct tm... no checking tm_gmtoff in struct tm... yes checking long timezone variable... yes checking union wait... no checking for gethostname... yes checking for socket... yes checking for select... yes checking for getpseudotty... no checking for getpseudotty in -lseq... no checking for openpty... yes checking if running Sequent running SVR4... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for pid_t... yes checking if running Mach... no checking if running MachTen... no checking if on Pyramid... no checking if on Apollo... no checking if on Interactive... no checking stty to use... /bin/stty checking if stty reads stdout... no checking if running Solaris... no checking for memmove... yes checking for sysconf... yes checking for strftime... yes checking for strchr... yes checking for timezone... yes checking for siglongjmp... yes checking for memcpy... yes checking if WNOHANG requires _POSIX_SOURCE... no checking if any value exists for WNOHANG... yes checking mask type of select... none checking if signals need to be re-armed... no checking if on Convex... no checking if on HP... no checking sane default stty arguments... checking for HP style pty allocation... no checking for HP style pty trapping... no checking for AIX new-style pty allocation... no checking for SGI old-style pty allocation... no checking for SCO style pty allocation... no checking for SVR4 style pty allocation... no checking for OSF/1 style pty allocation... no checking for tcgetattr... yes checking for tcsetattr... yes checking for struct sgttyb... no checking for struct termio... no checking for struct termios... yes checking if TCGETS or TCGETA in termios.h... no checking if TIOCGWINSZ in termios.h... no checking for Cray-style ptys... no checking for select... yes checking for poll... yes checking event handling... via select checking for _getpty... no checking for getpty... no checking whether setpgrp takes no argument... yes checking for SV-style timezone... yes checking for long file names... yes checking for tclsh... /usr/bin/tclsh8.6 configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: executing default commands chmod: cannot access './install-sh': No such file or directory === configuring in testsuite (/sources/expect5.45.4/testsuite) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--with-tcl=/usr/lib' '--enable-shared' '--disable-rpath' '--mandir=/usr/share/man' '--with-tclinclude=/usr/include' --cache-file=/dev/null --srcdir=. configure: loading site script /usr/share/config.site checking for correct TEA configuration... ok (TEA 3.9) configure: configuring exp_test 0.43 checking for Tcl configuration... found /usr/lib/tclConfig.sh checking for existence of /usr/lib/tclConfig.sh... loading checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes configure: creating ./config.status config.status: creating Makefile make[1]: Entering directory '/sources/expect5.45.4' gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_command.c` -o exp_command.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo expect.c` -o expect.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_inter.c` -o exp_inter.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_regexp.c` -o exp_regexp.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_tty.c` -o exp_tty.o exp_tty.c: In function 'exec_stty': exp_tty.c:323:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable=] 323 | int rc; | ^~ exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:753:9: warning: variable 'i' set but not used [-Wunused-but-set-variable=] 753 | int i; /* misc temp */ | ^ In file included from expect.c:44: retoglob.c: In function 'ExpChopNested': retoglob.c:519:1: warning: old-style function definition [-Wold-style-definition] 519 | ExpChopNested (xstr,xstrlen, open, close) | ^~~~~~~~~~~~~ retoglob.c: In function 'ExpLiteral': retoglob.c:548:1: warning: old-style function definition [-Wold-style-definition] 548 | ExpLiteral (nexto, str, strlen) | ^~~~~~~~~~ retoglob.c:553:7: warning: variable 'lastsz' set but not used [-Wunused-but-set-variable=] 553 | int lastsz; | ^~~~~~ exp_command.c: In function 'Exp_SpawnObjCmd': retoglob.c: In function 'ExpBackslash': retoglob.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | ExpBackslash (prefix, str, strlen) | ^~~~~~~~~~~~ exp_command.c:618:9: warning: variable 'slave_opens' set but not used [-Wunused-but-set-variable=] 618 | int slave_opens = 3; | ^~~~~~~~~~~ exp_command.c:616:9: warning: variable 'slave_write_ioctls' set but not used [-Wunused-but-set-variable=] 616 | int slave_write_ioctls = 1; | ^~~~~~~~~~~~~~~~~~ exp_command.c:587:9: warning: unused variable 'ttyfd' [-Wunused-variable] 587 | int ttyfd; | ^~~~~ retoglob.c: In function 'ExpCollapseStar': retoglob.c:597:1: warning: old-style function definition [-Wold-style-definition] 597 | ExpCollapseStar (src, last) | ^~~~~~~~~~~~~~~ retoglob.c: In function 'ExpCollapseQForward': retoglob.c:644:1: warning: old-style function definition [-Wold-style-definition] 644 | ExpCollapseQForward (src, last) | ^~~~~~~~~~~~~~~~~~~ retoglob.c: In function 'ExpCollapseQBack': retoglob.c:692:1: warning: old-style function definition [-Wold-style-definition] 692 | ExpCollapseQBack (src, last) | ^~~~~~~~~~~~~~~~ retoglob.c: In function 'ExpCountStar': retoglob.c:734:1: warning: old-style function definition [-Wold-style-definition] 734 | ExpCountStar (src, last) | ^~~~~~~~~~~~ expect.c: In function 'exp_eval_with_one_arg': expect.c:287:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable=] 287 | int rc; | ^~ exp_inter.c: At top level: exp_inter.c:710:13: warning: 'interpreter_cmd' defined but not used [-Wunused-variable] 710 | static char interpreter_cmd[] = "interpreter"; | ^~~~~~~~~~~~~~~ exp_inter.c:709:13: warning: 'return_cmd' defined but not used [-Wunused-variable] 709 | static char return_cmd[] = "return"; | ^~~~~~~~~~ expect.c: In function 'string_case_first': expect.c:734:18: warning: variable 'consumed' set but not used [-Wunused-but-set-variable=] 734 | register int consumed = 0; | ^~~~~~~~ expect.c: In function 'string_first': expect.c:769:18: warning: variable 'consumed' set but not used [-Wunused-but-set-variable=] 769 | register int consumed = 0; | ^~~~~~~~ expect.c: In function 'expIRead': expect.c:1765:9: warning: variable 'size' set but not used [-Wunused-but-set-variable=] 1765 | int size; | ^~~~ exp_command.c: In function 'Exp_DisconnectObjCmd': exp_command.c:3120:9: warning: unused variable 'ttyfd' [-Wunused-variable] 3120 | int ttyfd; | ^~~~~ exp_command.c: In function 'exp_create_commands': exp_command.c:3506:1: warning: old-style function definition [-Wold-style-definition] 3506 | exp_create_commands(interp,c) | ^~~~~~~~~~~~~~~~~~~ expect.c: In function 'Exp_ExpectObjCmd': expect.c:2547:12: warning: variable 'start_time' set but not used [-Wunused-but-set-variable=] 2547 | time_t start_time = 0; /* time when restart label hit */ | ^~~~~~~~~~ exp_command.c: At top level: exp_command.c:537:1: warning: 'expSetpgrp' defined but not used [-Wunused-function] 537 | expSetpgrp() | ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_log.c` -o exp_log.o exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:1412:38: warning: 'previous_time' may be used uninitialized [-Wmaybe-uninitialized] 1412 | time_diff = current_time - previous_time; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_inter.c:1347:16: note: 'previous_time' was declared here 1347 | time_t previous_time; | ^~~~~~~~~~~~~ exp_inter.c:1404:34: warning: 'soonest_input' may be used uninitialized [-Wmaybe-uninitialized] 1404 | u = soonest_input->i_list->state_list->esPtr; | ~~~~~~~~~~~~~^~~~~~~~ exp_inter.c:1355:23: note: 'soonest_input' was declared here 1355 | struct input *soonest_input; | ^~~~~~~~~~~~~ In function 'intEcho', inlined from 'Exp_InteractObjCmd' at exp_inter.c:1487:6: exp_inter.c:420:12: warning: 'echoBytes' may be used uninitialized [-Wmaybe-uninitialized] 420 | (void) expWriteCharsUni(esPtr, | ^~~~~~~~~~~~~~~~~~~~~~~ 421 | esPtr->input.buffer + offsetBytes, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 422 | echoBytes); | ~~~~~~~~~~ exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:407:9: note: 'echoBytes' was declared here 407 | int echoBytes; | ^~~~~~~~~ In function 'intEcho', inlined from 'Exp_InteractObjCmd' at exp_inter.c:1487:6: exp_inter.c:421:49: warning: 'offsetBytes' may be used uninitialized [-Wmaybe-uninitialized] 421 | esPtr->input.buffer + offsetBytes, | ^ exp_inter.c: In function 'Exp_InteractObjCmd': exp_inter.c:408:9: note: 'offsetBytes' was declared here 408 | int offsetBytes; | ^~~~~~~~~~~ expect.c: In function 'process_di.constprop': expect.c:2955:12: warning: 'esPtr' may be used uninitialized [-Wmaybe-uninitialized] 2955 | *esOut = esPtr; | ~~~~~~~^~~~~~~ expect.c:2902:15: note: 'esPtr' was declared here 2902 | ExpState *esPtr; | ^~~~~ exp_log.c: In function 'expWriteBytesAndLogIfTtyU': exp_log.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | expWriteBytesAndLogIfTtyU(esPtr,buf,lenChars) | ^~~~~~~~~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogDiagU': exp_log.c:112:1: warning: old-style function definition [-Wold-style-definition] 112 | expLogDiagU(buf) | ^~~~~~~~~~~ exp_log.c: In function 'expLogInteractionU': exp_log.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | expLogInteractionU(esPtr,buf,buflen) | ^~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expStdoutLogU': exp_log.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | expStdoutLogU(buf,force_stdout) | ^~~~~~~~~~~~~ exp_log.c: In function 'expErrorLogU': exp_log.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | expErrorLogU(buf) | ^~~~~~~~~~~~ exp_log.c: In function 'expDiagLogU': exp_log.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | expDiagLogU(str) | ^~~~~~~~~~~ exp_log.c: In function 'expPrintf': exp_log.c:307:9: warning: variable 'fmt' set but not used [-Wunused-but-set-variable=] 307 | char *fmt; | ^~~ exp_log.c: In function 'expDiagToStderrSet': exp_log.c:323:1: warning: old-style function definition [-Wold-style-definition] 323 | expDiagToStderrSet(val) | ^~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expDiagChannelClose': exp_log.c:346:1: warning: old-style function definition [-Wold-style-definition] 346 | expDiagChannelClose(interp) | ^~~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expDiagChannelOpen': exp_log.c:361:1: warning: old-style function definition [-Wold-style-definition] 361 | expDiagChannelOpen(interp,filename) | ^~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expDiagWriteObj': exp_log.c:391:1: warning: old-style function definition [-Wold-style-definition] 391 | expDiagWriteObj(obj) | ^~~~~~~~~~~~~~~ exp_log.c: In function 'expDiagWriteBytes': exp_log.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | expDiagWriteBytes(str,len) | ^~~~~~~~~~~~~~~~~ exp_log.c: In function 'expDiagWriteChars': exp_log.c:416:1: warning: old-style function definition [-Wold-style-definition] 416 | expDiagWriteChars(str,len) | ^~~~~~~~~~~~~~~~~ exp_log.c: In function 'expDiagWriteCharsUni': exp_log.c:429:1: warning: old-style function definition [-Wold-style-definition] 429 | expDiagWriteCharsUni(str,len) | ^~~~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogChannelClose': exp_log.c:453:1: warning: old-style function definition [-Wold-style-definition] 453 | expLogChannelClose(interp) | ^~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogChannelOpen': exp_log.c:478:1: warning: old-style function definition [-Wold-style-definition] 478 | expLogChannelOpen(interp,filename,append) | ^~~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogAppendSet': exp_log.c:524:1: warning: old-style function definition [-Wold-style-definition] 524 | expLogAppendSet(app) | ^~~~~~~~~~~~~~~ exp_log.c: In function 'expLogAllSet': exp_log.c:539:1: warning: old-style function definition [-Wold-style-definition] 539 | expLogAllSet(app) | ^~~~~~~~~~~~ exp_log.c: In function 'expLogToStdoutSet': exp_log.c:555:1: warning: old-style function definition [-Wold-style-definition] 555 | expLogToStdoutSet(app) | ^~~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogLeaveOpenSet': exp_log.c:570:1: warning: old-style function definition [-Wold-style-definition] 570 | expLogLeaveOpenSet(app) | ^~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogChannelSet': exp_log.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | expLogChannelSet(interp,name) | ^~~~~~~~~~~~~~~~ exp_log.c: In function 'expLogUserSet': exp_log.c:622:1: warning: old-style function definition [-Wold-style-definition] 622 | expLogUserSet(logUser) | ^~~~~~~~~~~~~ exp_log.c: In function 'expPrintifyReal': exp_log.c:635:1: warning: old-style function definition [-Wold-style-definition] 635 | expPrintifyReal(s) | ^~~~~~~~~~~~~~~ exp_log.c: In function 'expPrintifyRealUni': exp_log.c:675:1: warning: old-style function definition [-Wold-style-definition] 675 | expPrintifyRealUni(s,numchars) | ^~~~~~~~~~~~~~~~~~ exp_log.c: In function 'expPrintifyObj': exp_log.c:716:1: warning: old-style function definition [-Wold-style-definition] 716 | expPrintifyObj(obj) | ^~~~~~~~~~~~~~ exp_log.c: In function 'expPrintify': exp_log.c:728:1: warning: old-style function definition [-Wold-style-definition] 728 | expPrintify(s) /* INTL */ | ^~~~~~~~~~~ exp_log.c: In function 'expPrintifyUni': exp_log.c:740:1: warning: old-style function definition [-Wold-style-definition] 740 | expPrintifyUni(s,numchars) /* INTL */ | ^~~~~~~~~~~~~~ exp_log.c: In function 'expWriteBytesAndLogIfTtyU': exp_log.c:101:12: warning: 'wc' may be used uninitialized [-Wmaybe-uninitialized] 101 | return wc; | ^~ exp_log.c:88:9: note: 'wc' was declared here 88 | int wc; | ^~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_sub.c` -o exp_main_sub.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_pty.c` -o exp_pty.o exp_main_sub.c: In function 'usage': exp_main_sub.c:72:1: warning: old-style function definition [-Wold-style-definition] 72 | usage(interp) | ^~~~~ exp_main_sub.c: In function 'exp_pty_exit_for_tcl': exp_main_sub.c:87:1: warning: old-style function definition [-Wold-style-definition] 87 | exp_pty_exit_for_tcl(clientData) | ^~~~~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'exp_exit_handlers': exp_main_sub.c:102:1: warning: old-style function definition [-Wold-style-definition] 102 | exp_exit_handlers(clientData) | ^~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'history_nextid': exp_main_sub.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | history_nextid(interp) | ^~~~~~~~~~~~~~ exp_main_sub.c: In function 'Exp_Prompt1ObjCmd': exp_main_sub.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | Exp_Prompt1ObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'Exp_Prompt2ObjCmd': exp_main_sub.c:196:1: warning: old-style function definition [-Wold-style-definition] 196 | Exp_Prompt2ObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'ignore_procs': exp_main_sub.c:208:1: warning: old-style function definition [-Wold-style-definition] 208 | ignore_procs(interp,s) | ^~~~~~~~~~~~ exp_main_sub.c: In function 'handle_eval_error': exp_main_sub.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | handle_eval_error(interp,check_for_nostack) | ^~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'exp_interpreter': exp_main_sub.c:270:1: warning: old-style function definition [-Wold-style-definition] 270 | exp_interpreter(interp,eofObj) | ^~~~~~~~~~~~~~~ exp_main_sub.c: In function 'Exp_ExpVersionObjCmd': exp_main_sub.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | Exp_ExpVersionObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'DeleteCmdInfo': exp_main_sub.c:498:1: warning: old-style function definition [-Wold-style-definition] 498 | DeleteCmdInfo (clientData, interp) | ^~~~~~~~~~~~~ exp_main_sub.c: In function 'Expect_Init': exp_main_sub.c:507:1: warning: old-style function definition [-Wold-style-definition] 507 | Expect_Init(interp) | ^~~~~~~~~~~ exp_main_sub.c: In function 'exp_parse_argv': exp_main_sub.c:658:1: warning: old-style function definition [-Wold-style-definition] 658 | exp_parse_argv(interp,argc,argv) | ^~~~~~~~~~~~~~ exp_main_sub.c: In function 'print_result': exp_main_sub.c:875:1: warning: old-style function definition [-Wold-style-definition] 875 | print_result (interp) | ^~~~~~~~~~~~ exp_main_sub.c: In function 'run_exit': exp_main_sub.c:886:1: warning: old-style function definition [-Wold-style-definition] 886 | run_exit (interp) | ^~~~~~~~ exp_main_sub.c: In function 'exp_interpret_rcfiles': exp_main_sub.c:897:1: warning: old-style function definition [-Wold-style-definition] 897 | exp_interpret_rcfiles(interp,my_rc,sys_rc) | ^~~~~~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'exp_interpret_cmdfilename': exp_main_sub.c:943:1: warning: old-style function definition [-Wold-style-definition] 943 | exp_interpret_cmdfilename(interp,filename) | ^~~~~~~~~~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'exp_interpret_cmdfile': exp_main_sub.c:962:1: warning: old-style function definition [-Wold-style-definition] 962 | exp_interpret_cmdfile(interp,fp) | ^~~~~~~~~~~~~~~~~~~~~ exp_main_sub.c: In function 'exp_init_main_cmds': exp_main_sub.c:1011:1: warning: old-style function definition [-Wold-style-definition] 1011 | exp_init_main_cmds(interp) | ^~~~~~~~~~~~~~~~~~ exp_pty.c: In function 'sigalarm_handler': exp_pty.c:88:1: warning: old-style function definition [-Wold-style-definition] 88 | sigalarm_handler(n) | ^~~~~~~~~~~~~~~~ exp_pty.c: In function 'i_read': exp_pty.c:106:1: warning: old-style function definition [-Wold-style-definition] 106 | i_read(fd,buffer,length,timeout) | ^~~~~~ exp_pty.c: In function 'expDiagLogPtrSet': exp_pty.c:308:1: warning: old-style function definition [-Wold-style-definition] 308 | expDiagLogPtrSet(fn) | ^~~~~~~~~~~~~~~~ exp_pty.c: In function 'expDiagLogPtr': exp_pty.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | expDiagLogPtr(str) | ^~~~~~~~~~~~~ exp_pty.c: In function 'expDiagLogPtrX': exp_pty.c:324:1: warning: old-style function definition [-Wold-style-definition] 324 | expDiagLogPtrX(fmt,num) | ^~~~~~~~~~~~~~ exp_pty.c: In function 'expDiagLogPtrStr': exp_pty.c:335:1: warning: old-style function definition [-Wold-style-definition] 335 | expDiagLogPtrStr(fmt,str1) | ^~~~~~~~~~~~~~~~ exp_pty.c: In function 'expDiagLogPtrStrStr': exp_pty.c:345:1: warning: old-style function definition [-Wold-style-definition] 345 | expDiagLogPtrStrStr(fmt,str1,str2) | ^~~~~~~~~~~~~~~~~~~ exp_pty.c: In function 'expErrnoMsg': exp_pty.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | expErrnoMsg(errorNo) | ^~~~~~~~~~~ exp_pty.c: In function 'expErrnoMsgSet': exp_pty.c:364:1: warning: old-style function definition [-Wold-style-definition] 364 | expErrnoMsgSet(fn) | ^~~~~~~~~~~~~~ exp_pty.c: At top level: exp_pty.c:138:21: warning: 'oldHupHandler' defined but not used [-Wunused-variable] 138 | static RETSIGTYPE (*oldHupHandler)(int); | ^~~~~~~~~~~~~ exp_command.c: In function 'Exp_SpawnObjCmd': exp_command.c:917:44: warning: 'rfd' may be used uninitialized [-Wmaybe-uninitialized] 917 | if (-1 == (write_master = master = dup(master))) { | ^~~~~~~~~~~ exp_command.c:888:19: note: 'rfd' was declared here 888 | int mode, rfd, wfd; | ^~~ exp_command.c:923:60: warning: 'wfd' may be used uninitialized [-Wmaybe-uninitialized] 923 | if ((mode & TCL_READABLE) && (mode & TCL_WRITABLE) && (wfd != rfd)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ exp_command.c:888:24: note: 'wfd' was declared here 888 | int mode, rfd, wfd; | ^~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_trap.c` -o exp_trap.o exp_trap.c: In function 'signal_to_string': exp_trap.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | signal_to_string(sig) | ^~~~~~~~~~~~~~~~ exp_trap.c: In function 'tophalf': exp_trap.c:85:1: warning: old-style function definition [-Wold-style-definition] 85 | tophalf(clientData,interp,code) | ^~~~~~~ exp_trap.c: In function 'bottomhalf': exp_trap.c:172:1: warning: old-style function definition [-Wold-style-definition] 172 | bottomhalf(sig) | ^~~~~~~~~~ exp_trap.c: In function 'exp_rearm_sigchld': exp_trap.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | exp_rearm_sigchld(interp) | ^~~~~~~~~~~~~~~~~ exp_trap.c: In function 'exp_string_to_signal': exp_trap.c:276:1: warning: old-style function definition [-Wold-style-definition] 276 | exp_string_to_signal(interp,s) | ^~~~~~~~~~~~~~~~~~~~ exp_trap.c: In function 'Exp_TrapObjCmd': exp_trap.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | Exp_TrapObjCmd(clientData, interp, objc, objv) | ^~~~~~~~~~~~~~ exp_trap.c: In function 'eval_trap_action': exp_trap.c:436:1: warning: old-style function definition [-Wold-style-definition] 436 | eval_trap_action(interp,sig,trap,oldcode) | ^~~~~~~~~~~~~~~~ exp_trap.c: In function 'exp_init_trap_cmds': exp_trap.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | exp_init_trap_cmds(interp) | ^~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_strf.c` -o exp_strf.o exp_strf.c: In function 'range': exp_strf.c:138:1: warning: old-style function definition [-Wold-style-definition] 138 | range(low,item,hi) | ^~~~~ exp_command.c: In function 'Exp_SendObjCmd': exp_command.c:2063:15: warning: 'string' may be used uninitialized [-Wmaybe-uninitialized] 2063 | len = strlen(string); | ^~~~~~~~~~~~~~ exp_command.c:1979:11: note: 'string' was declared here 1979 | char *string; /* string to send */ | ^~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_console.c` -o exp_console.o exp_console.c: In function 'exp_console_manipulation_failed': exp_console.c:41:1: warning: old-style function definition [-Wold-style-definition] 41 | exp_console_manipulation_failed(s) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_glob.c` -o exp_glob.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_win.c` -o exp_win.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_clib.c` -o exp_clib.o exp_glob.c: In function 'Exp_StringCaseMatch': exp_glob.c:32:1: warning: old-style function definition [-Wold-style-definition] 32 | Exp_StringCaseMatch(string, strlen, pattern, plen, nocase, offset) /* INTL */ | ^~~~~~~~~~~~~~~~~~~ exp_glob.c: In function 'Exp_StringCaseMatch2': exp_glob.c:126:1: warning: old-style function definition [-Wold-style-definition] 126 | Exp_StringCaseMatch2(string,stop,pattern,pstop,nocase) /* INTL */ | ^~~~~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_window_size_set': exp_win.c:81:5: warning: old-style function definition [-Wold-style-definition] 81 | int exp_window_size_set(fd) | ^~~~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_window_size_get': exp_win.c:92:5: warning: old-style function definition [-Wold-style-definition] 92 | int exp_window_size_get(fd) | ^~~~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win_rows_set': exp_win.c:108:1: warning: old-style function definition [-Wold-style-definition] 108 | exp_win_rows_set(rows) | ^~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win_columns_set': exp_win.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | exp_win_columns_set(columns) | ^~~~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win2_size_set': exp_win.c:145:5: warning: old-style function definition [-Wold-style-definition] 145 | int exp_win2_size_set(fd) | ^~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win2_size_get': exp_win.c:156:5: warning: old-style function definition [-Wold-style-definition] 156 | int exp_win2_size_get(fd) | ^~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win2_rows_set': exp_win.c:168:1: warning: old-style function definition [-Wold-style-definition] 168 | exp_win2_rows_set(fd,rows) | ^~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win2_rows_get': exp_win.c:178:1: warning: old-style function definition [-Wold-style-definition] 178 | exp_win2_rows_get(fd) | ^~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win2_columns_set': exp_win.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | exp_win2_columns_set(fd,columns) | ^~~~~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_win2_columns_get': exp_win.c:202:1: warning: old-style function definition [-Wold-style-definition] 202 | exp_win2_columns_get(fd) | ^~~~~~~~~~~~~~~~~~~~ exp_win.c: In function 'exp_window_size_set': exp_win.c:90:1: warning: control reaches end of non-void function [-Wreturn-type] 90 | } | ^ exp_win.c: In function 'exp_window_size_get': exp_win.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] 105 | } | ^ exp_win.c: In function 'exp_win2_size_set': exp_win.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] 154 | } | ^ exp_win.c: In function 'exp_win2_size_get': exp_win.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] 165 | } | ^ exp_clib.c: In function 'TclRegComp': exp_clib.c:372:1: warning: old-style function definition [-Wold-style-definition] 372 | TclRegComp(exp) | ^~~~~~~~~~ exp_clib.c: In function 'reg': exp_clib.c:463:1: warning: old-style function definition [-Wold-style-definition] 463 | reg(paren, flagp, rcstate) | ^~~ exp_clib.c: In function 'regbranch': exp_clib.c:536:1: warning: old-style function definition [-Wold-style-definition] 536 | regbranch(flagp, rcstate) | ^~~~~~~~~ exp_clib.c: In function 'regpiece': exp_clib.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | regpiece(flagp, rcstate) | ^~~~~~~~ exp_clib.c: In function 'regatom': exp_clib.c:642:1: warning: old-style function definition [-Wold-style-definition] 642 | regatom(flagp, rcstate) | ^~~~~~~ exp_clib.c: In function 'regnode': exp_clib.c:752:1: warning: old-style function definition [-Wold-style-definition] 752 | regnode(op, rcstate) | ^~~~~~~ exp_clib.c: In function 'regc': exp_clib.c:778:1: warning: old-style function definition [-Wold-style-definition] 778 | regc(b, rcstate) | ^~~~ exp_clib.c: In function 'reginsert': exp_clib.c:794:1: warning: old-style function definition [-Wold-style-definition] 794 | reginsert(op, opnd, rcstate) | ^~~~~~~~~ exp_clib.c: In function 'regtail': exp_clib.c:824:1: warning: old-style function definition [-Wold-style-definition] 824 | regtail(p, val) | ^~~~~~~ exp_clib.c: In function 'regoptail': exp_clib.c:856:1: warning: old-style function definition [-Wold-style-definition] 856 | regoptail(p, val) | ^~~~~~~~~ exp_clib.c: In function 'TclRegExec': exp_clib.c:900:1: warning: old-style function definition [-Wold-style-definition] 900 | TclRegExec(prog, string, start) | ^~~~~~~~~~ exp_clib.c: In function 'regtry': exp_clib.c:965:1: warning: old-style function definition [-Wold-style-definition] 965 | regtry(prog, string, restate) | ^~~~~~ exp_clib.c: In function 'regmatch': exp_clib.c:1003:1: warning: old-style function definition [-Wold-style-definition] 1003 | regmatch(prog, restate) | ^~~~~~~~ exp_clib.c: In function 'regrepeat': exp_clib.c:1204:1: warning: old-style function definition [-Wold-style-definition] 1204 | regrepeat(p, restate) | ^~~~~~~~~ exp_clib.c: In function 'regnext': exp_clib.c:1251:1: warning: old-style function definition [-Wold-style-definition] 1251 | regnext(p) | ^~~~~~~ exp_clib.c: In function 'exp_TclRegError': exp_clib.c:1459:1: warning: old-style function definition [-Wold-style-definition] 1459 | exp_TclRegError(string) | ^~~~~~~~~~~~~~~ exp_clib.c: In function 'expDiagLogU': exp_clib.c:1483:1: warning: old-style function definition [-Wold-style-definition] 1483 | expDiagLogU(str) | ^~~~~~~~~~~ exp_clib.c: In function 'Exp_StringMatch2': exp_clib.c:1524:1: warning: old-style function definition [-Wold-style-definition] 1524 | Exp_StringMatch2(string,pattern) | ^~~~~~~~~~~~~~~~ exp_clib.c: In function 'Exp_StringMatch': exp_clib.c:1657:1: warning: old-style function definition [-Wold-style-definition] 1657 | Exp_StringMatch(string, pattern,offset) | ^~~~~~~~~~~~~~~ exp_clib.c: In function 'fdfp2f': exp_clib.c:1773:1: warning: old-style function definition [-Wold-style-definition] 1773 | fdfp2f(fd,fp) | ^~~~~~ exp_clib.c: In function 'fd_new': exp_clib.c:1782:1: warning: old-style function definition [-Wold-style-definition] 1782 | fd_new(fd) | ^~~~~~ exp_clib.c: In function 'exp_spawnv': exp_clib.c:1838:1: warning: old-style function definition [-Wold-style-definition] 1838 | exp_spawnv(file,argv) | ^~~~~~~~~~ exp_clib.c:1845:13: warning: unused variable 'ttyfd' [-Wunused-variable] 1845 | int ttyfd; | ^~~~~ exp_clib.c: In function 'exp_spawnfd': exp_clib.c:2273:1: warning: old-style function definition [-Wold-style-definition] 2273 | exp_spawnfd(fd) | ^~~~~~~~~~~ exp_clib.c: In function 'rm_nulls': exp_clib.c:2287:1: warning: old-style function definition [-Wold-style-definition] 2287 | rm_nulls(s,c) | ^~~~~~~~ exp_clib.c: In function 'sigalarm_handler': exp_clib.c:2312:1: warning: old-style function definition [-Wold-style-definition] 2312 | sigalarm_handler(n) | ^~~~~~~~~~~~~~~~ exp_clib.c: In function 'i_read': exp_clib.c:2328:1: warning: old-style function definition [-Wold-style-definition] 2328 | i_read(fd,fp,buffer,length,timeout) | ^~~~~~ exp_clib.c: In function 'expectv': exp_clib.c:2435:1: warning: old-style function definition [-Wold-style-definition] 2435 | expectv(fd,fp,ecases) | ^~~~~~~ exp_clib.c: In function 'exp_fexpectv': exp_clib.c:2701:1: warning: old-style function definition [-Wold-style-definition] 2701 | exp_fexpectv(fp,ecases) | ^~~~~~~~~~~~ exp_clib.c: In function 'exp_expectv': exp_clib.c:2709:1: warning: old-style function definition [-Wold-style-definition] 2709 | exp_expectv(fd,ecases) | ^~~~~~~~~~~ exp_clib.c: In function 'exp_popen': exp_clib.c:2853:1: warning: old-style function definition [-Wold-style-definition] 2853 | exp_popen(program) | ^~~~~~~~~ exp_clib.c: In function 'exp_disconnect': exp_clib.c:2868:13: warning: unused variable 'ttyfd' [-Wunused-variable] 2868 | int ttyfd; | ^~~~~ exp_clib.c: In function 'exp_printify': exp_clib.c:2949:1: warning: old-style function definition [-Wold-style-definition] 2949 | exp_printify(s) | ^~~~~~~~~~~~ exp_clib.c: At top level: exp_clib.c:1821:1: warning: 'exp_setpgrp' defined but not used [-Wunused-function] 1821 | exp_setpgrp() | ^~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_closetcl.c` -o exp_closetcl.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_memmove.c` -o exp_memmove.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_tty_comm.c` -o exp_tty_comm.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_chan.c` -o exp_chan.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo Dbg.c` -o Dbg.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo pty_termios.c` -o pty_termios.o exp_chan.c: In function 'ExpBlockModeProc': exp_chan.c:109:1: warning: old-style function definition [-Wold-style-definition] 109 | ExpBlockModeProc(instanceData, mode) | ^~~~~~~~~~~~~~~~ exp_chan.c: In function 'expSetBlockModeProc': exp_chan.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | expSetBlockModeProc(fd, mode) | ^~~~~~~~~~~~~~~~~~~ exp_chan.c: In function 'ExpInputProc': exp_chan.c:201:1: warning: old-style function definition [-Wold-style-definition] 201 | ExpInputProc(instanceData, buf, toRead, errorCodePtr) | ^~~~~~~~~~~~ exp_chan.c: In function 'ExpOutputProc': exp_chan.c:262:1: warning: old-style function definition [-Wold-style-definition] 262 | ExpOutputProc(instanceData, buf, toWrite, errorCodePtr) | ^~~~~~~~~~~~~ exp_chan.c: In function 'ExpCloseProc': exp_chan.c:315:1: warning: old-style function definition [-Wold-style-definition] 315 | ExpCloseProc(instanceData, interp) | ^~~~~~~~~~~~ exp_chan.c: In function 'ExpWatchProc': exp_chan.c:389:1: warning: old-style function definition [-Wold-style-definition] 389 | ExpWatchProc(instanceData, mask) | ^~~~~~~~~~~~ exp_chan.c: In function 'ExpGetHandleProc': exp_chan.c:434:1: warning: old-style function definition [-Wold-style-definition] 434 | ExpGetHandleProc(instanceData, direction, handlePtr) | ^~~~~~~~~~~~~~~~ exp_chan.c:442:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 442 | *handlePtr = (ClientData) esPtr->fdin; | ^ exp_chan.c:445:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 445 | *handlePtr = (ClientData) esPtr->fdin; | ^ exp_chan.c: In function 'expChannelStillAlive': exp_chan.c:460:1: warning: old-style function definition [-Wold-style-definition] 460 | expChannelStillAlive(esBackupPtr, backupName) | ^~~~~~~~~~~~~~~~~~~~ exp_chan.c: In function 'expWriteChars': exp_chan.c:503:1: warning: old-style function definition [-Wold-style-definition] 503 | expWriteChars(esPtr,buffer,lenBytes) | ^~~~~~~~~~~~~ exp_chan.c: In function 'expWriteCharsUni': exp_chan.c:526:1: warning: old-style function definition [-Wold-style-definition] 526 | expWriteCharsUni(esPtr,buffer,lenChars) | ^~~~~~~~~~~~~~~~ exp_chan.c: In function 'expStateFree': exp_chan.c:545:1: warning: old-style function definition [-Wold-style-definition] 545 | expStateFree(esPtr) | ^~~~~~~~~~~~ exp_chan.c: In function 'exp_close_all': exp_chan.c:566:1: warning: old-style function definition [-Wold-style-definition] 566 | exp_close_all(interp) | ^~~~~~~~~~~~~ exp_chan.c: In function 'expCreateChannel': exp_chan.c:678:1: warning: old-style function definition [-Wold-style-definition] 678 | expCreateChannel(interp,fdin,fdout,pid) | ^~~~~~~~~~~~~~~~ pty_termios.c: In function 'pty_stty': pty_termios.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | pty_stty(s,name) | ^~~~~~~~ pty_termios.c: In function 'ttytype': pty_termios.c:289:1: warning: old-style function definition [-Wold-style-definition] 289 | ttytype(request,fd,ttycopy,ttyinit,s) | ^~~~~~~ pty_termios.c: In function 'exp_getptymaster': pty_termios.c:381:13: warning: unused variable 'num' [-Wunused-variable] 381 | int num; | ^~~ pty_termios.c:378:21: warning: unused variable 'stat_buf' [-Wunused-variable] 378 | struct stat stat_buf; | ^~~~~~~~ pty_termios.c:377:21: warning: unused variable 'bank' [-Wunused-variable] 377 | char *hex, *bank; | ^~~~ pty_termios.c:377:15: warning: unused variable 'hex' [-Wunused-variable] 377 | char *hex, *bank; | ^~~ pty_termios.c: In function 'exp_slave_control': pty_termios.c:625:1: warning: old-style function definition [-Wold-style-definition] 625 | exp_slave_control(master,control) | ^~~~~~~~~~~~~~~~~ pty_termios.c: In function 'exp_getptyslave': pty_termios.c:641:14: warning: unused variable 'buf' [-Wunused-variable] 641 | char buf[10240]; | ^~~ pty_termios.c:640:20: warning: unused variable 'slave2' [-Wunused-variable] 640 | int slave, slave2; | ^~~~~~ Dbg.c: In function 'breakpoint_print': Dbg.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | breakpoint_print(interp,b) | ^~~~~~~~~~~~~~~~ Dbg.c: In function 'save_re_matches': Dbg.c:154:1: warning: old-style function definition [-Wold-style-definition] 154 | save_re_matches(interp, re, objPtr) | ^~~~~~~~~~~~~~~ Dbg.c: In function 'breakpoint_test': Dbg.c:178:1: warning: old-style function definition [-Wold-style-definition] 178 | breakpoint_test(interp,cmd,bp) | ^~~~~~~~~~~~~~~ Dbg.c: In function 'TclGetFrame2': Dbg.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | TclGetFrame2(interp, origFramePtr, string, framePtrPtr, dir) | ^~~~~~~~~~~~ Dbg.c: In function 'printify': Dbg.c:306:14: warning: old-style function definition [-Wold-style-definition] 306 | static char *printify(s) | ^~~~~~~~ Dbg.c: In function 'print_argv': Dbg.c:356:1: warning: old-style function definition [-Wold-style-definition] 356 | print_argv(interp,argc,argv) | ^~~~~~~~~~ Dbg.c: In function 'print_objv': Dbg.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | print_objv(interp,objc,objv) | ^~~~~~~~~~ Dbg.c: In function 'PrintStackBelow': Dbg.c:458:1: warning: old-style function definition [-Wold-style-definition] 458 | PrintStackBelow(interp,curf,viewf) | ^~~~~~~~~~~~~~~ Dbg.c: In function 'PrintStack': Dbg.c:485:1: warning: old-style function definition [-Wold-style-definition] 485 | PrintStack(interp,curf,viewf,objc,objv,level) | ^~~~~~~~~~ Dbg.c: In function 'GoalFrame': Dbg.c:506:1: warning: old-style function definition [-Wold-style-definition] 506 | GoalFrame(goal,iptr) | ^~~~~~~~~ Dbg.c: In function 'debugger_trap': Dbg.c:559:1: warning: old-style function definition [-Wold-style-definition] 559 | debugger_trap(clientData,interp,level,command,commandInfo,objc,objv) | ^~~~~~~~~~~~~ Dbg.c:632:9: warning: enumeration value 'none' not handled in switch [-Wswitch] 632 | switch (debug_cmd) { | ^~~~~~ Dbg.c:632:9: warning: enumeration value 'up' not handled in switch [-Wswitch] Dbg.c:632:9: warning: enumeration value 'down' not handled in switch [-Wswitch] Dbg.c:632:9: warning: enumeration value 'where' not handled in switch [-Wswitch] Dbg.c:698:9: warning: enumeration value 'none' not handled in switch [-Wswitch] 698 | switch (debug_cmd) { | ^~~~~~ Dbg.c:698:9: warning: enumeration value 'up' not handled in switch [-Wswitch] Dbg.c:698:9: warning: enumeration value 'down' not handled in switch [-Wswitch] Dbg.c: In function 'cmdNext': Dbg.c:733:1: warning: old-style function definition [-Wold-style-definition] 733 | cmdNext(clientData, interp, objc, objv) | ^~~~~~~ Dbg.c: In function 'cmdDir': Dbg.c:757:1: warning: old-style function definition [-Wold-style-definition] 757 | cmdDir(clientData, interp, objc, objv) | ^~~~~~ Dbg.c: In function 'cmdSimple': Dbg.c:779:1: warning: old-style function definition [-Wold-style-definition] 779 | cmdSimple(clientData, interp, objc, objv) | ^~~~~~~~~ Dbg.c: In function 'breakpoint_destroy': Dbg.c:794:1: warning: old-style function definition [-Wold-style-definition] 794 | breakpoint_destroy(b) | ^~~~~~~~~~~~~~~~~~ Dbg.c: In function 'savestr': Dbg.c:819:1: warning: old-style function definition [-Wold-style-definition] 819 | savestr(objPtr,str) | ^~~~~~~ Dbg.c: In function 'cmdWhere': Dbg.c:830:1: warning: old-style function definition [-Wold-style-definition] 830 | cmdWhere(clientData, interp, objc, objv) | ^~~~~~~~ Dbg.c: In function 'cmdBreak': Dbg.c:902:1: warning: old-style function definition [-Wold-style-definition] 902 | cmdBreak(clientData, interp, objc, objv) | ^~~~~~~~ Dbg.c: In function 'cmdHelp': Dbg.c:1110:1: warning: old-style function definition [-Wold-style-definition] 1110 | cmdHelp(clientData, interp, objc, objv) | ^~~~~~~ Dbg.c: In function 'Dbg_Interactor': Dbg.c:1159:1: warning: old-style function definition [-Wold-style-definition] 1159 | Dbg_Interactor(interp,inter_proc,data) | ^~~~~~~~~~~~~~ Dbg.c: In function 'Dbg_IgnoreFuncs': Dbg.c:1175:1: warning: old-style function definition [-Wold-style-definition] 1175 | Dbg_IgnoreFuncs(interp,proc) | ^~~~~~~~~~~~~~~ Dbg.c: In function 'Dbg_Output': Dbg.c:1186:1: warning: old-style function definition [-Wold-style-definition] 1186 | Dbg_Output(interp,proc,data) | ^~~~~~~~~~ Dbg.c: In function 'Dbg_Active': Dbg.c:1202:1: warning: old-style function definition [-Wold-style-definition] 1202 | Dbg_Active(interp) | ^~~~~~~~~~ Dbg.c: In function 'Dbg_ArgcArgv': Dbg.c:1209:1: warning: old-style function definition [-Wold-style-definition] 1209 | Dbg_ArgcArgv(argc,argv,copy) | ^~~~~~~~~~~~ Dbg.c: In function 'init_debugger': Dbg.c:1383:1: warning: old-style function definition [-Wold-style-definition] 1383 | init_debugger(interp) | ^~~~~~~~~~~~~ Dbg.c: In function 'Dbg_On': Dbg.c:1408:1: warning: old-style function definition [-Wold-style-definition] 1408 | Dbg_On(interp,immediate) | ^~~~~~ Dbg.c: In function 'Dbg_Off': Dbg.c:1435:1: warning: old-style function definition [-Wold-style-definition] 1435 | Dbg_Off(interp) | ^~~~~~~ Dbg.c: In function 'Dbg_StdinMode': Dbg.c:1458:1: warning: old-style function definition [-Wold-style-definition] 1458 | Dbg_StdinMode(mode) | ^~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_select.c` -o exp_select.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_event.c` -o exp_event.o gcc -DPACKAGE_NAME=\"expect\" -DPACKAGE_TARNAME=\"expect\" -DPACKAGE_VERSION=\"5.45.4\" -DPACKAGE_STRING=\"expect\ 5.45.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_expect=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TCL_STUBS=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYSMACROS_H=1 -DHAVE_SYS_FCNTL_H=1 -DRETSIGTYPE=void -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRUCT_TM_TM_ZONE=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DNO_UNION_WAIT=1 -DHAVE_OPENPTY=1 -DHAVE_MEMMOVE=1 -DHAVE_SYSCONF=1 -DHAVE_STRFTIME=1 -DHAVE_STRCHR=1 -DHAVE_TIMEZONE=1 -DHAVE_SIGLONGJMP=1 -DHAVE_MEMCPY=1 -DWNOHANG_BACKUP_VALUE=1 -DSELECT_MASK_TYPE=fd_set -DHAVE_TCSETATTR=1 -DPOSIX=1 -DHAVE_TERMIOS=1 -DSETPGRP_VOID=1 -DHAVE_SV_TIMEZONE=1 -DHAVE_LONG_FILE_NAMES=1 -DTCL_DEBUGGER -DUSE_NON_CONST -DSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DEXECSCRIPTDIR=\"/usr/lib/expect5.45.4\" -DSTTY_BIN=\"/bin/stty\" -DDFLT_STTY="\"sane\"" -I. -I"." -I"/usr/include" -pipe -O2 -fomit-frame-pointer -Wall -fPIC -c `echo exp_main_exp.c` -o exp_main_exp.o exp_event.c: In function 'exp_event_disarm_bg': exp_event.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | exp_event_disarm_bg(esPtr) | ^~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_arm_background_channelhandler_force': exp_event.c:42:1: warning: old-style function definition [-Wold-style-definition] 42 | exp_arm_background_channelhandler_force(esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_arm_background_channelhandler': exp_event.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | exp_arm_background_channelhandler(esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_disarm_background_channelhandler': exp_event.c:72:1: warning: old-style function definition [-Wold-style-definition] 72 | exp_disarm_background_channelhandler(esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_disarm_background_channelhandler_force': exp_event.c:94:1: warning: old-style function definition [-Wold-style-definition] 94 | exp_disarm_background_channelhandler_force(esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_unblock_background_channelhandler': exp_event.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | exp_unblock_background_channelhandler(esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_event.c:116:5: warning: enumeration value 'armed' not handled in switch [-Wswitch] 116 | switch (esPtr->bg_status) { | ^~~~~~ exp_event.c:116:5: warning: enumeration value 'unarmed' not handled in switch [-Wswitch] exp_event.c: In function 'exp_block_background_channelhandler': exp_event.c:129:1: warning: old-style function definition [-Wold-style-definition] 129 | exp_block_background_channelhandler(esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_timehandler': exp_event.c:139:1: warning: old-style function definition [-Wold-style-definition] 139 | exp_timehandler(clientData) | ^~~~~~~~~~~~~~~ exp_event.c: In function 'exp_channelhandler': exp_event.c:145:13: warning: old-style function definition [-Wold-style-definition] 145 | static void exp_channelhandler(clientData,mask) | ^~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_event_disarm_fg': exp_event.c:158:1: warning: old-style function definition [-Wold-style-definition] 158 | exp_event_disarm_fg(esPtr) | ^~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_get_next_event': exp_event.c:172:5: warning: old-style function definition [-Wold-style-definition] 172 | int exp_get_next_event(interp,esPtrs,n,esPtrOut,timeout,key) | ^~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_get_next_event_info': exp_event.c:284:1: warning: old-style function definition [-Wold-style-definition] 284 | exp_get_next_event_info(interp,esPtr) | ^~~~~~~~~~~~~~~~~~~~~~~ exp_event.c: In function 'exp_dsleep': exp_event.c:318:1: warning: old-style function definition [-Wold-style-definition] 318 | exp_dsleep(interp,sec) | ^~~~~~~~~~ exp_event.c: In function 'exp_event_exit_real': exp_event.c:335:1: warning: old-style function definition [-Wold-style-definition] 335 | exp_event_exit_real(interp) | ^~~~~~~~~~~~~~~~~~~ exp_main_exp.c: In function 'main': exp_main_exp.c:20:1: warning: old-style function definition [-Wold-style-definition] 20 | main(argc, argv) | ^~~~ (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir libexpect5.45.4.so]]'\ ) > pkgIndex.tcl In function 'TclGetFrame2', inlined from 'debugger_trap' at Dbg.c:682:13: Dbg.c:292:24: warning: 'framePtr' may be used uninitialized [-Wmaybe-uninitialized] 292 | for (;framePtr != NULL; framePtr = framePtr->callerVarPtr) { | ^ Dbg.c: In function 'debugger_trap': Dbg.c:242:16: note: 'framePtr' was declared here 242 | CallFrame *framePtr; /* frame currently being searched */ | ^~~~~~~~ exp_clib.c: In function 'expectv': exp_clib.c:2697:16: warning: 'return_val' may be used uninitialized [-Wmaybe-uninitialized] 2697 | return return_val; | ^~~~~~~~~~ exp_clib.c:2454:13: note: 'return_val' was declared here 2454 | int return_val; | ^~~~~~~~~~ rm -f libexpect5.45.4.so gcc -shared -pipe -O2 -fomit-frame-pointer -Wall -fPIC -Wl,--export-dynamic -o libexpect5.45.4.so exp_command.o expect.o exp_inter.o exp_regexp.o exp_tty.o exp_log.o exp_main_sub.o exp_pty.o exp_trap.o exp_strf.o exp_console.o exp_glob.o exp_win.o exp_clib.o exp_closetcl.o exp_memmove.o exp_tty_comm.o exp_chan.o Dbg.o pty_termios.o exp_select.o exp_event.o -lm -L/usr/lib -ltclstub8.6 : libexpect5.45.4.so gcc \ -pipe -O2 -fomit-frame-pointer -Wall -fPIC \ -Wl,--export-dynamic \ -o expect exp_main_exp.o \ -L/sources/expect5.45.4 -lexpect5.45.4 \ -L/usr/lib -ltcl8.6 \ -ldl -lm \ \ : expect make[1]: Leaving directory '/sources/expect5.45.4' make[1]: Entering directory '/sources/expect5.45.4' (echo 'if {![package vsatisfies [package provide Tcl] 8.6]} {return}' ; \ echo 'package ifneeded Expect 5.45.4 \ [list load [file join $dir libexpect5.45.4.so]]'\ ) > pkgIndex.tcl /usr/bin/install -c libexpect5.45.4.so /usr/lib/expect5.45.4/libexpect5.45.4.so : /usr/lib/expect5.45.4/libexpect5.45.4.so Install pkgIndex.tcl /usr/lib/expect5.45.4 /usr/bin/install -c expect /usr/bin/expect TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/timed-run > timed-run TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/timed-read > timed-read TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/ftp-rfc > ftp-rfc TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/autopasswd > autopasswd TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/lpunlock > lpunlock TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/weather > weather TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/passmass > passmass TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/rftp > rftp TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/kibitz > kibitz TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/rlogin-cwd > rlogin-cwd TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/xpstat > xpstat TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/tkpasswd > tkpasswd TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/dislocate > dislocate TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/xkibitz > xkibitz TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/tknewsbiff > tknewsbiff TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/unbuffer > unbuffer TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/mkpasswd > mkpasswd TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/cryptdir > cryptdir TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/decryptdir > decryptdir TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/autoexpect > autoexpect TCL_LIBRARY=`echo /usr/include/library` LD_LIBRARY_PATH=".:/usr/lib:" PATH=".:/usr/lib:/usr/bin:/usr/sbin:/usr/sbin" TCLLIBPATH="." /usr/bin/tclsh8.6 ./fixline1 /usr/bin < ./example/multixterm > multixterm Installing header files in /usr/include Installing ./expect.h Installing ./expect_tcl.h Installing ./expect_comm.h Installing ./tcldbg.h for i in timed-run timed-read ftp-rfc autopasswd lpunlock weather passmass rftp kibitz rlogin-cwd xpstat tkpasswd dislocate xkibitz tknewsbiff unbuffer mkpasswd cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f $i ] ; then \ /usr/bin/install -c $i /usr/bin/$i ; \ rm -f $i ; \ else true; fi ; \ done Installing documentation in /usr/share/man /usr/bin/install -c -m 644 ./expect.man /usr/share/man/man1/expect.1 /usr/bin/install -c -m 644 ./libexpect.man /usr/share/man/man3/libexpect.3 for i in kibitz dislocate xkibitz tknewsbiff unbuffer mkpasswd passmass cryptdir decryptdir autoexpect multixterm end_of_list ; do \ if [ -f ./example/$i.man ] ; then \ /usr/bin/install -c -m 644 ./example/$i.man /usr/share/man/man1/$i.1 ; \ else true; fi ; \ done make[1]: Leaving directory '/sources/expect5.45.4' '/usr/lib/libexpect5.45.4.so' -> 'expect5.45.4/libexpect5.45.4.so' Totalseconds: 17 KB: 3249704 /