=>> Building shells/bash-static build started at Mon Apr 8 22:38:19 CEST 2024 port directory: /usr/ports/shells/bash-static package name: bash-static-5.2.26_1 building for: FreeBSD head-smeets-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 amd64 maintained by: ehaupt@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 1001 1001 121 Mar 20 20:50 /usr/ports/shells/bash-static/Makefile Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1500018 Jail OSVERSION: 1500018 Job Id: 12 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500018 UNAME_v=FreeBSD 15.0-CURRENT 1500018 UNAME_r=15.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/head-smeets/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color GID=0 OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 UID=0 PWD=/usr/local/poudriere/data/.m/head-smeets/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=head-smeets SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/head-smeets/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for bash-static-5.2.26_1: DOCS=off: Build and/or install documentation FDESCFS=off: Enable use of /dev/fd HELP=on: Enable builtin help NLS=on: Native Language Support PORTS_READLINE=on: libreadline from ports instead of bundled one SYSBASHRC=off: Enable system-wide rc files SYSLOG=off: Syslog logging support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ehaupt@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --without-bash-malloc --disable-rpath --enable-disabled-builtins --with-libiconv-prefix=/usr --enable-help-builtin --enable-nls --with-installed-readline --enable-static-link --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- bash_cv_dev_fd=absent XDG_DATA_HOME=/wrkdirs/usr/ports/shells/bash-static/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/shells/bash-static/work XDG_CACHE_HOME=/wrkdirs/usr/ports/shells/bash-static/work/.cache HOME=/wrkdirs/usr/ports/shells/bash-static/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/shells/bash-static/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/shells/bash-static/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/shells/bash-static/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/shells/bash-static/work XDG_CACHE_HOME=/wrkdirs/usr/ports/shells/bash-static/work/.cache HOME=/wrkdirs/usr/ports/shells/bash-static/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/shells/bash-static/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/shells/bash-static/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-DDEFAULT_PATH_VALUE='\"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin\"' -DSTANDARD_UTILS_PATH='\"/sbin:/bin:/usr/sbin:/usr/bin\"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="@comment " DOCS="@comment " NO_DOCS="" FDESCFS="@comment " NO_FDESCFS="" HELP="" NO_HELP="@comment " NLS="" NO_NLS="@comment " PORTS_READLINE="" NO_PORTS_READLINE="@comment " STATIC="" NO_STATIC="@comment " SYSBASHRC="@comment " NO_SYSBASHRC="" SYSLOG="@comment " NO_SYSLOG="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bash" EXAMPLESDIR="share/examples/bash" DATADIR="share/bash" WWWDIR="www/bash" ETCDIR="etc/bash" --End PLIST_SUB-- --SUB_LIST-- DOCS="@comment " NO_DOCS="" FDESCFS="@comment " NO_FDESCFS="" HELP="" NO_HELP="@comment " NLS="" NO_NLS="@comment " PORTS_READLINE="" NO_PORTS_READLINE="@comment " STATIC="" NO_STATIC="@comment " SYSBASHRC="@comment " NO_SYSBASHRC="" SYSLOG="@comment " NO_SYSLOG="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bash DOCSDIR=/usr/local/share/doc/bash EXAMPLESDIR=/usr/local/share/examples/bash WWWDIR=/usr/local/www/bash ETCDIR=/usr/local/etc/bash --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DISABLE_LICENSES="YES" multimedia_liba-utils_UNSET=WAYLAND net-mgmt_icingaweb2-module-reporting_UNSET=PDF lang_gcc12_UNSET=LTO_BOOTSTRAP lang_gcc13_UNSET=LTO_BOOTSTRAP lang_gcc_UNSET=LTO_BOOTSTRAP www_nginx_SET+=HEADERS_MORE www_nginx_SET+=LUA www_nginx_SET+=SET_MISC DEFAULT_VERSIONS+=mysql=10.11m #### #### OPTIONS_UNSET+=X11 WITH_PKG=devel WITHOUT_X11=YES WITH_X11=NO #DEFAULT_VERSIONS+=bdb=5 OPTIONS_UNSET+=DOCS DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=mysql=10.11m DEFAULT_VERSIONS+=php=8.1 DEFAULT_VERSIONS+=samba=4.16 DEFAULT_VERSIONS+=imagemagick=7-nox11 dns_opendnssec2_SET+=SOFTHSM dns_opendnssec2_SET+=SQLITE dns_opendnssec2_UNSET=MYSQL www_nginx_SET+=HTTP_FANCYINDEX www_nginx-devel_SET+=HTTP_FANCYINDEX mail_postfix_SET+=SASL mail_postfix-current_SET+=SASL mail_dovecot_SET+=MYSQL multimedia_liba-utils_UNSET=X11 multimedia_liba-utils_UNSET=WAYLAND multimedia_libva-intel-driver_UNSET=X11 multimedia_libva-intel-driver_UNSET=WAYLAND multimedia_libva-intel-hybrid-driver_UNSET=X11 multimedia_libva-intel-hybrid-driver_UNSET=WAYLAND multimedia_libva-intel-driver_UNSET=X11 multimedia_libva-intel-driver_UNSET=WAYLAND DISABLE_LICENSES="YES" graphics_cairo_UNSET+=OPENGL graphics_cairo_UNSET+=GLESV2 graphics_cairo_UNSET+=XCB security_amavisd-new_SET+=MYSQL #### Misc Poudriere #### .include "/etc/make.conf.ports_env" ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bash-static-5.2.26_1 depends on file: /usr/local/sbin/pkg - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by bash-static-5.2.26_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by bash-static-5.2.26_1 for building => SHA256 Checksum OK for bash/bash-5.2.tar.gz. => SHA256 Checksum OK for bash/bash52-001. => SHA256 Checksum OK for bash/bash52-002. => SHA256 Checksum OK for bash/bash52-003. => SHA256 Checksum OK for bash/bash52-004. => SHA256 Checksum OK for bash/bash52-005. => SHA256 Checksum OK for bash/bash52-006. => SHA256 Checksum OK for bash/bash52-007. => SHA256 Checksum OK for bash/bash52-008. => SHA256 Checksum OK for bash/bash52-009. => SHA256 Checksum OK for bash/bash52-010. => SHA256 Checksum OK for bash/bash52-011. => SHA256 Checksum OK for bash/bash52-012. => SHA256 Checksum OK for bash/bash52-013. => SHA256 Checksum OK for bash/bash52-014. => SHA256 Checksum OK for bash/bash52-015. => SHA256 Checksum OK for bash/bash52-016. => SHA256 Checksum OK for bash/bash52-017. => SHA256 Checksum OK for bash/bash52-018. => SHA256 Checksum OK for bash/bash52-019. => SHA256 Checksum OK for bash/bash52-020. => SHA256 Checksum OK for bash/bash52-021. => SHA256 Checksum OK for bash/bash52-022. => SHA256 Checksum OK for bash/bash52-023. => SHA256 Checksum OK for bash/bash52-024. => SHA256 Checksum OK for bash/bash52-025. => SHA256 Checksum OK for bash/bash52-026. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Fetching all distfiles required by bash-static-5.2.26_1 for building ===> Extracting for bash-static-5.2.26_1 => SHA256 Checksum OK for bash/bash-5.2.tar.gz. => SHA256 Checksum OK for bash/bash52-001. => SHA256 Checksum OK for bash/bash52-002. => SHA256 Checksum OK for bash/bash52-003. => SHA256 Checksum OK for bash/bash52-004. => SHA256 Checksum OK for bash/bash52-005. => SHA256 Checksum OK for bash/bash52-006. => SHA256 Checksum OK for bash/bash52-007. => SHA256 Checksum OK for bash/bash52-008. => SHA256 Checksum OK for bash/bash52-009. => SHA256 Checksum OK for bash/bash52-010. => SHA256 Checksum OK for bash/bash52-011. => SHA256 Checksum OK for bash/bash52-012. => SHA256 Checksum OK for bash/bash52-013. => SHA256 Checksum OK for bash/bash52-014. => SHA256 Checksum OK for bash/bash52-015. => SHA256 Checksum OK for bash/bash52-016. => SHA256 Checksum OK for bash/bash52-017. => SHA256 Checksum OK for bash/bash52-018. => SHA256 Checksum OK for bash/bash52-019. => SHA256 Checksum OK for bash/bash52-020. => SHA256 Checksum OK for bash/bash52-021. => SHA256 Checksum OK for bash/bash52-022. => SHA256 Checksum OK for bash/bash52-023. => SHA256 Checksum OK for bash/bash52-024. => SHA256 Checksum OK for bash/bash52-025. => SHA256 Checksum OK for bash/bash52-026. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Patching for bash-static-5.2.26_1 ===> Applying distribution patches for bash-static-5.2.26_1 ===> Applying FreeBSD patches for bash-static-5.2.26_1 from /usr/ports/shells/bash-static/../../shells/bash/files /usr/bin/touch /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/parse.y /bin/rm -f /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/y.tab.c =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bash-static-5.2.26_1 depends on package: readline>=8.2 - not found ===> Installing existing package /packages/All/readline-8.2.10.pkg [head-smeets-job-12] Installing readline-8.2.10... [head-smeets-job-12] `-- Installing indexinfo-0.3.1... [head-smeets-job-12] `-- Extracting indexinfo-0.3.1: . done [head-smeets-job-12] Extracting readline-8.2.10: .......... done ===> bash-static-5.2.26_1 depends on package: readline>=8.2 - found ===> Returning to build of bash-static-5.2.26_1 ===> bash-static-5.2.26_1 depends on executable: bison - not found ===> Installing existing package /packages/All/bison-3.8.2_1,1.pkg [head-smeets-job-12] Installing bison-3.8.2_1,1... [head-smeets-job-12] `-- Installing gettext-runtime-0.22.5... [head-smeets-job-12] `-- Extracting gettext-runtime-0.22.5: .......... done [head-smeets-job-12] `-- Installing libtextstyle-0.22.5... [head-smeets-job-12] `-- Extracting libtextstyle-0.22.5: ......... done [head-smeets-job-12] `-- Installing m4-1.4.19_1,1... [head-smeets-job-12] `-- Extracting m4-1.4.19_1,1: .......... done [head-smeets-job-12] Extracting bison-3.8.2_1,1: .......... done ===> bash-static-5.2.26_1 depends on executable: bison - found ===> Returning to build of bash-static-5.2.26_1 ===> bash-static-5.2.26_1 depends on package: gettext-runtime>=0.22_1 - found ===> bash-static-5.2.26_1 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.22.5.pkg [head-smeets-job-12] Installing gettext-tools-0.22.5... [head-smeets-job-12] Extracting gettext-tools-0.22.5: .......... done ===> bash-static-5.2.26_1 depends on executable: msgfmt - found ===> Returning to build of bash-static-5.2.26_1 ===> bash-static-5.2.26_1 depends on file: /usr/local/bin/as - not found ===> Installing existing package /packages/All/binutils-2.40_5,1.pkg [head-smeets-job-12] Installing binutils-2.40_5,1... [head-smeets-job-12] `-- Installing zstd-1.5.6... [head-smeets-job-12] | `-- Installing liblz4-1.9.4_1,1... [head-smeets-job-12] | `-- Extracting liblz4-1.9.4_1,1: .......... done [head-smeets-job-12] `-- Extracting zstd-1.5.6: .......... done [head-smeets-job-12] Extracting binutils-2.40_5,1: .......... done ===> bash-static-5.2.26_1 depends on file: /usr/local/bin/as - found ===> Returning to build of bash-static-5.2.26_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bash-static-5.2.26_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> bash-static-5.2.26_1 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Configuring for bash-static-5.2.26_1 configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd15.0 checking host system type... amd64-portbld-freebsd15.0 Beginning configuration for bash-5.2-release for amd64-portbld-freebsd15.0 checking for gcc... cc 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 the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for wchar.h... (cached) yes checking for minix/config.h... (cached) no checking for sys/param.h... (cached) yes checking for xlocale.h... yes checking for sys/time.h... (cached) yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking whether cc needs -traditional... no checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking version of installed readline library... 8.2 checking for a BSD-compatible install... /usr/bin/install -c checking for ar... /usr/local/bin/ar checking for ranlib... /usr/local/bin/ranlib checking for bison... bison -y checking whether make sets $(MAKE)... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for preprocessor stringizing operator... yes checking for long double... (cached) yes checking whether char is unsigned... no checking for working volatile... yes checking for C/C++ restrict keyword... __restrict__ checking for a race-free mkdir -p... (cached) /bin/mkdir -p checking for a sed that does not truncate output... (cached) /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/local/bin/msgfmt checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking whether we are using the GNU C Library 2 or newer... no checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for size_t... (cached) yes checking for stdint.h... (cached) yes checking for working alloca.h... no checking for alloca... yes checking for getpagesize... (cached) yes checking for symlink... (cached) yes checking for uselocale... (cached) yes checking for vprintf... (cached) yes checking for alarm... (cached) yes checking for fpurge... (cached) yes checking for __fpurge... no checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for working mmap... (cached) yes checking whether integer division by zero raises SIGFPE... (cached) yes checking for inttypes.h... (cached) yes checking for unsigned long long int... (cached) yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld... /usr/local/bin/ld checking if the linker (/usr/local/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for the common suffixes of directories in the library search path... lib,lib checking whether imported symbols can be declared weak... no checking for pthread.h... (cached) yes checking for pthread_kill in -lpthread... yes checking for multithread API to use... posix checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... yes checking for cc options needed to detect all undeclared functions... -fno-builtin checking for iconv... yes checking for working iconv... Service unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableService unavailableno checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for argz.h... (cached) no checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for getegid... (cached) yes checking for geteuid... (cached) yes checking for getgid... (cached) yes checking for getuid... (cached) yes checking for mempcpy... yes checking for munmap... (cached) yes checking for stpcpy... (cached) yes checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... (cached) yes checking for argz_count... (cached) no checking for argz_stringify... (cached) no checking for argz_next... (cached) no checking for __fsetlocking... no checking for localeconv... yes checking whether feof_unlocked is declared... (cached) yes checking whether fgets_unlocked is declared... no checking for bison... bison checking version of bison... 3.8.2, ok checking for long long int... (cached) yes checking for wchar_t... (cached) yes checking for wint_t... (cached) yes checking whether wint_t is too small... no checking for intmax_t... (cached) yes checking whether printf() supports POSIX/XSI format strings... (cached) yes checking whether we are using the GNU C Library >= 2.1 or uClibc... no checking for stdint.h... (cached) yes checking for SIZE_MAX... (cached) yes checking for stdint.h... (cached) yes checking for working fcntl.h... no (bad O_NOATIME) checking whether uselocale works... yes checking for fake locale system (OpenBSD)... no checking for Solaris 11.4 locale system... no checking for getlocalename_l... no checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for CFLocaleCopyPreferredLanguages... no checking for flexible array members... yes checking for ar... (cached) /usr/local/bin/ar checking for ptrdiff_t... (cached) yes checking for features.h... no checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... (cached) yes checking for fwprintf... (cached) yes checking for newlocale... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... (cached) yes checking for snprintf... (cached) yes checking for strnlen... (cached) yes checking for uselocale... (cached) yes checking for wcslen... (cached) yes checking for wcsnlen... (cached) yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... (cached) yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking for CFLocaleCopyPreferredLanguages... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... no checking whether to use NLS... yes checking where the gettext function comes from... included intl directory checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/mkdev.h... no checking for sys/sysmacros.h... no checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdarg.h... (cached) yes checking for varargs.h... no checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for locale.h... (cached) yes checking for termcap.h... yes checking for termio.h... no checking for termios.h... yes checking for dlfcn.h... (cached) yes checking for stdbool.h... (cached) yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking for netdb.h... (cached) yes checking for pwd.h... (cached) yes checking for grp.h... yes checking for strings.h... (cached) yes checking for regex.h... yes checking for syslog.h... yes checking for ulimit.h... yes checking for sys/pte.h... no checking for sys/stream.h... no checking for sys/select.h... (cached) yes checking for sys/file.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/mman.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/random.h... yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for sys/ptem.h... no checking for sys/resource.h... (cached) yes checking for working alloca.h... (cached) no checking for alloca... (cached) checking for uid_t in sys/types.h... (cached) yes checking for working chown... yes checking whether getpgrp requires zero arguments... (cached) yes checking for working strcoll... yes checking for __setostype... no checking for wait3... (cached) yes checking for mkfifo... yes checking for dup2... (cached) yes checking for eaccess... (cached) yes checking for fcntl... (cached) yes checking for getdtablesize... (cached) yes checking for getentropy... yes checking for getgroups... yes checking for gethostname... (cached) yes checking for getpagesize... (cached) yes checking for getpeername... yes checking for getrandom... yes checking for getrlimit... (cached) yes checking for getrusage... (cached) yes checking for gettimeofday... (cached) yes checking for kill... (cached) yes checking for killpg... (cached) yes checking for lstat... (cached) yes checking for pselect... yes checking for readlink... (cached) yes checking for select... (cached) yes checking for setdtablesize... no checking for setitimer... yes checking for tcgetpgrp... (cached) yes checking for uname... (cached) yes checking for ulimit... yes checking for waitpid... (cached) yes checking for rename... (cached) yes checking for bcopy... (cached) yes checking for bzero... (cached) yes checking for confstr... yes checking for faccessat... yes checking for fnmatch... yes checking for getaddrinfo... (cached) yes checking for gethostbyname... (cached) yes checking for getservbyname... yes checking for getservent... yes checking for inet_aton... (cached) yes checking for imaxdiv... yes checking for memmove... (cached) yes checking for pathconf... (cached) yes checking for putenv... (cached) yes checking for raise... (cached) yes checking for random... (cached) yes checking for regcomp... yes checking for regexec... yes checking for setenv... (cached) yes checking for setlinebuf... (cached) yes checking for setlocale... (cached) yes checking for setvbuf... (cached) yes checking for siginterrupt... (cached) yes checking for strchr... (cached) yes checking for sysconf... (cached) yes checking for syslog... yes checking for tcgetattr... yes checking for times... (cached) yes checking for ttyname... yes checking for tzset... yes checking for unsetenv... (cached) yes checking for vasprintf... (cached) yes checking for asprintf... (cached) yes checking for isascii... (cached) yes checking for isblank... (cached) yes checking for isgraph... yes checking for isprint... yes checking for isspace... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for mkstemp... (cached) yes checking for mkdtemp... (cached) yes checking for arc4random... (cached) yes checking for getcwd... (cached) yes checking for memset... (cached) yes checking for strcasecmp... (cached) yes checking for strcasestr... (cached) yes checking for strerror... (cached) yes checking for strftime... (cached) yes checking for strnlen... (cached) yes checking for strpbrk... (cached) yes checking for strstr... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for strtoll... (cached) yes checking for strtoull... (cached) yes checking for strtoumax... yes checking for dprintf... (cached) yes checking for strchrnul... (cached) yes checking for strdup... (cached) yes checking for libaudit.h... no checking whether AUDIT_USER_TTY is declared... no checking whether confstr is declared... yes checking whether printf is declared... yes checking whether sbrk is declared... (cached) yes checking whether setregid is declared... yes checking whether strcpy is declared... yes checking whether strsignal is declared... (cached) yes checking for setresuid... (cached) yes checking for setresgid... (cached) yes checking whether strtold is declared... yes checking for broken strtold... no checking whether strtol is declared... yes checking whether strtoll is declared... (cached) yes checking whether strtoul is declared... yes checking whether strtoull is declared... (cached) yes checking whether strtoumax is declared... (cached) yes checking for working mktime... yes checking for argz.h... (cached) no checking for errno.h... (cached) yes checking for fcntl.h... (cached) yes checking for malloc.h... yes checking for stdio_ext.h... no checking for working mmap... (cached) yes checking for __argz_count... no checking for __argz_next... no checking for __argz_stringify... no checking for dcgettext... no checking for mempcpy... (cached) yes checking for munmap... (cached) yes checking for mremap... no checking for stpcpy... (cached) yes checking for strcspn... (cached) yes checking for wctype.h... (cached) yes checking for wchar.h... (cached) yes checking for langinfo.h... (cached) yes checking for mbstr.h... no checking for mbrlen... (cached) yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... (cached) yes checking for mbsrtowcs... (cached) yes checking for mbschr... no checking for wcrtomb... (cached) yes checking for wcscoll... (cached) yes checking for wcsdup... yes checking for wcwidth... (cached) yes checking for wctype... yes checking for wcswidth... (cached) yes checking whether mbrtowc and mbstate_t are properly declared... (cached) yes checking for iswlower... yes checking for iswupper... yes checking for towlower... (cached) yes checking for towupper... yes checking for iswctype... (cached) yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for wcwidth broken with unicode combining characters... no checking for locale_charset... no checking size of wchar_t... 4 checking type of array argument to getgroups... gid_t checking for off_t... (cached) yes checking for mode_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uintptr_t... (cached) yes checking for ssize_t... (cached) yes checking for time_t... yes checking for long long int... (cached) yes checking for unsigned long long int... (cached) yes checking for sig_atomic_t in signal.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of char *... 8 checking size of size_t... 8 checking size of double... 8 checking size of long long... 8 checking for u_int... (cached) yes checking for u_long... (cached) yes checking for bits16_t... no checking for u_bits16_t... no checking for bits32_t... no checking for u_bits32_t... no checking for bits64_t... no checking for ptrdiff_t... (cached) yes checking whether stat file-mode macros are broken... no checking whether #! works in shell scripts... yes checking if dup2 fails to clear the close-on-exec flag... no checking whether pgrps need synchronization... no checking for type of signal functions... posix checking for sys_errlist and sys_nerr... yes checking whether sys_siglist is declared... (cached) yes checking for sys_siglist in system C library... yes checking for _sys_siglist in signal.h or unistd.h... no checking for _sys_siglist in system C library... no checking for clock_t... yes checking for sigset_t... yes checking for socklen_t... yes checking for quad_t... yes checking for type of struct rlimit fields... rlim_t checking for intmax_t... (cached) yes checking for uintmax_t... yes checking size of intmax_t... 8 checking for struct termios.c_line... no checking for struct termio.c_line... no checking for struct dirent.d_ino... checking for struct dirent.d_ino... yes yes checking for struct dirent.d_fileno... checking for struct dirent.d_fileno... yes yes checking for struct dirent.d_namlen... checking for struct dirent.d_namlen... yes yes checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct timeval in sys/time.h and time.h... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct timezone in sys/time.h and time.h... yes checking for offset of exit status in return status from wait... 8 checking for struct timespec in ... yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for sbrk... yes checking for working sbrk... yes checking for the existence of strsignal... yes checking if opendir() opens non-directories... no checking whether ulimit can substitute for getdtablesize... no checking whether fpurge is declared... (cached) yes checking to see if getenv can be redefined... no checking if getcwd() will dynamically allocate memory with 0 size... yes checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking whether or not strcoll and strcmp differ... no checking for standard-conformant snprintf... yes checking for standard-conformant vsnprintf... yes checking for usable strtoimax... checking for strtoimax... yes checking whether strtoimax is declared... (cached) yes yes checking for standard-conformant putenv declaration... yes checking for standard-conformant unsetenv declaration... yes checking for printf floating point output in hex notation... yes checking whether fnmatch can be used to check bracket equivalence classes... no checking if signal handlers must be reinstalled when invoked... no checking for presence of necessary job control definitions... present checking for presence of named pipes... present checking whether termios.h defines TIOCGWINSZ... yes checking for TIOCSTAT in sys/ioctl.h... yes checking for FIONREAD in sys/ioctl.h... yes checking whether WCONTINUED flag to waitpid is unavailable or available but broken... no checking for speed_t in sys/types.h... no checking whether getpw functions are declared in pwd.h... yes checking for unusable real-time signals due to large values... yes checking which library has the termcap functions... (cached) using libtermcap checking whether /dev/fd is available... (cached) absent checking whether /dev/stdin stdout stderr are available... present checking for default mail directory... /var/mail checking shared object configuration for loadable builtins... supported configure: creating ./config.status config.status: creating Makefile config.status: creating builtins/Makefile config.status: creating lib/readline/Makefile config.status: creating lib/glob/Makefile config.status: creating lib/intl/Makefile config.status: creating lib/malloc/Makefile config.status: creating lib/sh/Makefile config.status: creating lib/termcap/Makefile config.status: creating lib/tilde/Makefile config.status: creating doc/Makefile config.status: creating support/Makefile config.status: creating po/Makefile.in config.status: creating examples/loadables/Makefile config.status: creating examples/loadables/Makefile.inc config.status: creating examples/loadables/Makefile.sample config.status: creating examples/loadables/perl/Makefile config.status: creating support/bash.pc config.status: creating support/bashbug.sh config.status: creating config.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing stamp-h commands =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building for bash-static-5.2.26_1 --- y.tab.c --- --- ./builtins/builtext.h --- --- mksignames.o --- --- buildsignames.o --- --- ./support/man2html --- --- pathnames.h --- --- mksyntax --- --- unwind_prot.o --- --- alias.o --- --- buildsignames.o --- rm -f buildsignames.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DBUILDTOOL -o buildsignames.o -c ./support/signames.c --- mksignames.o --- rm -f mksignames.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DBUILDTOOL -c ./support/mksignames.c ./support/mksignames.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | write_signames (stream) | ^ ./support/mksignames.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | main (argc, argv) | ^ 2 warnings generated. --- y.tab.c --- bison -y -d ./parse.y --- ./builtins/builtext.h --- --- /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl/libintl.h --- making /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl/libintl.h in /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl --- libgnuintl.h --- cp ./libgnuintl.h.in libgnuintl.h --- libintl.h --- cmp libgnuintl.h libintl.h || cp libgnuintl.h libintl.h cmp: libintl.h: No such file or directory --- unwind_prot.o --- rm -f unwind_prot.o --- alias.o --- rm -f alias.o --- ./support/man2html --- --- man2html.o --- rm -f man2html.o --- mksyntax --- rm -f mksyntax cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -o mksyntax ./mksyntax.c --- mksignames --- --- unwind_prot.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c unwind_prot.c --- alias.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c alias.c --- ./support/man2html --- cc -c -DHAVE_CONFIG_H -DSHELL -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I.. -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing man2html.c --- mksyntax --- ./mksyntax.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | cdesc (i) | ^ ./mksyntax.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | getcstr (f) | ^ ./mksyntax.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | addcstr (str, flag) | ^ ./mksyntax.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | addcchar (c, flag) | ^ ./mksyntax.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | dump_lflags (fp, ind) | ^ ./mksyntax.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | wcomment (fp, i) | ^ ./mksyntax.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | dump_lsyntax (fp) | ^ ./mksyntax.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | main(argc, argv) | ^ --- mksignames --- rm -f mksignames cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -o mksignames mksignames.o buildsignames.o --- alias.o --- alias.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | find_alias (name) | ^ alias.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | get_alias_value (name) | ^ alias.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | add_alias (name, value) | ^ alias.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | free_alias_data (data) | ^ alias.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | remove_alias (name) | ^ alias.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | map_over_aliases (function) | ^ alias.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | sort_aliases (array) | ^ alias.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | qsort_alias_compare (as1, as2) | ^ alias.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | alias_expand_word (s) | ^ alias.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | skipquotes (string, start) | ^ alias.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | skipws (string, start) | ^ alias.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | rd_token (string, start) | ^ alias.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | alias_expand (string) | ^ 13 warnings generated. --- mksyntax --- 8 warnings generated. --- copy_cmd.o --- --- dispose_cmd.o --- --- findcmd.o --- --- flags.o --- --- hashcmd.o --- --- hashlib.o --- --- list.o --- --- stringlib.o --- --- array.o --- --- assoc.o --- --- bracecomp.o --- --- lsignames.h --- --- syntax.c --- --- hashcmd.o --- rm -f hashcmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c hashcmd.c hashcmd.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | phash_freedata (data) | ^ hashcmd.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | phash_remove (filename) | ^ hashcmd.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | phash_insert (filename, full_path, check_dot, found) | ^ hashcmd.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | phash_search (filename) | ^ 4 warnings generated. --- flags.o --- rm -f flags.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c flags.c flags.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | find_flag (name) | ^ flags.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | change_flag (flag, on_or_off) | ^ flags.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | set_current_flags (bitmap) | ^ 3 warnings generated. --- findcmd.o --- rm -f findcmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c findcmd.c findcmd.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | setup_exec_ignore (varname) | ^ findcmd.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | exec_name_should_ignore (name) | ^ findcmd.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | file_status (name) | ^ findcmd.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | executable_file (file) | ^ findcmd.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | is_directory (file) | ^ findcmd.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | executable_or_directory (file) | ^ findcmd.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | find_user_command (name) | ^ findcmd.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | find_path_file (name) | ^ findcmd.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | _find_user_command_internal (name, flags) | ^ findcmd.c:269:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 269 | if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ findcmd.c:269:11: note: place parentheses around the assignment to silence this warning 269 | if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */ | ^ | ( ) findcmd.c:269:11: note: use '==' to turn this assignment into an equality comparison 269 | if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */ | ^ | == findcmd.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | find_user_command_internal (name, flags) | ^ findcmd.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | get_next_path_element (path_list, path_index_pointer) | ^ findcmd.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | search_for_command (pathname, flags) | ^ findcmd.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | user_command_matches (name, flags, state) | ^ findcmd.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | find_absolute_program (name, flags) | ^ findcmd.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | find_in_path_element (name, path, flags, name_len, dotinfop, rflagsp) | ^ findcmd.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | find_user_command_in_path (name, path_list, flags, rflagsp) | ^ findcmd.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | find_in_path (name, path_list, flags) | ^ 18 warnings generated. --- dispose_cmd.o --- rm -f dispose_cmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c dispose_cmd.c dispose_cmd.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | dispose_command (command) | ^ dispose_cmd.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | dispose_cond_node (cond) | ^ dispose_cmd.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | dispose_function_def_contents (c) | ^ dispose_cmd.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | dispose_function_def (c) | ^ dispose_cmd.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | dispose_word (w) | ^ dispose_cmd.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | dispose_word_desc (w) | ^ dispose_cmd.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | dispose_words (list) | ^ dispose_cmd.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | dispose_redirects (list) | ^ 8 warnings generated. --- copy_cmd.o --- rm -f copy_cmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c copy_cmd.c copy_cmd.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | copy_word (w) | ^ copy_cmd.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | copy_word_list (list) | ^ copy_cmd.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | copy_case_clause (clause) | ^ copy_cmd.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | copy_case_clauses (clauses) | ^ copy_cmd.c:113:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | return (REVERSE_LIST (new_list, PATTERN_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ copy_cmd.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | copy_redirect (redirect) | ^ copy_cmd.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | copy_redirects (list) | ^ copy_cmd.c:176:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | return (REVERSE_LIST (new_list, REDIRECT *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ copy_cmd.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | copy_for_command (com) | ^ copy_cmd.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | copy_arith_for_command (com) | ^ copy_cmd.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | copy_group_command (com) | ^ copy_cmd.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | copy_subshell_command (com) | ^ copy_cmd.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | copy_coproc_command (com) | ^ copy_cmd.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | copy_case_command (com) | ^ copy_cmd.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | copy_while_command (com) | ^ copy_cmd.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | copy_if_command (com) | ^ copy_cmd.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | copy_arith_command (com) | ^ copy_cmd.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | copy_cond_command (com) | ^ copy_cmd.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | copy_simple_command (com) | ^ copy_cmd.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | copy_function_def_contents (old, new_def) | ^ copy_cmd.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | copy_function_def (com) | ^ copy_cmd.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | copy_command (command) | ^ 22 warnings generated. --- unwind_prot.o --- unwind_prot.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | without_interrupts (function, arg1, arg2) | ^ unwind_prot.c:118:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | (*function)(arg1, arg2); | ^ unwind_prot.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | begin_unwind_frame (tag) | ^ unwind_prot.c:126:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | add_unwind_protect ((Function *)NULL, tag); | ^ unwind_prot.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | discard_unwind_frame (tag) | ^ unwind_prot.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | run_unwind_frame (tag) | ^ unwind_prot.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | add_unwind_protect (cleanup, arg) | ^ In file included from unwind_prot.c:48: ./unwind_prot.h:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | extern void add_unwind_protect (); /* Not portable to arbitrary C99 hosts. */ | ^ unwind_prot.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | clear_unwind_protect_list (flags) | ^ unwind_prot.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | unwind_protect_tag_on_stack (tag) | ^ unwind_prot.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | add_unwind_protect_internal (cleanup, arg) | ^ unwind_prot.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | remove_unwind_protect_internal (ignore1, ignore2) | ^ unwind_prot.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | run_unwind_protects_internal (ignore1, ignore2) | ^ unwind_prot.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | clear_unwind_protects_internal (flag, ignore) | ^ unwind_prot.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | unwind_frame_discard_internal (tag, ignore) | ^ unwind_prot.c:272:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 272 | while (elt = unwind_protect_list) | ~~~~^~~~~~~~~~~~~~~~~~~~~ unwind_prot.c:272:14: note: place parentheses around the assignment to silence this warning 272 | while (elt = unwind_protect_list) | ^ | ( ) unwind_prot.c:272:14: note: use '==' to turn this assignment into an equality comparison 272 | while (elt = unwind_protect_list) | ^ | == unwind_prot.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | restore_variable (sv) | ^ unwind_prot.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | unwind_frame_run_internal (tag, ignore) | ^ unwind_prot.c:307:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 307 | while (elt = unwind_protect_list) | ~~~~^~~~~~~~~~~~~~~~~~~~~ unwind_prot.c:307:14: note: place parentheses around the assignment to silence this warning 307 | while (elt = unwind_protect_list) | ^ | ( ) unwind_prot.c:307:14: note: use '==' to turn this assignment into an equality comparison 307 | while (elt = unwind_protect_list) | ^ | == unwind_prot.c:326:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | (*(elt->head.cleanup)) (elt->arg.v); | ^ unwind_prot.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | unwind_protect_mem_internal (var, psize) | ^ unwind_prot.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | unwind_protect_mem (var, size) | ^ 22 warnings generated. --- y.tab.c --- rm -f parser-built --- ./builtins/builtext.h --- --- mkbuiltins.o --- rm -f mkbuiltins.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing mkbuiltins.c mkbuiltins.c:267:30: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | error_directory = xmalloc (2 + strlen (argv[arg_index])); | ^ mkbuiltins.c:307:35: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- stringlib.o --- rm -f stringlib.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c stringlib.c --- ./support/man2html --- man2html.c:3693:44: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3693 | for (i = 0; owndef->st[deflen + 2 + i] = owndef->st[i]; i++); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ man2html.c:3693:44: note: place parentheses around the assignment to silence this warning 3693 | for (i = 0; owndef->st[deflen + 2 + i] = owndef->st[i]; i++); | ^ | ( ) man2html.c:3693:44: note: use '==' to turn this assignment into an equality comparison 3693 | for (i = 0; owndef->st[deflen + 2 + i] = owndef->st[i]; i++); | ^ --- array.o --- rm -f array.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c array.c array.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | array_flush (a) | ^ --- assoc.o --- rm -f assoc.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c assoc.c --- bracecomp.o --- rm -f bracecomp.o --- lsignames.h --- rm -f lsignames.h --- hashlib.o --- rm -f hashlib.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c hashlib.c hashlib.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | hash_create (buckets) | ^ --- list.o --- rm -f list.o --- ./builtins/builtext.h --- 307 | temp_struct_filename = xmalloc (15); | ^ mkbuiltins.c:312:17: warning: passing arguments to 'file_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | file_error (temp_struct_filename); | ^ mkbuiltins.c:320:17: warning: passing arguments to 'file_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | file_error (extern_filename); | ^ mkbuiltins.c:324:26: warning: passing arguments to 'write_file_headers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | write_file_headers (structfile, externfile); | ^ --- ./support/man2html --- | == --- array.o --- array.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | array_dispose(a) | ^ --- hashlib.o --- hashlib.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | hash_size (table) | ^ hashlib.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | copy_bucket_array (ba, cpdata) | ^ hashlib.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | hash_rehash (table, nsize) | ^ hashlib.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | hash_grow (table) | ^ hashlib.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | hash_shrink (table) | ^ --- ./builtins/builtext.h --- mkbuiltins.c:341:20: warning: passing arguments to 'extract_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | extract_info (arg, structfile, externfile); | ^ mkbuiltins.c:348:26: warning: passing arguments to 'write_file_footers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | write_file_footers (structfile, externfile); | ^ mkbuiltins.c:352:19: warning: passing arguments to 'write_longdocs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | write_longdocs (structfile, saved_builtins); | ^ mkbuiltins.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | main (argc, argv) | ^ --- hashlib.o --- hashlib.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | hash_copy (table, cpdata) | ^ hashlib.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | hash_string (s) | ^ hashlib.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | hash_bucket (string, table) | ^ hashlib.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | hash_search (string, table, flags) | ^ hashlib.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | hash_remove (string, table, flags) --- ./builtins/builtext.h --- mkbuiltins.c:392:28: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | array = (ARRAY *)xmalloc (sizeof (ARRAY)); | ^ mkbuiltins.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | array_create (width) | ^ mkbuiltins.c:422:34: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | copy->array = (char **)xmalloc ((1 + array->sindex) * sizeof (char *)); | ^ mkbuiltins.c:425:22: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | copy->array[i] = savestring (array->array[i]); --- hashlib.o --- | ^ hashlib.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | hash_insert (string, table, flags) | ^ hashlib.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | hash_flush (table, free_data) | ^ hashlib.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | hash_dispose (table) | ^ hashlib.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | hash_walk (table, func) | ^ --- ./builtins/builtext.h --- | ^ mkbuiltins.c:68:39: note: expanded from macro 'savestring' 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^ mkbuiltins.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | copy_string_array (array) | ^ mkbuiltins.c:440:7: warning: passing arguments to 'xrealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | (array->array, (array->size += array->growth_rate) * array->width); | ^ mkbuiltins.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | array_add (element, array) | ^ mkbuiltins.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | array_free (array) | ^ mkbuiltins.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | find_directive (directive) | ^ mkbuiltins.c:539:16: warning: passing arguments to 'file_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | file_error (filename); | ^ mkbuiltins.c:544:16: warning: passing arguments to 'file_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | file_error (filename); | ^ mkbuiltins.c:547:20: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | buffer = xmalloc (1 + file_size); | ^ mkbuiltins.c:550:16: warning: passing arguments to 'file_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | file_error (filename); | ^ mkbuiltins.c:566:30: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | defs = (DEF_FILE *)xmalloc (sizeof (DEF_FILE)); | ^ mkbuiltins.c:590:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 590 | for (i = 0; line = defs->lines->array[i]; i++) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:590:20: note: place parentheses around the assignment to silence this warning 590 | for (i = 0; line = defs->lines->array[i]; i++) | ^ | ( ) mkbuiltins.c:590:20: note: use '==' to turn this assignment into an equality comparison 590 | for (i = 0; line = defs->lines->array[i]; i++) | ^ | == mkbuiltins.c:603:24: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | directive = xmalloc (j); | ^ mkbuiltins.c:612:19: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | line_error (defs, "Unknown directive `%s'", directive); | ^ mkbuiltins.c:630:24: warning: passing arguments to 'add_documentation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | add_documentation (defs, line); | ^ mkbuiltins.c:660:18: warning: passing arguments to 'write_builtins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | write_builtins (defs, structfile, externfile); | ^ mkbuiltins.c:663:13: warning: passing arguments to 'free_defs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | free_defs (defs); | ^ mkbuiltins.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | extract_info (filename, structfile, externfile) | ^ mkbuiltins.c:204:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | void extract_info (); | ^ mkbuiltins.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | free_builtin (builtin) | ^ mkbuiltins.c:706:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 706 | for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:706:27: note: place parentheses around the assignment to silence this warning 706 | for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) | ^ | ( ) mkbuiltins.c:706:27: note: use '==' to turn this assignment into an equality comparison 706 | for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) | ^ | == mkbuiltins.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | free_defs (defs) | ^ mkbuiltins.c:219:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 219 | void free_defs (); | ^ mkbuiltins.c:731:30: warning: passing arguments to 'remove_trailing_whitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | remove_trailing_whitespace (string); | ^ mkbuiltins.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | strip_whitespace (string) | ^ mkbuiltins.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | remove_trailing_whitespace (string) | ^ mkbuiltins.c:223:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | void remove_trailing_whitespace (); | ^ mkbuiltins.c:764:16: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | line_error (defs, "%s requires an argument", for_whom); | ^ mkbuiltins.c:766:11: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | return (savestring (new)); | ^ mkbuiltins.c:68:39: note: expanded from macro 'savestring' 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^ mkbuiltins.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | get_arg (for_whom, defs, string) | ^ mkbuiltins.c:776:16: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | line_error (defs, "%s must be inside of a $BUILTIN block", directive); | ^ mkbuiltins.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | must_be_building (directive, defs) | ^ mkbuiltins.c:222:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | void must_be_building (); | ^ mkbuiltins.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | current_builtin (directive, defs) | ^ mkbuiltins.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | add_documentation (defs, line) | ^ mkbuiltins.c:220:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | void add_documentation (); | ^ mkbuiltins.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | builtin_handler (self, defs, arg) | ^ mkbuiltins.c:827:18: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | line_error (defs, "%s found before $END", self); | ^ mkbuiltins.c:840:33: warning: passing arguments to 'xmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC)); | ^ mkbuiltins.c:849:26: warning: passing arguments to 'is_special_builtin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | if (is_special_builtin (name)) | ^ mkbuiltins.c:851:29: warning: passing arguments to 'is_assignment_builtin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | if (is_assignment_builtin (name)) | ^ mkbuiltins.c:853:27: warning: passing arguments to 'is_localvar_builtin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | if (is_localvar_builtin (name)) | ^ mkbuiltins.c:855:24: warning: passing arguments to 'is_posix_builtin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | if (is_posix_builtin (name)) | ^ mkbuiltins.c:857:27: warning: passing arguments to 'is_arrayvar_builtin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | if (is_arrayvar_builtin (name)) | ^ mkbuiltins.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | function_handler (self, defs, arg) | ^ mkbuiltins.c:879:18: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | line_error (defs, "syntax error: no current builtin for $FUNCTION directive"); | ^ mkbuiltins.c:883:16: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | line_error (defs, "%s already has a function (%s)", | ^ mkbuiltins.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | docname_handler (self, defs, arg) | ^ mkbuiltins.c:903:16: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | line_error (defs, "%s already had a docname (%s)", | ^ mkbuiltins.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | short_doc_handler (self, defs, arg) | ^ mkbuiltins.c:923:16: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | line_error (defs, "%s already has short documentation (%s)", | ^ mkbuiltins.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | comment_handler (self, defs, arg) | ^ mkbuiltins.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | depends_on_handler (self, defs, arg) | ^ mkbuiltins.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | produces_handler (self, defs, arg) | ^ mkbuiltins.c:977:16: warning: passing arguments to 'line_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | line_error (defs, "%s already has a %s definition", defs->filename, self); | ^ mkbuiltins.c:988:13: warning: passing arguments to 'file_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | file_error (defs->production); | ^ mkbuiltins.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | end_handler (self, defs, arg) | ^ mkbuiltins.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | line_error (defs, format, arg1, arg2) | ^ mkbuiltins.c:207:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | void line_error (); | ^ mkbuiltins.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | file_error (filename) | ^ mkbuiltins.c:206:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 206 | void file_error (); | ^ mkbuiltins.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | xmalloc (bytes) | ^ mkbuiltins.c:62:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static char *xmalloc (), *xrealloc (); | ^ mkbuiltins.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | xrealloc (pointer, bytes) | ^ mkbuiltins.c:62:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static char *xmalloc (), *xrealloc (); | ^ mkbuiltins.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | copy_builtin (builtin) | ^ mkbuiltins.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | save_builtin (builtin) | ^ mkbuiltins.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | write_file_headers (structfile, externfile) | ^ mkbuiltins.c:209:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | void write_file_headers (); | ^ mkbuiltins.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | write_file_footers (structfile, externfile) | ^ mkbuiltins.c:210:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | void write_file_footers (); | ^ mkbuiltins.c:1253:18: warning: passing arguments to 'write_ifdefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | write_ifdefs (externfile, builtin->dependencies->array); | ^ mkbuiltins.c:1254:18: warning: passing arguments to 'write_ifdefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | write_ifdefs (structfile, builtin->dependencies->array); | ^ mkbuiltins.c:1320:20: warning: passing arguments to 'write_endifs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | write_endifs (externfile, builtin->dependencies->array); | ^ mkbuiltins.c:1323:20: warning: passing arguments to 'write_endifs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | write_endifs (structfile, builtin->dependencies->array); | ^ mkbuiltins.c:1331:3: warning: passing arguments to 'write_documentation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | (documentation_file, builtin->longdoc->array, 0, TEXINFO); | ^ mkbuiltins.c:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | write_builtins (defs, structfile, externfile) | ^ mkbuiltins.c:215:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | void write_builtins (); | ^ mkbuiltins.c:1353:15: warning: passing arguments to 'write_ifdefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | write_ifdefs (stream, builtin->dependencies->array); | ^ mkbuiltins.c:1365:24: warning: passing arguments to 'write_documentation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | write_documentation (stream, sarray, 0, STRING_ARRAY|HELPFILE); | ^ mkbuiltins.c:1369:22: warning: passing arguments to 'write_documentation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | write_documentation (stream, builtin->longdoc->array, 0, STRING_ARRAY); | ^ mkbuiltins.c:1372:15: warning: passing arguments to 'write_endifs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | write_endifs (stream, builtin->dependencies->array); | ^ mkbuiltins.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | write_longdocs (stream, builtins) | ^ mkbuiltins.c:214:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | void write_longdocs (); | ^ mkbuiltins.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | write_dummy_declarations (stream, builtins) | ^ mkbuiltins.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | write_ifdefs (stream, defines) | ^ mkbuiltins.c:211:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | void write_ifdefs (); | ^ mkbuiltins.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | write_endifs (stream, defines) | ^ mkbuiltins.c:212:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | void write_endifs (); | ^ mkbuiltins.c:1462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | write_documentation (stream, documentation, indentation, flags) | ^ mkbuiltins.c:213:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | void write_documentation (); | ^ mkbuiltins.c:1593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | write_helpfiles (builtins) | ^ mkbuiltins.c:217:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | int write_helpfiles (); | ^ mkbuiltins.c:1635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | _find_in_table (name, name_table) | ^ mkbuiltins.c:1647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | is_special_builtin (name) | ^ mkbuiltins.c:194:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | static int is_special_builtin (); | ^ mkbuiltins.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | is_assignment_builtin (name) | ^ mkbuiltins.c:195:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | static int is_assignment_builtin (); | ^ mkbuiltins.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | is_localvar_builtin (name) | ^ mkbuiltins.c:196:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | static int is_localvar_builtin (); | ^ mkbuiltins.c:1668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | is_posix_builtin (name) | ^ mkbuiltins.c:197:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | static int is_posix_builtin (); | ^ mkbuiltins.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | is_arrayvar_builtin (name) | ^ mkbuiltins.c:198:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | static int is_arrayvar_builtin (); | ^ --- syntax.c --- rm -f syntax.c --- ./builtins/builtext.h --- 116 warnings generated. --- mkbuiltins --- --- list.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c list.c --- array.o --- array.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | array_copy(a) | ^ array.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | array_slice(array, s, e) | ^ array.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | array_walk(a, func, udata) | ^ array.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | array_shift(a, n, flags) | ^ array.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | array_rshift (a, n, s) | ^ array.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | array_unshift_element(a) | ^ array.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | array_shift_element(a, v) | ^ array.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | array_quote(array) | ^ array.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | array_quote_escapes(array) | ^ array.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | array_dequote(array) | ^ --- y.tab.c --- touch parser-built --- syntax.c --- ./mksyntax -o syntax.c --- syntax.o --- --- lsignames.h --- ./mksignames lsignames.h --- hashlib.o --- 15 warnings generated. --- stringlib.o --- stringlib.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | find_string_in_alist (string, alist, flags) | ^ stringlib.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | find_token_in_alist (token, alist, flags) | ^ stringlib.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | find_index_in_alist (string, alist, flags) | ^ stringlib.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | substring (string, start, end) | ^ --- array.o --- array.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | array_dequote_escapes(array) | ^ array.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | array_remove_quoted_nulls(array) | ^ array.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | array_subrange (a, start, nelem, starsub, quoted, pflags) | ^ array.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | array_patsub (a, pat, rep, mflags) | ^ array.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- assoc.o --- assoc.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | assoc_dispose (hash) | ^ assoc.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | assoc_flush (hash) | ^ assoc.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | assoc_insert (hash, key, value) | ^ assoc.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | assoc_replace (hash, key, value) | ^ assoc.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | assoc_remove (hash, string) | ^ --- bracecomp.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c bracecomp.c --- syntax.o --- rm -f syntax.o --- signames.h --- --- version.h --- --- y.tab.h --- --- list.o --- list.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | list_reverse (list) | ^ In file included from list.c:30: In file included from ./shell.h:42: ./externs.h:155:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 155 | extern GENERIC_LIST *list_reverse (); | ^ list.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | list_length (list) | ^ In file included from list.c:30: In file included from ./shell.h:42: --- ./builtins/builtext.h --- cc -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -o mkbuiltins mkbuiltins.o -L/usr/local/lib --- stringlib.o --- stringlib.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | strsub (string, pat, rep, global) | ^ stringlib.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | strcreplace (string, c, text, flags) | ^ stringlib.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | strip_trailing (string, len, newlines_only) | ^ stringlib.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | xbcopy (s, d, n) | ^ --- array.o --- 476 | array_modcase (a, pat, modop, mflags) | ^ array.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | array_create_element(indx, value) | ^ array.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | array_dispose_element(ae) | ^ array.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | array_insert(a, i, v) | ^ array.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | array_remove(a, i) | ^ array.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- assoc.o --- assoc.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | assoc_reference (hash, string) | ^ assoc.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | assoc_quote (h) | ^ assoc.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | assoc_quote_escapes (h) | ^ assoc.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | assoc_dequote (h) | ^ assoc.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | assoc_dequote_escapes (h) | ^ --- signames.h --- if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi --- list.o --- ./externs.h:156:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | extern int list_length (); | ^ list.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | list_append (head, tail) | ^ In file included from list.c:30: In file included from ./shell.h:42: ./externs.h:157:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | extern GENERIC_LIST *list_append (); | ^ 6 warnings generated. --- array.o --- 697 | array_reference(a, i) | ^ array.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | array_to_word_list(a) | ^ array.c:762:10: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | return (REVERSE_LIST(list, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ array.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | array_from_word_list (list) | ^ --- assoc.o --- assoc.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | assoc_remove_quoted_nulls (h) | ^ assoc.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | assoc_subrange (hash, start, nelem, starsub, quoted, pflags) | ^ assoc.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | assoc_patsub (h, pat, rep, mflags) | ^ assoc.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | assoc_modcase (h, pat, modop, mflags) | ^ --- array.o --- array.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | array_keys_to_word_list(a) | ^ array.c:793:10: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | return (REVERSE_LIST(list, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ array.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | array_to_kvpair_list(a) | ^ --- assoc.o --- assoc.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | assoc_to_kvpair (hash, quoted) | ^ assoc.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | assoc_to_assign (hash, quoted) | ^ assoc.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | assoc_to_word_list_internal (h, t) | ^ assoc.c:530:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | return (REVERSE_LIST(list, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ --- array.o --- array.c:814:10: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | return (REVERSE_LIST(list, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ array.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | array_assign_list (array, list) | ^ array.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | array_to_argv (a, countp) | ^ array.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- assoc.o --- | ^ assoc.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | assoc_to_word_list (h) | ^ assoc.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | assoc_keys_to_word_list (h) | ^ assoc.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | assoc_to_kvpair_list (h) | ^ assoc.c:568:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | return (REVERSE_LIST(list, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' --- array.o --- 858 | array_from_argv(a, vec, count) | ^ array.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | array_to_string_internal (start, end, sep, quoted) | ^ array.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | array_to_kvpair (a, quoted) | ^ array.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | array_to_assign (a, quoted) | ^ array.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | array_to_string (a, sep, quoted) | ^ --- assoc.o --- 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ assoc.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | assoc_to_string (h, sep, quoted) | ^ assoc.c:603:7: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | l = REVERSE_LIST(list, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ --- syntax.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c syntax.c --- stringlib.o --- 8 warnings generated. --- version.h --- /bin/sh ./support/mkversion.sh -b -S . -s release -d 5.2 -o newversion.h && mv newversion.h version.h --- ./builtins/builtext.h --- --- builtext.h --- --- assoc.o --- 24 warnings generated. --- bracecomp.o --- bracecomp.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | string_gcd (s1, s2) | ^ bracecomp.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | really_munge_braces (array, real_start, real_end, gcd_zero) | ^ bracecomp.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | _strcompare (s1, s2) | ^ bracecomp.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | hack_braces_completion (names) | ^ bracecomp.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | bash_brace_completion (count, ignore) | ^ 5 warnings generated. --- array.o --- 36 warnings generated. --- ./support/man2html --- 1 warning generated. --- man2html --- cc -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing man2html.o -o man2html -L/usr/local/lib --- buildversion.o --- --- ./builtins/libbuiltins.a --- --- buildversion.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DBUILDTOOL -c -o buildversion.o ./version.c ./version.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | show_shell_version (extended) | ^ 1 warning generated. --- bashversion --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -o bashversion ./support/bashversion.c buildversion.o ./support/bashversion.c:70:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 70 | if (progname = strrchr (argv[0], '/')) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./support/bashversion.c:70:16: note: place parentheses around the assignment to silence this warning 70 | if (progname = strrchr (argv[0], '/')) | ^ | ( ) ./support/bashversion.c:70:16: note: use '==' to turn this assignment into an equality comparison 70 | if (progname = strrchr (argv[0], '/')) | ^ | == ./support/bashversion.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | main (argc, argv) | ^ 2 warnings generated. --- .build --- --- bashbug --- *********************************************************** * * --- .build --- * GNU bash, version 5.2.26(1)-release (amd64-portbld-freebsd15.0) * * *********************************************************** --- ./lib/glob/libglob.a --- --- ./lib/sh/libsh.a --- --- ./lib/intl/libintl.a --- --- ./lib/tilde/libtilde.a --- making ./lib/glob/libglob.a in ./lib/glob making ./lib/sh/libsh.a in ./lib/sh making ./lib/intl/libintl.a in ./lib/intl making ./lib/tilde/libtilde.a in ./lib/tilde --- tilde.o --- --- ./lib/glob/libglob.a --- --- strmatch.o --- --- smatch.o --- --- xmbsrtowcs.o --- --- gmisc.o --- --- glob.o --- --- strmatch.o --- rm -f strmatch.o --- smatch.o --- rm -f smatch.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing smatch.c --- gmisc.o --- rm -f gmisc.o --- ./builtins/libbuiltins.a --- --- psize.aux --- --- alias.o --- --- bind.o --- --- break.o --- --- builtin.o --- --- caller.o --- --- cd.o --- --- colon.o --- --- command.o --- --- common.o --- --- declare.o --- --- echo.o --- --- enable.o --- --- eval.o --- --- evalfile.o --- --- evalstring.o --- --- exec.o --- --- command.o --- rm -f command.o ./mkbuiltins -D . command.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing command.c || ( rm -f command.c ; exit 1 ) ./command.def:137:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | add_unwind_protect ((char *)dispose_command, command); | ^ ./command.def:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | command_builtin (list) | ^ 2 warnings generated. rm -f command.c --- cd.o --- rm -f cd.o ./mkbuiltins -D . cd.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing cd.c || ( rm -f cd.c ; exit 1 ) ./cd.def:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | setpwd (dirname) | ^ ./cd.def:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | bindpwd (no_symlinks) | ^ ./cd.def:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | resetpwd (caller) | ^ ./cd.def:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | cdxattr (dir, ndirp) | ^ ./cd.def:327:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 327 | builtin_error (_("HOME not set")); | ^~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./cd.def:327:19: note: treat the string as an argument to avoid this 327 | builtin_error (_("HOME not set")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./cd.def:335:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 335 | builtin_error (_("too many arguments")); | ^~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./cd.def:335:22: note: treat the string as an argument to avoid this 335 | builtin_error (_("too many arguments")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./cd.def:353:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 353 | builtin_error (_("OLDPWD not set")); | ^~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./cd.def:353:19: note: treat the string as an argument to avoid this 353 | builtin_error (_("OLDPWD not set")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./cd.def:370:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 370 | while (path = extract_colon_unit (cdpath, &path_index)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./cd.def:370:19: note: place parentheses around the assignment to silence this warning 370 | while (path = extract_colon_unit (cdpath, &path_index)) | ^ | ( ) ./cd.def:370:19: note: use '==' to turn this assignment into an equality comparison 370 | while (path = extract_colon_unit (cdpath, &path_index)) | ^ | == ./cd.def:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | cd_builtin (list) | ^ ./cd.def:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | pwd_builtin (list) | ^ ./cd.def:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | change_to_directory (newdir, nolinks, xattr) | ^ 11 warnings generated. rm -f cd.c --- caller.o --- rm -f caller.o ./mkbuiltins -D . caller.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing caller.c || ( rm -f caller.c ; exit 1 ) ./caller.def:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | caller_builtin (list) | ^ 1 warning generated. rm -f caller.c --- builtin.o --- rm -f builtin.o ./mkbuiltins -D . builtin.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing builtin.c || ( rm -f builtin.c ; exit 1 ) ./builtin.def:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | builtin_builtin (list) | ^ 1 warning generated. rm -f builtin.c --- break.o --- rm -f break.o ./mkbuiltins -D . break.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing break.c || ( rm -f break.c ; exit 1 ) ./break.def:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | break_builtin (list) | ^ ./break.def:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | continue_builtin (list) | ^ ./break.def:139:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 139 | builtin_error (_("only meaningful in a `for', `while', or `until' loop")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./break.def:139:20: note: treat the string as an argument to avoid this 139 | builtin_error (_("only meaningful in a `for', `while', or `until' loop")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ 3 warnings generated. rm -f break.c --- bind.o --- rm -f bind.o ./mkbuiltins -D . bind.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing bind.c || ( rm -f bind.c ; exit 1 ) ./bind.def:125:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 125 | builtin_warning (_("line editing not enabled")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./bind.def:125:24: note: treat the string as an argument to avoid this 125 | builtin_warning (_("line editing not enabled")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./bind.def:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | bind_builtin (list) | ^ ./bind.def:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | query_bindings (name) | ^ ./bind.def:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | unbind_command (name) | ^ ./bind.def:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | unbind_keyseq (seq) | ^ 5 warnings generated. rm -f bind.c --- alias.o --- rm -f alias.o ./mkbuiltins -D . alias.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing alias.c || ( rm -f alias.c ; exit 1 ) ./alias.def:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | alias_builtin (list) | ^ ./alias.def:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | unalias_builtin (list) | ^ ./alias.def:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | print_alias (alias, flags) | ^ 3 warnings generated. rm -f alias.c --- psize.aux --- cc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -o psize.aux ./psize.c ./psize.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | sigpipe (sig) | ^ ./psize.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | main (argc, argv) | ^ 2 warnings generated. --- common.o --- rm -f common.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing common.c common.c:134:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 134 | fprintf (stderr, _("warning: ")); | ^~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ common.c:134:20: note: treat the string as an argument to avoid this 134 | fprintf (stderr, _("warning: ")); | ^ --- declare.o --- rm -f declare.o ./mkbuiltins -D . declare.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing declare.c || ( rm -f declare.c ; exit 1 ) --- echo.o --- rm -f echo.o ./mkbuiltins -D . echo.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing echo.c || ( rm -f echo.c ; exit 1 ) ./echo.def:141:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 141 | while (i = *temp++) | ~~^~~~~~~~~ ./echo.def:141:16: note: place parentheses around the assignment to silence this warning 141 | while (i = *temp++) | ^ | ( ) --- enable.o --- rm -f enable.o ./mkbuiltins -D . enable.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing enable.c || ( rm -f enable.c ; exit 1 ) --- eval.o --- rm -f eval.o ./mkbuiltins -D . eval.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing eval.c || ( rm -f eval.c ; exit 1 ) --- evalfile.o --- rm -f evalfile.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing evalfile.c --- evalstring.o --- rm -f evalstring.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing evalstring.c --- colon.o --- rm -f colon.o ./mkbuiltins -D . colon.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing colon.c || ( rm -f colon.c ; exit 1 ) ./colon.def:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | colon_builtin (ignore) | ^ ./colon.def:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | false_builtin (ignore) | ^ 2 warnings generated. rm -f colon.c --- ./lib/glob/libglob.a --- --- smatch.o --- smatch.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/tilde/libtilde.a --- cc -c -DHAVE_CONFIG_H -DSHELL -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -I. -I../.. -I../.. -I../../include -I../../lib -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing tilde.c --- ./lib/glob/libglob.a --- --- strmatch.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing strmatch.c strmatch.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | strmatch (pattern, string, flags) | ^ strmatch.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | wcsmatch (wpattern, wstring, flags) | ^ 2 warnings generated. --- glob.o --- rm -f glob.o --- smatch.o --- 102 | charcmp (c1, c2, forcecoll) | ^ smatch.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | rangecmp (c1, c2, forcecoll) | ^ smatch.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | collequiv (c, equiv) | ^ smatch.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | collsym (s, len) | ^ smatch.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | is_valid_cclass (name) | ^ smatch.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xmbsrtowcs.o --- rm -f xmbsrtowcs.o --- smatch.o --- 231 | cclass_test (c, char_class) | ^ smatch.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | is_cclass (c, name) | ^ In file included from smatch.c:340: ./sm_loop.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | FCT (pattern, string, flags) | ^ smatch.c:321:15: note: expanded from macro 'FCT' 321 | #define FCT internal_strmatch | ^ In file included from smatch.c:340: ./sm_loop.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | GMATCH (string, se, pattern, pe, ends, flags) | ^ smatch.c:322:18: note: expanded from macro 'GMATCH' 322 | #define GMATCH gmatch | ^ In file included from smatch.c:340: ./sm_loop.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | PARSE_COLLSYM (p, vp) | ^ smatch.c:324:24: note: expanded from macro 'PARSE_COLLSYM' 324 | #define PARSE_COLLSYM parse_collsym | ^ In file included from smatch.c:340: ./sm_loop.c:434:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 434 | if (not = (*p == L('!') || *p == L('^'))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sm_loop.c:434:11: note: place parentheses around the assignment to silence this warning 434 | if (not = (*p == L('!') || *p == L('^'))) | ^ | ( ) ./sm_loop.c:434:11: note: use '==' to turn this assignment into an equality comparison 434 | if (not = (*p == L('!') || *p == L('^'))) | ^ | == ./sm_loop.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | PATSCAN (string, end, delim) | ^ smatch.c:326:19: note: expanded from macro 'PATSCAN' 326 | #define PATSCAN glob_patscan | ^ In file included from smatch.c:340: ./sm_loop.c:713:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 713 | for (s = string; c = *s; s++) | ~~^~~~ ./sm_loop.c:713:22: note: place parentheses around the assignment to silence this warning 713 | for (s = string; c = *s; s++) | ^ | ( ) ./sm_loop.c:713:22: note: use '==' to turn this assignment into an equality comparison 713 | for (s = string; c = *s; s++) | ^ | == ./sm_loop.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | STRCOMPARE (p, pe, s, se) | ^ smatch.c:327:21: note: expanded from macro 'STRCOMPARE' 327 | #define STRCOMPARE strcompare | ^ In file included from smatch.c:340: ./sm_loop.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | EXTMATCH (xc, s, se, p, pe, flags) | ^ smatch.c:328:19: note: expanded from macro 'EXTMATCH' 328 | #define EXTMATCH extmatch | ^ In file included from smatch.c:340: ./sm_loop.c:924:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 924 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sm_loop.c:924:15: note: place parentheses around the assignment to silence this warning 924 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0)) | ^ | ( ) ./sm_loop.c:924:15: note: use '==' to turn this assignment into an equality comparison 924 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0)) | ^ | == smatch.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | charcmp_wc (c1, c2, forcecoll) | ^ smatch.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | rangecmp_wc (c1, c2, forcecoll) | ^ smatch.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | collequiv_wc (c, equiv) | ^ smatch.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | collwcsym (s, len) | ^ smatch.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | is_wcclass (wc, name) | ^ smatch.c:535:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 535 | while (p = strchr (p, '[')) | ~~^~~~~~~~~~~~~~~~~ smatch.c:535:12: note: place parentheses around the assignment to silence this warning 535 | while (p = strchr (p, '[')) | ^ | ( ) smatch.c:535:12: note: use '==' to turn this assignment into an equality comparison 535 | while (p = strchr (p, '[')) | ^ | == smatch.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | posix_cclass_only (pattern) | ^ In file included from smatch.c:596: ./sm_loop.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | FCT (pattern, string, flags) | ^ smatch.c:577:15: note: expanded from macro 'FCT' 577 | #define FCT internal_wstrmatch | ^ In file included from smatch.c:596: ./sm_loop.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | GMATCH (string, se, pattern, pe, ends, flags) | ^ smatch.c:578:18: note: expanded from macro 'GMATCH' 578 | #define GMATCH gmatch_wc | ^ In file included from smatch.c:596: ./sm_loop.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | PARSE_COLLSYM (p, vp) | ^ smatch.c:580:24: note: expanded from macro 'PARSE_COLLSYM' 580 | #define PARSE_COLLSYM parse_collwcsym | ^ In file included from smatch.c:596: ./sm_loop.c:434:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 434 | if (not = (*p == L('!') || *p == L('^'))) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sm_loop.c:434:11: note: place parentheses around the assignment to silence this warning 434 | if (not = (*p == L('!') || *p == L('^'))) | ^ | ( ) ./sm_loop.c:434:11: note: use '==' to turn this assignment into an equality comparison 434 | if (not = (*p == L('!') || *p == L('^'))) | ^ | == ./sm_loop.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | PATSCAN (string, end, delim) | ^ smatch.c:582:19: note: expanded from macro 'PATSCAN' 582 | #define PATSCAN glob_patscan_wc | ^ In file included from smatch.c:596: ./sm_loop.c:713:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 713 | for (s = string; c = *s; s++) | ~~^~~~ ./sm_loop.c:713:22: note: place parentheses around the assignment to silence this warning 713 | for (s = string; c = *s; s++) | ^ | ( ) ./sm_loop.c:713:22: note: use '==' to turn this assignment into an equality comparison 713 | for (s = string; c = *s; s++) | ^ | == ./sm_loop.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | STRCOMPARE (p, pe, s, se) | ^ smatch.c:583:21: note: expanded from macro 'STRCOMPARE' 583 | #define STRCOMPARE wscompare | ^ In file included from smatch.c:596: ./sm_loop.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | EXTMATCH (xc, s, se, p, pe, flags) | ^ smatch.c:584:19: note: expanded from macro 'EXTMATCH' 584 | #define EXTMATCH extmatch_wc | ^ In file included from smatch.c:596: ./sm_loop.c:924:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 924 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./sm_loop.c:924:15: note: place parentheses around the assignment to silence this warning 924 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0)) | ^ | ( ) ./sm_loop.c:924:15: note: use '==' to turn this assignment into an equality comparison 924 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0)) | ^ | == smatch.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | xstrmatch (pattern, string, flags) | ^ --- ./lib/tilde/libtilde.a --- tilde.c:195:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- ./lib/glob/libglob.a --- --- xmbsrtowcs.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing xmbsrtowcs.c --- ./lib/intl/libintl.a --- --- charset.alias --- --- ref-add.sed --- --- ref-del.sed --- --- bindtextdom.o --- --- ref-add.sed --- sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' ./ref-add.sin > t-ref-add.sed mv t-ref-add.sed ref-add.sed --- charset.alias --- /bin/sh ./config.charset 'amd64-portbld-freebsd15.0' > t-charset.alias --- ./builtins/libbuiltins.a --- --- exit.o --- --- fc.o --- --- fg_bg.o --- --- common.o --- | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ common.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | no_args (list) | ^ common.c:161:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 161 | builtin_error (_("too many arguments")); | ^~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ common.c:161:22: note: treat the string as an argument to avoid this 161 | builtin_error (_("too many arguments")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) --- declare.o --- ./declare.def:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | declare_builtin (list) | ^ ./declare.def:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | local_builtin (list) | ^ ./declare.def:137:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 137 | builtin_error (_("can only be used in a function")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./declare.def:137:22: note: treat the string as an argument to avoid this 137 | builtin_error (_("can only be used in a function")); | ^ | "%s", --- echo.o --- ./echo.def:141:16: note: use '==' to turn this assignment into an equality comparison 141 | while (i = *temp++) | ^ | == ./echo.def:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | echo_builtin (list) | ^ 2 warnings generated. rm -f echo.c --- enable.o --- ./enable.def:145:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 145 | builtin_error (_("dynamic loading not available")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./enable.def:145:19: note: treat the string as an argument to avoid this 145 | builtin_error (_("dynamic loading not available")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./enable.def:153:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 153 | builtin_error (_("dynamic loading not available")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- evalfile.o --- evalfile.c:250:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | add_unwind_protect (restore_funcarray_state, fa); | ^ evalfile.c:263:21: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | add_unwind_protect (pop_args, 0); | ^ evalfile.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | _evalfile (filename, flags) | ^ evalfile.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | maybe_execute_file (fname, force_noninteractive) | ^ --- fg_bg.o --- rm -f fg_bg.o --- exec.o --- rm -f exec.o ./mkbuiltins -D . exec.def --- exit.o --- rm -f exit.o ./mkbuiltins -D . exit.def --- fc.o --- rm -f fc.o --- ./lib/glob/libglob.a --- --- glob.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing glob.c --- ./lib/tilde/libtilde.a --- 195 | if (result = strchr (string, '~')) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ tilde.c:195:14: note: place parentheses around the assignment to silence this warning 195 | if (result = strchr (string, '~')) | ^ | ( ) tilde.c:195:14: note: use '==' to turn this assignment into an equality comparison 195 | if (result = strchr (string, '~')) | ^ | == --- ./lib/sh/libsh.a --- --- clktck.o --- --- clock.o --- --- setlinebuf.o --- --- strnlen.o --- --- zread.o --- --- zwrite.o --- --- shtty.o --- --- netconn.o --- --- timeval.o --- --- ./builtins/libbuiltins.a --- --- hash.o --- --- common.o --- | ^ common.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | no_options (list) | ^ common.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | sh_needarg (s) | ^ common.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | sh_neednumarg (s) | ^ common.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | sh_notfound (s) | ^ common.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | sh_invalidopt (s) | ^ --- declare.o --- ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./declare.def:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | declare_find_variable (name, mkglobal, chklocal) | ^ ./declare.def:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | declare_build_newname (name, subscript_start, offset, value, aflags) | ^ ./declare.def:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | declare_transform_name (name, flags_on, flags_off) | ^ ./declare.def:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- enable.o --- ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./enable.def:153:19: note: treat the string as an argument to avoid this 153 | builtin_error (_("dynamic loading not available")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./enable.def:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | enable_builtin (list) | ^ --- ./lib/sh/libsh.a --- --- zread.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE zread.c zread.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | zread (fd, buf, len) | ^ zread.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | zreadretry (fd, buf, len) | ^ --- ./builtins/libbuiltins.a --- ./enable.def:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | list_some_builtins (filter) | ^ --- evalfile.o --- evalfile.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | force_execute_file (fname, force_noninteractive) | ^ evalfile.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | fc_execute_file (filename) | ^ evalfile.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | source_file (filename, sflags) | ^ --- evalstring.o --- --- ./lib/sh/libsh.a --- zread.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | zreadintr (fd, buf, len) | ^ zread.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | zreadc (fd, cp) | ^ zread.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | zreadcintr (fd, cp) | ^ zread.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | zreadn (fd, cp, len) | ^ zread.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | zsyncfd (fd) | ^ 7 warnings generated. --- clock.o --- --- ./builtins/libbuiltins.a --- evalstring.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | restore_lastcom (x) | ^ evalstring.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | should_optimize_fork (command, subshell) | ^ evalstring.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | should_suppress_fork (command) | ^ evalstring.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | can_optimize_connection (command) | ^ evalstring.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE clock.c clock.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | clock_t_to_secs (t, sp, sfp) | ^ clock.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | print_clock_t (fp, t) | ^ 2 warnings generated. --- clktck.o --- --- ./builtins/libbuiltins.a --- --- exec.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing exec.c || ( rm -f exec.c ; exit 1 ) --- exit.o --- --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE clktck.c --- shtty.o --- --- ./builtins/libbuiltins.a --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing exit.c || ( rm -f exit.c ; exit 1 ) --- common.o --- common.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | sh_invalidoptname (s) | ^ common.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | sh_invalidid (s) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE shtty.c --- setlinebuf.o --- --- ./builtins/libbuiltins.a --- common.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | sh_invalidnum (s) | ^ common.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | sh_invalidsig (s) | ^ common.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | sh_badpid (s) | ^ --- declare.o --- 232 | declare_internal (list, local_var) | ^ ./declare.def:445:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 445 | builtin_error (_("cannot use `-f' to make functions")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE setlinebuf.c --- strnlen.o --- --- ./builtins/libbuiltins.a --- | ^~~~~~~~~~~~~~ ./declare.def:445:19: note: treat the string as an argument to avoid this 445 | builtin_error (_("cannot use `-f' to make functions")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./declare.def:566:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 566 | if (t = strchr (name, '[')) /* ] */ --- enable.o --- ./enable.def:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | enable_shell_command (name, disable_p) | ^ 5 warnings generated. --- evalstring.o --- 129 | optimize_connection_fork (command) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE strnlen.c --- zwrite.o --- --- ./builtins/libbuiltins.a --- evalstring.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | optimize_subshell_command (command) | ^ evalstring.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | optimize_shell_function (command) | ^ evalstring.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | can_optimize_cat_file (command) | ^ evalstring.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | parse_and_execute_cleanup (old_running_trap) | ^ --- common.o --- --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE zwrite.c --- ./builtins/libbuiltins.a --- common.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | sh_readonly (s) | ^ common.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | sh_noassign (s) | ^ common.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | sh_erange (s, desc) | ^ common.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | sh_badjob (s) | ^ common.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | sh_nojobs (s) | ^ --- declare.o --- | ~~^~~~~~~~~~~~~~~~~~~~ ./declare.def:566:13: note: place parentheses around the assignment to silence this warning 566 | if (t = strchr (name, '[')) /* ] */ | ^ | ( ) ./declare.def:566:13: note: use '==' to turn this assignment into an equality comparison 566 | if (t = strchr (name, '[')) /* ] */ | ^ | == --- evalstring.o --- evalstring.c:242:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | add_unwind_protect (set_history_remembering, (char *)NULL); | ^ evalstring.c:253:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | add_unwind_protect (set_current_prompt_level, x); | ^ evalstring.c:259:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | add_unwind_protect (restore_lastcom, lastcom); | ^ --- common.o --- common.c:301:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 301 | builtin_error (_("no job control")); | ^~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ common.c:301:20: note: treat the string as an argument to avoid this 301 | builtin_error (_("no job control")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ common.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | sh_restricted (s) | ^ common.c:313:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 313 | builtin_error (_("restricted")); --- evalstring.o --- evalstring.c:262:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | add_unwind_protect (pop_stream, (char *)NULL); | ^ evalstring.c:264:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | add_unwind_protect (parser_restore_alias, (char *)NULL); | ^ evalstring.c:267:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | add_unwind_protect (xfree, orig_string); | ^ evalstring.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- | ^~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ common.c:313:20: note: treat the string as an argument to avoid this 313 | builtin_error (_("restricted")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ common.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | sh_notbuiltin (s) | ^ common.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | sh_ttyerror (set) | ^ --- evalstring.o --- 218 | parse_prologue (string, flags, tag) | ^ evalstring.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | parse_and_execute (string, from_file, flags) | ^ evalstring.c:443:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 443 | else if (command = global_command) | ~~~~~~~~^~~~~~~~~~~~~~~~ evalstring.c:443:21: note: place parentheses around the assignment to silence this warning 443 | else if (command = global_command) | ^ | ( ) evalstring.c:443:21: note: use '==' to turn this assignment into an equality comparison 443 | else if (command = global_command) | ^ | == --- common.o --- common.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | sh_chkwrite (s) | ^ common.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | make_builtin_argv (list, ip) | ^ common.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | remember_args (list, destructive) | ^ common.c:416:37: warning: passing arguments to 'list_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | posparam_count += list_length (list); | ^ --- evalstring.o --- evalstring.c:471:27: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | add_unwind_protect (dispose_fd_bitmap, bitmap); | ^ evalstring.c:472:27: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | add_unwind_protect (dispose_command, command); /* XXX */ | ^ evalstring.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | parse_string (string, from_file, flags, cmdp, endp) | ^ evalstring.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- common.o --- common.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | shift_args (times) | ^ common.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | get_numeric_arg (list, fatal, count) | ^ common.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | get_exitstat (list) | ^ common.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | read_octal (string) | ^ common.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | get_working_directory (for_whom) | ^ --- evalstring.o --- 730 | open_redir_file (r, fnp) | ^ evalstring.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | cat_file (r) | ^ evalstring.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | evalstring (string, from_file, flags) | ^ --- ./lib/glob/libglob.a --- --- gmisc.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing gmisc.c --- ./builtins/libbuiltins.a --- --- help.o --- --- common.o --- common.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | set_working_directory (name) | ^ common.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | get_job_by_name (name, flags) | ^ common.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | get_job_spec (list) | ^ common.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | display_signal_list (list, forcecols) | ^ common.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | builtin_address_internal (name, disabled_okay) | ^ common.c:947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | shell_builtin_compare (sbp1, sbp2) | ^ common.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | builtin_bind_variable (name, value, flags) | ^ common.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | builtin_bind_var_to_int (name, val, flags) | ^ common.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | builtin_find_indexed_array (array_name, flags) | ^ common.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | builtin_unbind_variable (vname) | ^ common.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | builtin_arrayref_flags (w, baseflags) | ^ common.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | set_expand_once (nval, uwp) | ^ 44 warnings generated. --- hash.o --- rm -f hash.o ./mkbuiltins -D . hash.def --- enable.o --- rm -f enable.c --- eval.o --- ./eval.def:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | eval_builtin (list) | ^ 1 warning generated. --- fg_bg.o --- ./mkbuiltins -D . fg_bg.def --- ./lib/glob/libglob.a --- --- xmbsrtowcs.o --- xmbsrtowcs.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | xmbsrtowcs (dest, src, len, pstate) | ^ --- ./lib/tilde/libtilde.a --- 1 warning generated. --- ./lib/intl/libintl.a --- --- dcgettext.o --- --- dgettext.o --- --- ref-del.sed --- sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' ./ref-del.sin > t-ref-del.sed mv t-ref-del.sed ref-del.sed --- charset.alias --- mv t-charset.alias charset.alias --- bindtextdom.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 bindtextdom.c --- dcgettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 dcgettext.c --- ./lib/glob/libglob.a --- xmbsrtowcs.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | xdupmbstowcs2 (destp, src) | ^ xmbsrtowcs.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | xdupmbstowcs (destp, indicesp, src) | ^ --- ./lib/sh/libsh.a --- --- spell.o --- --- shquote.o --- --- setlinebuf.o --- setlinebuf.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | sh_setlinebuf (stream) | ^ 1 warning generated. --- netconn.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE netconn.c --- timeval.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE timeval.c timeval.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | difftimeval (d, t1, t2) | ^ timeval.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | addtimeval (d, t1, t2) | ^ --- zwrite.o --- zwrite.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | zwrite (fd, buf, nb) | ^ 1 warning generated. --- ./lib/intl/libintl.a --- --- gettext.o --- --- dgettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 dgettext.c --- ./lib/tilde/libtilde.a --- --- libtilde.a --- rm -f libtilde.a --- ./lib/intl/libintl.a --- --- finddomain.o --- --- dcgettext.o --- In file included from dcgettext.c:25: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ dcgettext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | DCGETTEXT (domainname, msgid, category) | ^ dcgettext.c:42:20: note: expanded from macro 'DCGETTEXT' 42 | # define DCGETTEXT libintl_dcgettext | ^ 2 warnings generated. --- loadmsgcat.o --- --- ./lib/sh/libsh.a --- --- snprintf.o --- --- timeval.o --- timeval.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | multimeval (d, m) | ^ timeval.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | divtimeval (d, m) | ^ timeval.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | timeval_to_cpu (rt, ut, st) | ^ timeval.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | timeval_to_secs (tvp, sp, sfp) | ^ timeval.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | print_timeval (fp, tvp) | ^ 7 warnings generated. --- shtty.o --- shtty.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | ttgetattr(fd, ttp) | ^ shtty.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | ttsetattr(fd, ttp) | ^ shtty.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | ttattr (fd) | ^ shtty.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | tt_setonechar(ttp) | ^ shtty.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | ttfd_onechar (fd, ttp) | ^ --- netconn.o --- netconn.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | isnetconn (fd) | ^ 1 warning generated. --- spell.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE spell.c --- ./lib/glob/libglob.a --- --- gmisc.o --- In file included from gmisc.c:57: ./gm_loop.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | EXTGLOB_PATTERN_P (pat) | ^ --- ./builtins/libbuiltins.a --- --- history.o --- --- jobs.o --- --- evalfile.o --- 7 warnings generated. --- eval.o --- rm -f eval.c --- hash.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing hash.c || ( rm -f hash.c ; exit 1 ) --- help.o --- rm -f help.o ./mkbuiltins -D . help.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing help.c || ( rm -f help.c ; exit 1 ) ./help.def:145:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 145 | for (i = 0; name = shell_builtins[i].name; i++) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./help.def:145:21: note: place parentheses around the assignment to silence this warning 145 | for (i = 0; name = shell_builtins[i].name; i++) --- fc.o --- ./mkbuiltins -D . fc.def --- jobs.o --- rm -f jobs.o --- fg_bg.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing fg_bg.c || ( rm -f fg_bg.c ; exit 1 ) --- exec.o --- ./exec.def:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | mkdashname (name) | ^ ./exec.def:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | exec_builtin (list) | ^ 2 warnings generated. rm -f exec.c --- exit.o --- ./exit.def:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | exit_builtin (list) | ^ ./exit.def:64:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 64 | fprintf (stderr, login_shell ? _("logout\n") : "exit\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./exit.def:64:24: note: treat the string as an argument to avoid this 64 | fprintf (stderr, login_shell ? _("logout\n") : "exit\n"); | ^ | "%s", ./exit.def:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | logout_builtin (list) | ^ ./exit.def:89:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- ./lib/glob/libglob.a --- gmisc.c:47:27: note: expanded from macro 'EXTGLOB_PATTERN_P' 47 | #define EXTGLOB_PATTERN_P extglob_pattern_p | ^ In file included from gmisc.c:57: ./gm_loop.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | MATCH_PATTERN_CHAR (pat, string, flags) | ^ gmisc.c:48:28: note: expanded from macro 'MATCH_PATTERN_CHAR' 48 | #define MATCH_PATTERN_CHAR match_pattern_char | ^ In file included from gmisc.c:57: ./gm_loop.c:85:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 85 | while (c = *pat++) | ~~^~~~~~~~ ./gm_loop.c:85:12: note: place parentheses around the assignment to silence this warning 85 | while (c = *pat++) | ^ | ( ) ./gm_loop.c:85:12: note: use '==' to turn this assignment into an equality comparison 85 | while (c = *pat++) | ^ | == ./gm_loop.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | MATCHLEN (pat, max) | ^ gmisc.c:49:18: note: expanded from macro 'MATCHLEN' 49 | #define MATCHLEN umatchlen | ^ In file included from gmisc.c:72: ./gm_loop.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | EXTGLOB_PATTERN_P (pat) | ^ gmisc.c:65:27: note: expanded from macro 'EXTGLOB_PATTERN_P' 65 | #define EXTGLOB_PATTERN_P wextglob_pattern_p | ^ In file included from gmisc.c:72: ./gm_loop.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | MATCH_PATTERN_CHAR (pat, string, flags) | ^ gmisc.c:66:28: note: expanded from macro 'MATCH_PATTERN_CHAR' 66 | #define MATCH_PATTERN_CHAR match_pattern_wchar | ^ In file included from gmisc.c:72: ./gm_loop.c:85:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 85 | while (c = *pat++) | ~~^~~~~~~~ ./gm_loop.c:85:12: note: place parentheses around the assignment to silence this warning 85 | while (c = *pat++) | ^ | ( ) ./gm_loop.c:85:12: note: use '==' to turn this assignment into an equality comparison 85 | while (c = *pat++) | ^ | == ./gm_loop.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | MATCHLEN (pat, max) | ^ gmisc.c:67:18: note: expanded from macro 'MATCHLEN' 67 | #define MATCHLEN wmatchlen | ^ gmisc.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | glob_dirscan (pat, dirsep) | ^ --- ./lib/tilde/libtilde.a --- /usr/local/bin/ar cr libtilde.a tilde.o --- ./lib/sh/libsh.a --- --- mailstat.o --- --- shtty.o --- shtty.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | tt_setnoecho(ttp) | ^ shtty.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | ttfd_noecho (fd, ttp) | ^ shtty.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | tt_seteightbit (ttp) | ^ shtty.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | ttfd_eightbit (fd, ttp) | ^ shtty.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | tt_setnocanon (ttp) | ^ --- fmtulong.o --- --- shtty.o --- shtty.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | ttfd_nocanon (fd, ttp) | ^ shtty.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | tt_setcbreak(ttp) | ^ shtty.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | ttfd_cbreak (fd, ttp) | ^ --- snprintf.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE snprintf.c --- fmtulong.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE fmtulong.c --- ./builtins/libbuiltins.a --- --- kill.o --- --- let.o --- --- evalstring.o --- 24 warnings generated. --- declare.o --- 9 warnings generated. rm -f declare.c --- help.o --- | ^ | ( ) ./help.def:145:21: note: use '==' to turn this assignment into an equality comparison 145 | for (i = 0; name = shell_builtins[i].name; i++) | ^ | == ./help.def:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | help_builtin (list) | ^ ./help.def:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | open_helpfile (name) | ^ ./help.def:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | show_longdoc (i) | ^ --- fc.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing fc.c || ( rm -f fc.c ; exit 1 ) --- history.o --- rm -f history.o --- kill.o --- rm -f kill.o ./mkbuiltins -D . kill.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing kill.c || ( rm -f kill.c ; exit 1 ) --- exit.o --- 89 | builtin_error (_("not login shell: use `exit'")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./exit.def:89:22: note: treat the string as an argument to avoid this 89 | builtin_error (_("not login shell: use `exit'")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./exit.def:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | exit_or_logout (list) | ^ ./exit.def:121:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 121 | fprintf (stderr, _("There are stopped jobs.\n")); --- ./lib/intl/libintl.a --- --- localealias.o --- --- textdomain.o --- --- dgettext.o --- In file included from dgettext.c:27: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ dgettext.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | DGETTEXT (domainname, msgid) | ^ dgettext.c:44:19: note: expanded from macro 'DGETTEXT' 44 | # define DGETTEXT libintl_dgettext | ^ 2 warnings generated. --- gettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 gettext.c --- bindtextdom.o --- In file included from bindtextdom.c:34: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ bindtextdom.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | set_binding_values (domainname, dirnamep, codesetp) | ^ bindtextdom.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | BINDTEXTDOMAIN (domainname, dirname) | ^ bindtextdom.c:87:25: note: expanded from macro 'BINDTEXTDOMAIN' 87 | # define BINDTEXTDOMAIN libintl_bindtextdomain | ^ bindtextdom.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- textdomain.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 textdomain.c --- finddomain.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 finddomain.c --- loadmsgcat.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 loadmsgcat.c --- localealias.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 localealias.c --- l10nflist.o --- --- bindtextdom.o --- 364 | BIND_TEXTDOMAIN_CODESET (domainname, codeset) | ^ bindtextdom.c:88:34: note: expanded from macro 'BIND_TEXTDOMAIN_CODESET' 88 | # define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset | ^ --- l10nflist.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 l10nflist.c --- localealias.o --- In file included from localealias.c:65: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ --- ./lib/tilde/libtilde.a --- test -n "/usr/local/bin/ranlib" && /usr/local/bin/ranlib libtilde.a --- ./lib/intl/libintl.a --- --- gettext.o --- In file included from gettext.c:32: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ gettext.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | GETTEXT (msgid) | ^ gettext.c:49:18: note: expanded from macro 'GETTEXT' 49 | # define GETTEXT libintl_gettext | ^ 2 warnings generated. --- loadmsgcat.o --- In file included from loadmsgcat.c:90: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ In file included from loadmsgcat.c:91: ./hash-string.h:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | hash_string (str_param) | ^ loadmsgcat.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | get_sysdep_segment_value (name) | ^ loadmsgcat.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | _nl_init_domain_conv (domain_file, domain, domainbinding) | ^ --- localealias.o --- localealias.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | _nl_expand_alias (name) | ^ localealias.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | read_alias_file (fname, fname_len) | ^ localealias.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | alias_compare (map1, map2) | ^ --- explodename.o --- --- bindtextdom.o --- 4 warnings generated. --- loadmsgcat.o --- loadmsgcat.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | _nl_free_domain_conv (domain) | ^ loadmsgcat.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | _nl_load_domain (domain_file, domainbinding) | ^ --- ./builtins/libbuiltins.a --- --- mapfile.o --- --- ./lib/glob/libglob.a --- --- glob.o --- In file included from glob.c:144: ./glob_loop.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xmbsrtowcs.o --- 3 warnings generated. --- glob.o --- 24 | INTERNAL_GLOB_PATTERN_P (pattern) | ^ glob.c:143:33: note: expanded from macro 'INTERNAL_GLOB_PATTERN_P' 143 | #define INTERNAL_GLOB_PATTERN_P internal_glob_pattern_p | ^ In file included from glob.c:154: ./glob_loop.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | INTERNAL_GLOB_PATTERN_P (pattern) | ^ glob.c:153:33: note: expanded from macro 'INTERNAL_GLOB_PATTERN_P' 153 | #define INTERNAL_GLOB_PATTERN_P internal_glob_wpattern_p | ^ glob.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | glob_pattern_p (pattern) | ^ glob.c:237:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 237 | while (t = glob_patscan (pp, pe, '|')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ glob.c:237:12: note: place parentheses around the assignment to silence this warning 237 | while (t = glob_patscan (pp, pe, '|')) | ^ | ( ) glob.c:237:12: note: use '==' to turn this assignment into an equality comparison 237 | while (t = glob_patscan (pp, pe, '|')) | ^ | == glob.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | extglob_skipname (pat, dname, flags) | ^ glob.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | skipname (pat, dname, flags) | ^ glob.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | wskipname (pat, dname, flags) | ^ glob.c:385:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 385 | while (t = glob_patscan_wc (pp, pe, '|')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glob.c:385:12: note: place parentheses around the assignment to silence this warning 385 | while (t = glob_patscan_wc (pp, pe, '|')) | ^ | ( ) glob.c:385:12: note: use '==' to turn this assignment into an equality comparison 385 | while (t = glob_patscan_wc (pp, pe, '|')) | ^ | == glob.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | wextglob_skipname (pat, dname, flags) | ^ glob.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | mbskipname (pat, dname, flags) | ^ glob.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | udequote_pathname (pathname) | ^ glob.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | wcdequote_pathname (wpathname) | ^ glob.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | wdequote_pathname (pathname) | ^ glob.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | dequote_pathname (pathname) | ^ glob.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | glob_testdir (dir, flags) | ^ glob.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | finddirs (pat, sdir, flags, ep, np) | ^ glob.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | glob_vector (pat, dir, flags) | ^ glob.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | glob_dir_to_array (dir, array, flags) | ^ glob.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | glob_filename (pathname, flags) | ^ --- ./builtins/libbuiltins.a --- --- exit.o --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./exit.def:121:19: note: treat the string as an argument to avoid this 121 | fprintf (stderr, _("There are stopped jobs.\n")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./exit.def:123:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 123 | fprintf (stderr, _("There are running jobs.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./exit.def:123:19: note: treat the string as an argument to avoid this 123 | fprintf (stderr, _("There are running jobs.\n")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ 7 warnings generated. rm -f exit.c --- hash.o --- ./hash.def:91:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 91 | builtin_error (_("hashing disabled")); | ^~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./hash.def:91:22: note: treat the string as an argument to avoid this 91 | builtin_error (_("hashing disabled")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./hash.def:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | hash_builtin (list) | ^ --- help.o --- ./help.def:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | show_desc (name, i) | ^ ./help.def:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | show_manpage (name, i) | ^ ./help.def:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | dispcolumn (i, buf, bufsize, width, height) | ^ ./help.def:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | wdispcolumn (i, buf, bufsize, width, height) | ^ ./help.def:523:1: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- history.o --- ./mkbuiltins -D . history.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing history.c || ( rm -f history.c ; exit 1 ) --- jobs.o --- ./mkbuiltins -D . jobs.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing jobs.c || ( rm -f jobs.c ; exit 1 ) --- let.o --- rm -f let.o ./mkbuiltins -D . let.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing let.c || ( rm -f let.c ; exit 1 ) --- ./lib/intl/libintl.a --- --- dcigettext.o --- --- dcngettext.o --- --- l10nflist.o --- l10nflist.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | argz_count__ (argz, len) | ^ l10nflist.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | argz_stringify__ (argz, len, sep) | ^ l10nflist.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | argz_next__ (argz, argz_len, entry) | ^ l10nflist.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | pop (x) | ^ l10nflist.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- textdomain.o --- In file included from textdomain.c:33: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ textdomain.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | TEXTDOMAIN (domainname) | ^ textdomain.c:72:21: note: expanded from macro 'TEXTDOMAIN' 72 | # define TEXTDOMAIN libintl_textdomain | ^ 2 warnings generated. --- dcigettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 dcigettext.c --- l10nflist.o --- 190 | _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, mask, language, | ^ l10nflist.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | _nl_normalize_codeset (codeset, name_len) | ^ --- explodename.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 explodename.c --- ./lib/sh/libsh.a --- --- fmtullong.o --- --- fmtumax.o --- --- spell.o --- spell.c:98:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 98 | for (p = best; *np = *p++; np++) | ~~~~^~~~~~ spell.c:98:26: note: place parentheses around the assignment to silence this warning 98 | for (p = best; *np = *p++; np++) | ^ | ( ) spell.c:98:26: note: use '==' to turn this assignment into an equality comparison 98 | for (p = best; *np = *p++; np++) | ^ | == spell.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | spname(oldname, newname) | ^ spell.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | mindist(dir, guess, best) | ^ spell.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | spdist(cur, new) | ^ spell.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | dirspell (dirname) | ^ 5 warnings generated. --- shtty.o --- 13 warnings generated. --- fmtulong.o --- fmtulong.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | fmtulong (ui, base, buf, len, flags) | ^ --- mailstat.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE mailstat.c mailstat.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | mailstat(path, st) | ^ --- fmtullong.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE fmtullong.c --- shquote.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE shquote.c shquote.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | sh_single_quote (string) | ^ shquote.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | sh_double_quote (string) | ^ --- fmtumax.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE fmtumax.c --- ./lib/glob/libglob.a --- --- gmisc.o --- 9 warnings generated. --- ./lib/intl/libintl.a --- --- finddomain.o --- In file included from finddomain.c:35: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- --- zcatfd.o --- --- mailstat.o --- 1 warning generated. --- shquote.o --- shquote.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | sh_mkdoublequoted (s, slen, flags) | ^ shquote.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | sh_un_double_quote (string) | ^ shquote.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | sh_backslash_quote (string, table, flags) | ^ shquote.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | sh_backslash_quote_for_double_quotes (string, flags) | ^ --- ./lib/intl/libintl.a --- --- dngettext.o --- --- explodename.o --- explodename.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | _nl_find_language (name) | ^ explodename.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | _nl_explode_name (name, language, modifier, territory, codeset, | ^ --- finddomain.o --- 73 | SWAP (i) | ^ finddomain.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | _nl_find_domain (dirname, locale, domainname, domainbinding) | ^ 2 warnings generated. --- dcngettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 dcngettext.c --- ./builtins/libbuiltins.a --- --- pushd.o --- --- read.o --- --- return.o --- --- hash.o --- ./hash.def:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | add_hashed_command (w, quiet) | ^ ./hash.def:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | print_hash_info (item) | ^ ./hash.def:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | print_portable_hash_info (item) | ^ ./hash.def:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | print_hashed_commands (fmt) | ^ ./hash.def:267:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 267 | printf (_("hits\tcommand\n")); | ^~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./hash.def:267:13: note: treat the string as an argument to avoid this 267 | printf (_("hits\tcommand\n")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./hash.def:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | list_hashed_filename_targets (list, fmt) | ^ 8 warnings generated. rm -f hash.c --- mapfile.o --- rm -f mapfile.o ./mkbuiltins -D . mapfile.def --- help.o --- 523 | _("These shell commands are defined internally. Type `help' to see this list.\n\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 524 | Type `help name' to find out more about the function `name'.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | Use `info bash' to find out more about the shell in general.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 526 | Use `man -k' or `info' to find out more about commands not in this list.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 527 | \n\ | ~~~ 528 | A star (*) next to a name means that the command is disabled.\n\ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 529 | \n")); | ~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ --- jobs.o --- ./jobs.def:109:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 109 | builtin_error (_("no other options allowed with `-x'")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./jobs.def:109:23: note: treat the string as an argument to avoid this 109 | builtin_error (_("no other options allowed with `-x'")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./jobs.def:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | jobs_builtin (list) | ^ --- kill.o --- ./kill.def:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | kill_builtin (list) | ^ ./kill.def:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | kill_error (pid, e) | ^ --- fg_bg.o --- ./fg_bg.def:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | fg_builtin (list) | ^ ./fg_bg.def:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | bg_builtin (list) | ^ ./fg_bg.def:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | fg_bg (list, foreground) | ^ --- let.o --- ./let.def:97:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 97 | builtin_error (_("expression expected")); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./let.def:97:22: note: treat the string as an argument to avoid this 97 | builtin_error (_("expression expected")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./let.def:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | let_builtin (list) | ^ --- pushd.o --- rm -f pushd.o --- ./lib/intl/libintl.a --- --- ngettext.o --- --- plural-exp.o --- --- ngettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 ngettext.c In file included from ngettext.c:32: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ ngettext.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | NGETTEXT (msgid1, msgid2, n) | ^ ngettext.c:51:19: note: expanded from macro 'NGETTEXT' 51 | # define NGETTEXT libintl_ngettext | ^ 2 warnings generated. --- dcngettext.o --- In file included from dcngettext.c:25: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ dcngettext.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | DCNGETTEXT (domainname, msgid1, msgid2, n, category) | ^ dcngettext.c:42:21: note: expanded from macro 'DCNGETTEXT' 42 | # define DCNGETTEXT libintl_dcngettext | ^ 2 warnings generated. --- explodename.o --- 2 warnings generated. --- dngettext.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 dngettext.c --- localealias.o --- 4 warnings generated. --- dcigettext.o --- In file included from dcigettext.c:92: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ In file included from dcigettext.c:99: ./hash-string.h:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | hash_string (str_param) | ^ dcigettext.c:157:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 157 | char *getcwd (); | ^ /usr/include/unistd.h:336:7: note: conflicting prototype is here 336 | char *getcwd(char *, size_t); | ^ In file included from dcigettext.c:431: --- ./lib/sh/libsh.a --- --- zmapfd.o --- --- winsize.o --- --- fmtullong.o --- In file included from fmtullong.c:29: ./fmtulong.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | fmtulong (ui, base, buf, len, flags) | ^ fmtullong.c:27:18: note: expanded from macro 'fmtulong' 27 | #define fmtulong fmtullong | ^ 1 warning generated. --- fmtulong.o --- 1 warning generated. --- zcatfd.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE zcatfd.c --- shquote.o --- shquote.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | sh_quote_reusable (s, flags) | ^ shquote.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | sh_contains_shell_metas (string) | ^ shquote.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | sh_contains_quotes (string) | ^ 9 warnings generated. --- ./builtins/libbuiltins.a --- --- set.o --- --- setattr.o --- --- return.o --- rm -f return.o ./mkbuiltins -D . return.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing return.c || ( rm -f return.c ; exit 1 ) --- mapfile.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing mapfile.c || ( rm -f mapfile.c ; exit 1 ) --- help.o --- ./help.def:523:1: note: treat the string as an argument to avoid this 523 | _("These shell commands are defined internally. Type `help' to see this list.\n\ | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ 9 warnings generated. --- fc.o --- ./fc.def:265:15: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | rlist = REVERSE_LIST (rlist, REPL *); | ^ ./../general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./fc.def:275:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 275 | builtin_error (_("no command found")); | ^~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./fc.def:275:19: note: treat the string as an argument to avoid this 275 | builtin_error (_("no command found")); | ^ | "%s", --- ./lib/intl/libintl.a --- --- localcharset.o --- --- relocatable.o --- --- l10nflist.o --- 6 warnings generated. --- loadmsgcat.o --- 6 warnings generated. --- localcharset.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 localcharset.c --- plural-exp.o --- --- ./lib/sh/libsh.a --- --- wcsdup.o --- --- zcatfd.o --- zcatfd.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | zcatfd (fd, ofd, fn) | ^ 1 warning generated. --- zmapfd.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE zmapfd.c --- winsize.o --- --- ./builtins/libbuiltins.a --- --- jobs.o --- ./jobs.def:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | execute_list_with_replacements (list) | ^ ./jobs.def:204:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | add_unwind_protect (dispose_command, command); | ^ ./jobs.def:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | disown_builtin (list) | ^ 5 warnings generated. rm -f jobs.c --- fg_bg.o --- 3 warnings generated. rm -f fg_bg.c --- let.o --- 2 warnings generated. rm -f let.c --- pushd.o --- ./mkbuiltins -D . pushd.def --- ./lib/intl/libintl.a --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 plural-exp.c --- dcigettext.o --- ./eval-plural.h:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | plural_eval (pexp, n) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE winsize.c --- fmtumax.o --- In file included from fmtumax.c:27: ./fmtulong.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | fmtulong (ui, base, buf, len, flags) | ^ fmtumax.c:25:18: note: expanded from macro 'fmtulong' 25 | #define fmtulong fmtumax | ^ --- ./builtins/libbuiltins.a --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing pushd.c || ( rm -f pushd.c ; exit 1 ) --- read.o --- rm -f read.o --- ./lib/intl/libintl.a --- dcigettext.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) | ^ dcigettext.c:388:21: note: expanded from macro 'DCIGETTEXT' 388 | # define DCIGETTEXT libintl_dcigettext | ^ dcigettext.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | _nl_find_msg (domain_file, domainbinding, msgid, lengthp) | ^ dcigettext.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- --- fpurge.o --- --- zgetline.o --- --- ./lib/intl/libintl.a --- --- localename.o --- --- log.o --- --- plural-exp.o --- plural-exp.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | EXTRACT_PLURAL_EXPRESSION (nullentry, pluralp, npluralsp) | ^ ./plural-exp.h:106:36: note: expanded from macro 'EXTRACT_PLURAL_EXPRESSION' 106 | # define EXTRACT_PLURAL_EXPRESSION libintl_gettext_extract_plural | ^ 1 warning generated. --- dngettext.o --- In file included from dngettext.c:27: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ dngettext.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | DNGETTEXT (domainname, msgid1, msgid2, n) | ^ dngettext.c:44:20: note: expanded from macro 'DNGETTEXT' 44 | # define DNGETTEXT libintl_dngettext | ^ 2 warnings generated. --- dcigettext.o --- 1048 | plural_lookup (domain, n, translation, translation_len) | ^ dcigettext.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | category_to_name (category) | ^ dcigettext.c:1150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | guess_category_value (category, categoryname) | ^ --- ./builtins/libbuiltins.a --- --- shift.o --- --- source.o --- --- suspend.o --- --- return.o --- ./return.def:68:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 68 | builtin_error (_("can only `return' from a function or sourced script")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./return.def:68:22: note: treat the string as an argument to avoid this 68 | builtin_error (_("can only `return' from a function or sourced script")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./return.def:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | return_builtin (list) | ^ 2 warnings generated. rm -f return.c --- kill.o --- 2 warnings generated. rm -f kill.c --- help.o --- rm -f help.c --- mapfile.o --- ./mapfile.def:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | run_callback (callback, curindex, curline) | ^ ./mapfile.def:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | do_chop(line, delim) | ^ ./mapfile.def:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | mapfile (fd, line_count_goal, origin, nskip, callback_quantum, callback, array_name, delim, flags) | ^ ./mapfile.def:339:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 339 | builtin_error (_("empty array variable name")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bashintl.h:36:18: note: expanded from macro '_' --- set.o --- rm -f set.o ./mkbuiltins -D . set.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing set.c || ( rm -f set.c ; exit 1 ) --- ./lib/sh/libsh.a --- --- winsize.o --- winsize.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | get_new_window_size (from_sig, rp, cp) | ^ 1 warning generated. --- fpurge.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE fpurge.c --- wcsdup.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE wcsdup.c --- zmapfd.o --- zmapfd.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | zmapfd (fd, ostr, fn) | ^ 1 warning generated. --- fmtumax.o --- 1 warning generated. --- ./builtins/libbuiltins.a --- --- fc.o --- ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./fc.def:373:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 373 | builtin_error (_("no command found")); | ^~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./fc.def:373:22: note: treat the string as an argument to avoid this 373 | builtin_error (_("no command found")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./fc.def:417:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 417 | builtin_error (_("no command found")); --- history.o --- ./history.def:159:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 159 | builtin_error (_("cannot use more than one of -anrw")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./history.def:159:22: note: treat the string as an argument to avoid this 159 | builtin_error (_("cannot use more than one of -anrw")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./history.def:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | history_builtin (list) | ^ --- setattr.o --- rm -f setattr.o ./mkbuiltins -D . setattr.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing setattr.c || ( rm -f setattr.c ; exit 1 ) --- shift.o --- rm -f shift.o ./mkbuiltins -D . shift.def --- read.o --- ./mkbuiltins -D . read.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing read.c || ( rm -f read.c ; exit 1 ) ./read.def:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | sigalrm (s) | ^ ./read.def:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | read_builtin_timeout (fd) | ^ --- pushd.o --- ./pushd.def:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | pushd_builtin (list) | ^ ./pushd.def:199:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 199 | builtin_error (_("no other directory")); | ^~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./pushd.def:199:19: note: treat the string as an argument to avoid this 199 | builtin_error (_("no other directory")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ --- ./lib/intl/libintl.a --- --- osdep.o --- --- intl-compat.o --- --- plural.o --- --- localename.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 localename.c localename.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | _nl_locale_name (category, categoryname) | ^ 1 warning generated. --- dcigettext.o --- 9 warnings generated. --- log.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 log.c --- relocatable.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 relocatable.c --- intl-compat.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 intl-compat.c --- osdep.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 osdep.c --- plural.o --- cc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/libdata\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -DSHELL -I. -I. -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2 -I../.. -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DHEREDOC_PIPESIZE=4096 plural.c --- log.o --- log.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | print_escaped (stream, str) | ^ log.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | _nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural) | ^ --- ./lib/glob/libglob.a --- --- glob.o --- 19 warnings generated. --- ./lib/intl/libintl.a --- --- plural.o --- /usr/src/local/bash/bash-20080814/lib/intl/plural.y:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | new_exp (nargs, op, args) | ^ /usr/src/local/bash/bash-20080814/lib/intl/plural.y:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | new_exp_0 (op) | ^ /usr/src/local/bash/bash-20080814/lib/intl/plural.y:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | new_exp_1 (op, right) | ^ /usr/src/local/bash/bash-20080814/lib/intl/plural.y:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | new_exp_2 (op, left, right) | ^ /usr/src/local/bash/bash-20080814/lib/intl/plural.y:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | new_exp_3 (op, bexp, tbranch, fbranch) | ^ --- intl-compat.o --- In file included from intl-compat.c:25: ./gettextP.h:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | SWAP (i) | ^ intl-compat.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | gettext (msgid) | ^ --- plural.o --- /usr/src/local/bash/bash-20080814/lib/intl/plural.y:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | FREE_EXPRESSION (exp) | ^ --- intl-compat.o --- intl-compat.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | dgettext (domainname, msgid) | ^ intl-compat.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | dcgettext (domainname, msgid, category) | ^ intl-compat.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | ngettext (msgid1, msgid2, n) | ^ intl-compat.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | dngettext (domainname, msgid1, msgid2, n) | ^ intl-compat.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | dcngettext (domainname, msgid1, msgid2, n, category) | ^ intl-compat.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | textdomain (domainname) | ^ intl-compat.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | bindtextdomain (domainname, dirname) | ^ intl-compat.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | bind_textdomain_codeset (domainname, codeset) | ^ 10 warnings generated. --- log.o --- 2 warnings generated. --- plural.o --- ./plural-exp.h:103:26: note: expanded from macro 'FREE_EXPRESSION' 103 | # define FREE_EXPRESSION libintl_gettext_free_exp | ^ /usr/src/local/bash/bash-20080814/lib/intl/plural.y:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | yylex (lval, pexp) | ^ plural.c:51:17: note: expanded from macro 'yylex' 51 | #define yylex __gettextlex | ^ /usr/src/local/bash/bash-20080814/lib/intl/plural.y:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | yyerror (str) | ^ plural.c:52:17: note: expanded from macro 'yyerror' 52 | #define yyerror __gettexterror | ^ 8 warnings generated. --- ./lib/glob/libglob.a --- --- smatch.o --- 33 warnings generated. --- libglob.a --- --- ./lib/sh/libsh.a --- --- mbscmp.o --- --- ufuncs.o --- --- casemod.o --- --- input_avail.o --- --- mbscasecmp.o --- --- fnxform.o --- --- unicode.o --- --- mbscmp.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE mbscmp.c mbscmp.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | mbscmp (mbs1, mbs2) | ^ 1 warning generated. --- zgetline.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE zgetline.c zgetline.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | zgetline (fd, lineptr, n, delim, unbuffered_read) | ^ 1 warning generated. --- fnxform.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE fnxform.c --- ufuncs.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE ufuncs.c ufuncs.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | falarm(secs, usecs) | ^ ufuncs.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | fsleep(sec, usec) | ^ 2 warnings generated. --- casemod.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE casemod.c --- input_avail.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE input_avail.c input_avail.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | input_avail (fd) | ^ input_avail.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | nchars_avail (fd, nchars) | ^ --- mbscasecmp.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE mbscasecmp.c --- ./lib/intl/libintl.a --- --- libintl.a --- rm -f libintl.a /usr/local/bin/ar cr libintl.a bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o dngettext.o ngettext.o plural.o plural-exp.o localcharset.o relocatable.o localename.o log.o osdep.o intl-compat.o --- ./lib/sh/libsh.a --- --- shmbchar.o --- --- strvis.o --- --- unicode.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE unicode.c --- input_avail.o --- 2 warnings generated. --- ./lib/glob/libglob.a --- rm -f -f libglob.a --- ./builtins/libbuiltins.a --- --- test.o --- --- times.o --- --- trap.o --- --- type.o --- --- umask.o --- --- wait.o --- --- getopts.o --- --- shopt.o --- --- printf.o --- --- getopt.o --- --- suspend.o --- rm -f suspend.o ./mkbuiltins -D . suspend.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing suspend.c || ( rm -f suspend.c ; exit 1 ) ./suspend.def:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | suspend_continue (sig) | ^ ./suspend.def:113:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 113 | builtin_error (_("cannot suspend a login shell")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./suspend.def:113:19: note: treat the string as an argument to avoid this 113 | builtin_error (_("cannot suspend a login shell")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./suspend.def:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | suspend_builtin (list) | ^ 3 warnings generated. rm -f suspend.c --- shift.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing shift.c || ( rm -f shift.c ; exit 1 ) ./shift.def:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | shift_builtin (list) | ^ 1 warning generated. rm -f shift.c --- setattr.o --- ./setattr.def:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | export_builtin (list) | ^ ./setattr.def:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | readonly_builtin (list) | ^ ./setattr.def:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | set_or_show_attributes (list, attribute, nodefs) | ^ ./setattr.def:320:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 320 | for (i = 0; var = variable_list[i]; i++) | ~~~~^~~~~~~~~~~~~~~~~~ ./setattr.def:320:20: note: place parentheses around the assignment to silence this warning 320 | for (i = 0; var = variable_list[i]; i++) | ^ | ( ) ./setattr.def:320:20: note: use '==' to turn this assignment into an equality comparison 320 | for (i = 0; var = variable_list[i]; i++) | ^ | == ./setattr.def:337:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | if (any_failed = sh_chkwrite (any_failed)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./setattr.def:337:20: note: place parentheses around the assignment to silence this warning 337 | if (any_failed = sh_chkwrite (any_failed)) | ^ | ( ) ./setattr.def:337:20: note: use '==' to turn this assignment into an equality comparison 337 | if (any_failed = sh_chkwrite (any_failed)) | ^ | == ./setattr.def:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | show_all_var_attributes (v, nodefs) | ^ ./setattr.def:364:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | for (i = any_failed = 0; var = variable_list[i]; i++) | ~~~~^~~~~~~~~~~~~~~~~~ ./setattr.def:364:32: note: place parentheses around the assignment to silence this warning 364 | for (i = any_failed = 0; var = variable_list[i]; i++) | ^ | ( ) ./setattr.def:364:32: note: use '==' to turn this assignment into an equality comparison 364 | for (i = any_failed = 0; var = variable_list[i]; i++) | ^ | == ./setattr.def:371:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 371 | if (any_failed = sh_chkwrite (any_failed)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./setattr.def:371:22: note: place parentheses around the assignment to silence this warning 371 | if (any_failed = sh_chkwrite (any_failed)) | ^ | ( ) ./setattr.def:371:22: note: use '==' to turn this assignment into an equality comparison 371 | if (any_failed = sh_chkwrite (any_failed)) | ^ | == ./setattr.def:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | show_local_var_attributes (v, nodefs) | ^ ./setattr.def:392:32: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 392 | for (i = any_failed = 0; var = variable_list[i]; i++) | ~~~~^~~~~~~~~~~~~~~~~~ ./setattr.def:392:32: note: place parentheses around the assignment to silence this warning 392 | for (i = any_failed = 0; var = variable_list[i]; i++) | ^ | ( ) ./setattr.def:392:32: note: use '==' to turn this assignment into an equality comparison 392 | for (i = any_failed = 0; var = variable_list[i]; i++) | ^ | == ./setattr.def:399:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 399 | if (any_failed = sh_chkwrite (any_failed)) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ./setattr.def:399:22: note: place parentheses around the assignment to silence this warning 399 | if (any_failed = sh_chkwrite (any_failed)) | ^ | ( ) ./setattr.def:399:22: note: use '==' to turn this assignment into an equality comparison 399 | if (any_failed = sh_chkwrite (any_failed)) | ^ | == ./setattr.def:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | var_attribute_string (var, pattr, flags) | ^ ./setattr.def:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | show_var_attributes (var, pattr, nodefs) | ^ ./setattr.def:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | show_name_attributes (name, nodefs) | ^ ./setattr.def:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | show_localname_attributes (name, nodefs) | ^ ./setattr.def:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | show_func_attributes (name, nodefs) | ^ ./setattr.def:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | set_var_attribute (name, attribute, undo) | ^ 17 warnings generated. rm -f setattr.c --- pushd.o --- ./pushd.def:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | popd_builtin (list) | ^ ./pushd.def:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | dirs_builtin (list) | ^ ./pushd.def:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | pushd_error (offset, arg) | ^ ./pushd.def:524:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 524 | builtin_error (_("directory stack empty")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./pushd.def:524:20: note: treat the string as an argument to avoid this 524 | builtin_error (_("directory stack empty")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./pushd.def:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | cd_to_string (name) | ^ ./pushd.def:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | change_to_temp (temp) | ^ ./pushd.def:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | add_dirstack_element (dir) | ^ ./pushd.def:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | get_dirstack_index (ind, sign, indexp) | ^ ./pushd.def:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | get_dirstack_from_string (string) | ^ ./pushd.def:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | set_dirstack_element (ind, sign, value) | ^ ./pushd.def:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | get_directory_stack (flags) | ^ 13 warnings generated. rm -f pushd.c --- mapfile.o --- 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./mapfile.def:339:22: note: treat the string as an argument to avoid this 339 | builtin_error (_("empty array variable name")); | ^ | "%s", ../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./mapfile.def:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | mapfile_builtin (list) | ^ 5 warnings generated. rm -f mapfile.c --- history.o --- ./history.def:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | histtime (hlist, histtimefmt) | ^ ./history.def:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | display_history (list) | ^ ./history.def:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | push_history (list) | ^ ./history.def:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | expand_and_print_history (list) | ^ 6 warnings generated. rm -f history.c --- fc.o --- | ^~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./fc.def:417:22: note: treat the string as an argument to avoid this 417 | builtin_error (_("no command found")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./fc.def:517:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | add_unwind_protect (xfree, fn); | ^ ./fc.def:518:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | add_unwind_protect (unlink, fn); | ^ ./fc.def:519:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | add_unwind_protect (set_verbose_flag, (char *)NULL); | ^ ./fc.def:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | fc_builtin (list) | ^ ./fc.def:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | fc_number (list) | ^ ./fc.def:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | fc_gethnum (command, hlist, mode) | ^ ./fc.def:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | fc_gethist (command, hlist, mode) | ^ ./fc.def:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | fc_dosubs (command, subs) | ^ ./fc.def:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | fc_replhist (command) | ^ 13 warnings generated. rm -f fc.c --- getopt.o --- rm -f getopt.o --- wait.o --- rm -f wait.o ./mkbuiltins -D . wait.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing wait.c || ( rm -f wait.c ; exit 1 ) ./wait.def:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | wait_builtin (list) | ^ ./wait.def:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | set_waitlist (list) | ^ --- set.o --- ./set.def:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | find_minus_o_option (name) | ^ ./set.def:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | minus_o_option_value (name) | ^ ./set.def:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | print_minus_o_option (name, value, pflag) | ^ ./set.def:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | list_minus_o_opts (mode, reusable) | ^ ./set.def:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- type.o --- rm -f type.o ./mkbuiltins -D . type.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing type.c || ( rm -f type.c ; exit 1 ) ./type.def:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | type_builtin (list) | ^ ./type.def:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | describe_command (command, dflags) | ^ --- umask.o --- rm -f umask.o ./mkbuiltins -D . umask.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing umask.c || ( rm -f umask.c ; exit 1 ) ./umask.def:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | umask_builtin (list) | ^ ./umask.def:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | parse_symbolic_mode (mode, initial_bits) | ^ --- shopt.o --- rm -f shopt.o ./mkbuiltins -D . shopt.def --- printf.o --- rm -f printf.o ./mkbuiltins -D . printf.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing printf.c || ( rm -f printf.c ; exit 1 ) --- read.o --- ./read.def:457:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | add_unwind_protect (xfree, rlbuf); | ^ ./read.def:515:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | add_unwind_protect (reset_timeout, (char *)NULL); | ^ ./read.def:519:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | add_unwind_protect (reset_attempted_completion_function, (char *)NULL); | ^ --- source.o --- rm -f source.o ./mkbuiltins -D . source.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing source.c || ( rm -f source.c ; exit 1 ) --- getopts.o --- rm -f getopts.o ./mkbuiltins -D . getopts.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing getopts.c || ( rm -f getopts.c ; exit 1 ) --- test.o --- rm -f test.o ./mkbuiltins -D . test.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing test.c || ( rm -f test.c ; exit 1 ) ./test.def:147:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 147 | builtin_error (_("missing `]'")); | ^~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./test.def:147:19: note: treat the string as an argument to avoid this --- times.o --- rm -f times.o ./mkbuiltins -D . times.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing times.c || ( rm -f times.c ; exit 1 ) ./times.def:76:17: warning: passing arguments to 'print_timeval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | print_timeval (stdout, &self.ru_utime); | ^ ./times.def:78:17: warning: passing arguments to 'print_timeval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- trap.o --- rm -f trap.o ./mkbuiltins -D . trap.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing trap.c || ( rm -f trap.c ; exit 1 ) --- ./lib/glob/libglob.a --- /usr/local/bin/ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o --- ./lib/intl/libintl.a --- /usr/local/bin/ranlib libintl.a --- ./lib/sh/libsh.a --- --- utf8.o --- --- random.o --- --- gettimeofday.o --- --- timers.o --- --- shmbchar.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE shmbchar.c shmbchar.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | mbstrlen (s) | ^ shmbchar.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | mbsmbchar (s) | ^ --- ./builtins/libbuiltins.a --- --- bashgetopt.o --- --- complete.o --- --- builtins.o --- --- pipesize.h --- --- getopts.o --- ./getopts.def:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | getopts_reset (newind) | ^ ./getopts.def:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | getopts_unbind_variable (name) | ^ ./getopts.def:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | getopts_bind_variable (name, value) | ^ ./getopts.def:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | dogetopts (argc, argv) | ^ ./getopts.def:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | getopts_builtin (list) | ^ 5 warnings generated. rm -f getopts.c --- type.o --- ./type.def:338:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 338 | if (full_path = phash_search (command)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ./type.def:338:21: note: place parentheses around the assignment to silence this warning 338 | if (full_path = phash_search (command)) | ^ | ( ) ./type.def:338:21: note: use '==' to turn this assignment into an equality comparison 338 | if (full_path = phash_search (command)) | ^ | == 3 warnings generated. rm -f type.c --- times.o --- 78 | print_timeval (stdout, &self.ru_stime); | ^ ./times.def:80:17: warning: passing arguments to 'print_timeval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | print_timeval (stdout, &kids.ru_utime); | ^ ./times.def:82:17: warning: passing arguments to 'print_timeval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | print_timeval (stdout, &kids.ru_stime); | ^ ./times.def:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | times_builtin (list) | ^ 5 warnings generated. rm -f times.c --- test.o --- 147 | builtin_error (_("missing `]'")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./test.def:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | test_builtin (list) | ^ 2 warnings generated. rm -f test.c --- read.o --- ./read.def:520:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | add_unwind_protect (bashline_reset_event_hook, (char *)NULL); | ^ ./read.def:544:27: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | add_unwind_protect (reset_eol_delim, (char *)NULL); | ^ ./read.def:561:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | add_unwind_protect ((Function *)ttyrestore, (char *)&termsave); | ^ ./read.def:579:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | add_unwind_protect ((Function *)ttyrestore, (char *)&termsave); | ^ ./read.def:599:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | add_unwind_protect (xfree, input_string); | ^ ./read.def:735:27: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | add_unwind_protect (xfree, input_string); | ^ ./read.def:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | read_builtin (list) | ^ ./read.def:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | bind_read_variable (name, value, flags) | ^ ./read.def:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | read_mbchar (fd, string, ind, ch, unbuffered) | ^ ./read.def:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | ttyrestore (ttp) | ^ ./read.def:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | reset_attempted_completion_function (cp) | ^ ./read.def:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | edit_line (p, itext) | ^ ./read.def:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | set_readline_timeout (t, sec, usec) | ^ ./read.def:1233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | set_eol_delim (c) | ^ ./read.def:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | reset_eol_delim (cp) | ^ 20 warnings generated. rm -f read.c --- getopt.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing getopt.c getopt.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | sh_getopt (argc, argv, optstring) | ^ getopt.c:182:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 182 | if (sh_badopt = (temp == NULL || c == ':')) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- wait.o --- 2 warnings generated. rm -f wait.c --- set.o --- 358 | set_current_options (bitmap) | ^ ./set.def:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | set_ignoreeof (on_or_off, option_name) | ^ ./set.def:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | set_posix_mode (on_or_off, option_name) | ^ ./set.def:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | set_edit_mode (on_or_off, option_name) | ^ ./set.def:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | get_edit_mode (name) | ^ --- umask.o --- ./umask.def:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | symbolic_umask (list) | ^ 3 warnings generated. rm -f umask.c --- shopt.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing shopt.c || ( rm -f shopt.c ; exit 1 ) ./shopt.def:331:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 331 | builtin_error (_("cannot set and unset shell options simultaneously")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ --- printf.o --- ./printf.def:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | printf_builtin (list) | ^ ./printf.def:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | printf_erange (s) | ^ ./printf.def:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | printstr (fmt, string, len, fieldwidth, precision) | ^ ./printf.def:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | tescape (estart, cp, lenp, sawc) | ^ ./printf.def:941:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- source.o --- ./source.def:128:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 128 | builtin_error (_("filename argument required")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./source.def:128:22: note: treat the string as an argument to avoid this 128 | builtin_error (_("filename argument required")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./source.def:169:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | add_unwind_protect (xfree, filename); | ^ --- bashgetopt.o --- rm -f bashgetopt.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing bashgetopt.c --- complete.o --- rm -f complete.o ./mkbuiltins -D . complete.def --- getopt.o --- getopt.c:182:17: note: place parentheses around the assignment to silence this warning 182 | if (sh_badopt = (temp == NULL || c == ':')) | ^ | ( ) getopt.c:182:17: note: use '==' to turn this assignment into an equality comparison 182 | if (sh_badopt = (temp == NULL || c == ':')) | ^ | == getopt.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | sh_getopt_restore_state (argv) | ^ getopt.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | sh_getopt_dispose_istate (gs) | ^ getopt.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- set.o --- ./set.def:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | bash_set_history (on_or_off, option_name) | ^ ./set.def:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | set_minus_o_option (on_or_off, option_name) | ^ ./set.def:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | parse_shellopts (value) | ^ ./set.def:617:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 617 | while (vname = extract_colon_unit (value, &vptr)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./set.def:617:16: note: place parentheses around the assignment to silence this warning 617 | while (vname = extract_colon_unit (value, &vptr)) --- shopt.o --- ./shopt.def:331:22: note: treat the string as an argument to avoid this 331 | builtin_error (_("cannot set and unset shell options simultaneously")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./shopt.def:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | shopt_builtin (list) | ^ ./shopt.def:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | find_shopt (name) | ^ ./shopt.def:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | shopt_error (s) | ^ --- printf.o --- 941 | builtin_error (_("missing hex digit for \\x")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./printf.def:941:21: note: treat the string as an argument to avoid this 941 | builtin_error (_("missing hex digit for \\x")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./printf.def:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | bexpand (string, len, sawc, lenp) | ^ ./printf.def:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- source.o --- ./source.def:174:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | add_unwind_protect ((Function *)maybe_pop_dollar_vars, (char *)NULL); | ^ ./source.def:190:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | add_unwind_protect (xfree, debug_trap); | ^ ./source.def:191:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | add_unwind_protect (maybe_set_debug_trap, debug_trap); | ^ --- getopt.o --- 260 | sh_getopt_restore_istate (state) | ^ --- set.o --- | ^ | ( ) ./set.def:617:16: note: use '==' to turn this assignment into an equality comparison 617 | while (vname = extract_colon_unit (value, &vptr)) | ^ | == ./set.def:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | initialize_shell_options (no_shellopts) | ^ ./set.def:742:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 742 | while (flag_name = *++arg) | ~~~~~~~~~~^~~~~~~~ ./set.def:742:21: note: place parentheses around the assignment to silence this warning 742 | while (flag_name = *++arg) | ^ | ( ) --- shopt.o --- ./shopt.def:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | toggle_shopts (mode, list, quiet) | ^ ./shopt.def:482:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 482 | if (v = find_variable ("BASHOPTS")) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./shopt.def:482:9: note: place parentheses around the assignment to silence this warning 482 | if (v = find_variable ("BASHOPTS")) | ^ | ( ) ./shopt.def:482:9: note: use '==' to turn this assignment into an equality comparison 482 | if (v = find_variable ("BASHOPTS")) | ^ | == ./shopt.def:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | print_shopt (name, val, flags) | ^ --- printf.o --- 1064 | vbadd (buf, blen) | ^ ./printf.def:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | mklong (str, modifiers, mlen) | ^ --- source.o --- ./source.def:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | source_builtin (list) | ^ --- set.o --- ./set.def:742:21: note: use '==' to turn this assignment into an equality comparison 742 | while (flag_name = *++arg) | ^ | == ./set.def:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | set_builtin (list) | ^ ./set.def:869:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 869 | builtin_error (_("cannot simultaneously unset a function and a variable")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./set.def:869:22: note: treat the string as an argument to avoid this 869 | builtin_error (_("cannot simultaneously unset a function and a variable")); --- shopt.o --- ./shopt.def:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | list_shopts (list, flags) | ^ ./shopt.def:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | list_some_shopts (mode, flags) | ^ ./shopt.def:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | list_shopt_o_options (list, flags) | ^ ./shopt.def:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | list_some_o_options (mode, flags) | ^ ./shopt.def:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- set.o --- | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./set.def:946:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 946 | if (var = find_function (name)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ ./set.def:946:12: note: place parentheses around the assignment to silence this warning 946 | if (var = find_function (name)) | ^ | ( ) ./set.def:946:12: note: use '==' to turn this assignment into an equality comparison 946 | if (var = find_function (name)) | ^ | == ./set.def:990:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- shopt.o --- 600 | set_shopt_o_options (mode, list, quiet) | ^ ./shopt.def:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | set_shellopts_after_change (option_name, mode) | ^ ./shopt.def:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | shopt_set_debug_mode (option_name, mode) | ^ ./shopt.def:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | shopt_set_expaliases (option_name, mode) | ^ ./shopt.def:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | shopt_set_extglob (option_name, mode) | ^ --- set.o --- 990 | if (var = array_variable_part (tname, 0, &t, &len)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./set.def:990:13: note: place parentheses around the assignment to silence this warning 990 | if (var = array_variable_part (tname, 0, &t, &len)) | ^ | ( ) ./set.def:990:13: note: use '==' to turn this assignment into an equality comparison 990 | if (var = array_variable_part (tname, 0, &t, &len)) | ^ | == ./set.def:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | unset_builtin (list) | ^ 20 warnings generated. --- shopt.o --- ./shopt.def:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | shopt_enable_hostname_completion (option_name, mode) | ^ ./shopt.def:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | set_compatibility_level (option_name, mode) | ^ ./shopt.def:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | shopt_set_complete_direxpand (option_name, mode) | ^ ./shopt.def:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | set_restricted_shell (option_name, mode) | ^ ./shopt.def:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | set_login_shell (option_name, mode) | ^ ./shopt.def:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | shopt_setopt (name, mode) | ^ ./shopt.def:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | shopt_listopt (name, reusable) | ^ ./shopt.def:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | parse_bashopts (value) | ^ ./shopt.def:915:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 915 | while (vname = extract_colon_unit (value, &vptr)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./shopt.def:915:16: note: place parentheses around the assignment to silence this warning 915 | while (vname = extract_colon_unit (value, &vptr)) | ^ | ( ) ./shopt.def:915:16: note: use '==' to turn this assignment into an equality comparison 915 | while (vname = extract_colon_unit (value, &vptr)) | ^ | == ./shopt.def:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | initialize_bashopts (no_bashopts) | ^ ./shopt.def:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | set_assoc_expand (option_name, mode) | ^ --- ./lib/sh/libsh.a --- shmbchar.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | sh_mbsnlen(src, srclen, maxlen) | ^ 3 warnings generated. --- ./builtins/libbuiltins.a --- --- trap.o --- ./trap.def:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- --- fnxform.o --- fnxform.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | fnx_tofs (string) | ^ fnxform.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | fnx_fromfs (string) | ^ 2 warnings generated. --- mbscasecmp.o --- mbscasecmp.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | mbscasecmp (mbs1, mbs2) | ^ 1 warning generated. --- ./builtins/libbuiltins.a --- --- pipesize.h --- /bin/sh ./psize.sh > pipesize.h --- ./lib/sh/libsh.a --- --- casemod.o --- casemod.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | cval (s, i, l) | ^ casemod.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | sh_modcase (string, pat, flags) | ^ 2 warnings generated. --- unicode.o --- unicode.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | u32tochar (x, s) | ^ unicode.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | u32tocesc (wc, s) | ^ unicode.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | u32toutf8 (wc, s) | ^ unicode.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | u32toutf16 (c, s) | ^ unicode.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | u32cconv (c, s) | ^ --- strvis.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE strvis.c strvis.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | sh_charvis (s, sindp, slen, ret, rindp) | ^ strvis.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | sh_strvis (string) | ^ --- timers.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE timers.c --- utf8.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE utf8.c --- random.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE random.c --- arrayfunc.o --- --- bashhist.o --- --- bashline.o --- --- braces.o --- --- error.o --- --- eval.o --- --- execute_cmd.o --- --- expr.o --- --- general.o --- --- input.o --- --- jobs.o --- --- locale.o --- --- mailcheck.o --- --- make_cmd.o --- --- pathexp.o --- --- pcomplete.o --- --- pcomplib.o --- --- print_cmd.o --- --- shell.o --- --- sig.o --- --- subst.o --- --- test.o --- --- mailcheck.o --- rm -f mailcheck.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c mailcheck.c mailcheck.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | find_mail_file (file) | ^ mailcheck.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | init_mail_file (i) | ^ mailcheck.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | update_mail_file (i) | ^ mailcheck.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | add_mail_file (file, msg) | ^ mailcheck.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | alloc_mail_file (filename, msg) | ^ mailcheck.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | dispose_mail_file (mf) | ^ mailcheck.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | file_mod_date_changed (i) | ^ mailcheck.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | file_access_date_changed (i) | ^ mailcheck.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | file_has_grown (i) | ^ mailcheck.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | parse_mailpath_spec (str) | ^ mailcheck.c:394:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 394 | while (mailfile = extract_colon_unit (mailpaths, &i)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcheck.c:394:19: note: place parentheses around the assignment to silence this warning 394 | while (mailfile = extract_colon_unit (mailpaths, &i)) | ^ | ( ) mailcheck.c:394:19: note: use '==' to turn this assignment into an equality comparison 394 | while (mailfile = extract_colon_unit (mailpaths, &i)) | ^ | == mailcheck.c:468:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 468 | if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailcheck.c:468:13: note: place parentheses around the assignment to silence this warning 468 | if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES)) | ^ | ( ) mailcheck.c:468:13: note: use '==' to turn this assignment into an equality comparison 468 | if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES)) | ^ | == 12 warnings generated. --- input.o --- rm -f input.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c input.c input.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | getc_with_restart (stream) | ^ input.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | ungetc_with_restart (c, stream) | ^ input.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | allocate_buffers (n) | ^ input.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | make_buffered_stream (fd, buffer, bufsize) | ^ input.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | copy_buffered_stream (bp) | ^ input.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | set_bash_input_fd (fd) | ^ input.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | fd_is_bash_input (fd) | ^ input.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | save_bash_input (fd, new_fd) | ^ input.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | check_bash_input (fd) | ^ input.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | duplicate_buffered_stream (fd1, fd2) | ^ input.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | fd_to_buffered_stream (fd) | ^ input.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | open_buffered_stream (file) | ^ input.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | free_buffered_stream (bp) | ^ input.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | close_buffered_stream (bp) | ^ input.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | close_buffered_fd (fd) | ^ input.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | set_buffered_stream (fd, bp) | ^ input.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | b_fill_buffer (bp) | ^ input.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | bufstream_ungetc(c, bp) | ^ input.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | sync_buffered_stream (bfd) | ^ input.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | buffered_ungetchar (c) | ^ input.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | with_input_from_buffered_stream (bfd, name) | ^ 21 warnings generated. --- expr.o --- rm -f expr.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c expr.c expr.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | expr_bind_variable (lhs, rhs) | ^ expr.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | expr_skipsubscript (vp, cp) | ^ expr.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | expr_bind_array_element (tok, ind, rhs) | ^ expr.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | evalexp (expr, flags, validp) | ^ expr.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | subexpr (expr) | ^ expr.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | ipow (base, exp) | ^ expr.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | init_lvalue (lv) | ^ expr.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | free_lvalue (lv) | ^ expr.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | expr_streval (tok, e, lvalue) | ^ expr.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | _is_multiop (c) | ^ expr.c:1276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | _is_arithop (c) | ^ expr.c:1518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | evalerror (msg) | ^ expr.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | strlong (num) | ^ 13 warnings generated. --- eval.o --- rm -f eval.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c eval.c eval.c:147:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 147 | else if (current_command = global_command) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ eval.c:147:29: note: place parentheses around the assignment to silence this warning 147 | else if (current_command = global_command) | ^ | ( ) eval.c:147:29: note: use '==' to turn this assignment into an equality comparison 147 | else if (current_command = global_command) | ^ | == eval.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | alrm_catcher(i) | ^ eval.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | execute_array_command (a, v) | ^ 3 warnings generated. --- error.o --- rm -f error.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c error.c error.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | error_prolog (print_lineno) | ^ error.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | file_error (filename) | ^ error.c:172:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 172 | fprintf (stderr, _("Aborting...")); | ^~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ error.c:172:20: note: treat the string as an argument to avoid this 172 | fprintf (stderr, _("Aborting...")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ error.c:264:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 264 | fprintf (stderr, _("warning: ")); | ^~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ error.c:264:20: note: treat the string as an argument to avoid this 264 | fprintf (stderr, _("warning: ")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ error.c:287:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 287 | fprintf (stderr, _("INFORM: ")); | ^~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ error.c:287:20: note: treat the string as an argument to avoid this 287 | fprintf (stderr, _("INFORM: ")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ error.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | command_error (func, code, e, flags) | ^ error.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | command_errstr (code) | ^ error.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | err_badarraysub (s) | ^ error.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | err_unboundvar (s) | ^ error.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | err_readonly (s) | ^ 10 warnings generated. --- braces.o --- rm -f braces.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c braces.c braces.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | brace_expand (text) | ^ braces.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | expand_amble (text, tlen, flags) | ^ braces.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | mkseq (start, end, incr, type, width) | ^ braces.c:435:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 435 | if (t = (char *)malloc (2)) | ~~^~~~~~~~~~~~~~~~~~~~ braces.c:435:10: note: place parentheses around the assignment to silence this warning 435 | if (t = (char *)malloc (2)) | ^ | ( ) braces.c:435:10: note: use '==' to turn this assignment into an equality comparison 435 | if (t = (char *)malloc (2)) | ^ | == braces.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | expand_seqterm (text, tlen) | ^ braces.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | brace_gobbler (text, tlen, indx, satisfy) | ^ braces.c:615:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 615 | while (c = text[i]) | ~~^~~~~~~~~ braces.c:615:12: note: place parentheses around the assignment to silence this warning 615 | while (c = text[i]) | ^ | ( ) braces.c:615:12: note: use '==' to turn this assignment into an equality comparison 615 | while (c = text[i]) | ^ | == braces.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | array_concat (arr1, arr2) | ^ 8 warnings generated. --- bashhist.o --- rm -f bashhist.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c bashhist.c bashhist.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | bash_history_inhibit_expansion (string, i) | ^ bashhist.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | bash_history_reinit (interact) | ^ bashhist.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | bash_delete_histent (i) | ^ bashhist.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | bash_delete_history_range (first, last) | ^ bashhist.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | maybe_append_history (filename) | ^ bashhist.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | re_edit (text) | ^ bashhist.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | history_expansion_p (line) | ^ bashhist.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | pre_process_line (line, print_changes, addit) | ^ bashhist.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | shell_comment (line) | ^ bashhist.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | check_history_control (line) | ^ bashhist.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | hc_erasedups (line) | ^ bashhist.c:731:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 731 | while (temp = previous_history ()) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ bashhist.c:731:15: note: place parentheses around the assignment to silence this warning 731 | while (temp = previous_history ()) | ^ | ( ) bashhist.c:731:15: note: use '==' to turn this assignment into an equality comparison 731 | while (temp = previous_history ()) | ^ | == bashhist.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | maybe_add_history (line) | ^ bashhist.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | check_add_history (line, force) | ^ bashhist.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | bash_add_history (line) | ^ bashhist.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | really_add_history (line) | ^ bashhist.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | should_expand (s) | ^ bashhist.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | histignore_item_func (ign) | ^ bashhist.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | setup_history_ignore (varname) | ^ bashhist.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | expand_histignore_pattern (pat) | ^ bashhist.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | history_should_ignore (line) | ^ 21 warnings generated. --- arrayfunc.o --- rm -f arrayfunc.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c arrayfunc.c arrayfunc.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | convert_var_to_array (var) | ^ arrayfunc.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | convert_var_to_assoc (var) | ^ arrayfunc.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | make_array_variable_value (entry, ind, key, value, flags) | ^ arrayfunc.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | bind_assoc_var_internal (entry, hash, key, value, flags) | ^ arrayfunc.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | bind_array_var_internal (entry, ind, key, value, flags) | ^ arrayfunc.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | bind_array_variable (name, ind, value, flags) | ^ arrayfunc.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | bind_array_element (entry, ind, value, flags) | ^ arrayfunc.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | bind_assoc_variable (entry, name, key, value, flags) | ^ arrayfunc.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | assign_array_element (name, value, flags, estatep) | ^ arrayfunc.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | assign_array_element_internal (entry, name, vname, sub, sublen, value, flags, estatep) | ^ arrayfunc.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | find_or_make_array_variable (name, flags) | ^ arrayfunc.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | assign_array_from_string (name, value, flags) | ^ arrayfunc.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | assign_array_var_from_word_list (var, list, flags) | ^ arrayfunc.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | expand_compound_array_assignment (var, value, flags) | ^ arrayfunc.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | assign_assoc_from_kvlist (var, nlist, h, flags) | ^ arrayfunc.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | kvpair_assignment_p (l) | ^ arrayfunc.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | expand_and_quote_kvpair_word (w) | ^ arrayfunc.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | assign_compound_array_list (var, nlist, flags) | ^ arrayfunc.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | assign_array_var_from_string (var, value, flags) | ^ arrayfunc.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | quote_assign (string) | ^ arrayfunc.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | quote_compound_array_word (w, type) | ^ arrayfunc.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | expand_and_quote_assoc_word (w, type) | ^ arrayfunc.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | quote_compound_array_list (list, type) | ^ arrayfunc.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | quote_array_assignment_chars (list) | ^ arrayfunc.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | unbind_array_element (var, sub, flags) | ^ arrayfunc.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | print_array_assignment (var, quoted) | ^ arrayfunc.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | print_assoc_assignment (var, quoted) | ^ arrayfunc.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | tokenize_array_reference (name, flags, subp) | ^ arrayfunc.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | valid_array_reference (name, flags) | ^ arrayfunc.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | array_expand_index (var, s, len, flags) | ^ arrayfunc.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | array_variable_name (s, flags, subp, lenp) | ^ arrayfunc.c:1439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | array_variable_part (s, flags, subp, lenp) | ^ arrayfunc.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | array_value_internal (s, quoted, flags, estatep) | ^ arrayfunc.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | array_value (s, quoted, flags, estatep) | ^ arrayfunc.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | get_array_value (s, flags, estatep) | ^ arrayfunc.c:1667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | array_keys (s, quoted, pflags) | ^ 36 warnings generated. --- ./lib/glob/libglob.a --- test -n "/usr/local/bin/ranlib" && /usr/local/bin/ranlib libglob.a --- ./builtins/libbuiltins.a --- --- set.o --- rm -f set.c --- bashgetopt.o --- bashgetopt.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | internal_getopt(list, opts) | ^ --- source.o --- 6 warnings generated. --- getopt.o --- 5 warnings generated. --- source.o --- rm -f source.c --- complete.o --- cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing complete.c || ( rm -f complete.c ; exit 1 ) --- trap.o --- 101 | trap_builtin (list) | ^ --- ./lib/sh/libsh.a --- --- wcsnwidth.o --- --- mbschr.o --- --- getenv.o --- --- itos.o --- --- makepath.o --- --- netopen.o --- --- oslib.o --- --- pathcanon.o --- --- pathphys.o --- --- eaccess.o --- --- netopen.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE netopen.c netopen.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | _netopen6 (host, serv, typ) | ^ --- make_cmd.o --- rm -f make_cmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c make_cmd.c make_cmd.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | make_bare_word (string) | ^ --- pathexp.o --- rm -f pathexp.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c pathexp.c pathexp.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | unquoted_glob_pattern_p (string) | ^ --- pcomplete.o --- rm -f pcomplete.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c pcomplete.c pcomplete.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | set_itemlist_dirty (it) | ^ --- bashline.o --- rm -f bashline.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c bashline.c bashline.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | posix_readline_initialize (on_or_off) | ^ --- pcomplib.o --- rm -f pcomplib.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c pcomplib.c --- print_cmd.o --- rm -f print_cmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c print_cmd.c --- shell.o --- rm -f shell.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c shell.c --- execute_cmd.o --- rm -f execute_cmd.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c execute_cmd.c execute_cmd.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | new_fd_bitmap (size) | ^ --- sig.o --- rm -f sig.o --- general.o --- rm -f general.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c general.c general.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | posix_initialize (on) | ^ --- subst.o --- rm -f subst.o --- jobs.o --- rm -f jobs.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c jobs.c jobs.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | save_pipeline (clear) | ^ --- locale.o --- rm -f locale.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c locale.c locale.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | set_locale_var (var, value) | ^ --- trap.o --- --- variables.o --- --- version.o --- --- xmalloc.o --- --- pcomplib.o --- pcomplib.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | compspec_dispose (cs) | ^ pcomplib.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | compspec_copy (cs) | ^ pcomplib.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | free_progcomp (data) | ^ pcomplib.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | progcomp_remove (cmd) | ^ pcomplib.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | progcomp_insert (cmd, cs) | ^ pcomplib.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | progcomp_search (cmd) | ^ pcomplib.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | progcomp_walk (pfunc) | ^ 7 warnings generated. --- pathexp.o --- pathexp.c:73:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 73 | while (c = *string++) | ~~^~~~~~~~~~~ pathexp.c:73:12: note: place parentheses around the assignment to silence this warning 73 | while (c = *string++) | ^ | ( ) pathexp.c:73:12: note: use '==' to turn this assignment into an equality comparison 73 | while (c = *string++) | ^ | == pathexp.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | ere_char (c) | ^ pathexp.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | glob_char_p (s) | ^ pathexp.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | quote_string_for_globbing (pathname, qflags) | ^ pathexp.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | quote_globbing_chars (string) | ^ pathexp.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | shell_glob_filename (pathname, qflags) | ^ pathexp.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | setup_glob_ignore (name) | ^ pathexp.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | glob_name_is_acceptable (name) | ^ pathexp.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | ignore_globbed_names (names, name_func) | ^ pathexp.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | ignore_glob_matches (names) | ^ pathexp.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | split_ignorespec (s, ip) | ^ pathexp.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | setup_ignore_patterns (ivp) | ^ pathexp.c:620:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 620 | while (colon_bit = split_ignorespec (this_ignoreval, &ptr)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pathexp.c:620:20: note: place parentheses around the assignment to silence this warning 620 | while (colon_bit = split_ignorespec (this_ignoreval, &ptr)) | ^ | ( ) pathexp.c:620:20: note: use '==' to turn this assignment into an equality comparison 620 | while (colon_bit = split_ignorespec (this_ignoreval, &ptr)) | ^ | == 14 warnings generated. --- locale.o --- locale.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | set_lang (var, value) | ^ locale.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | get_locale_var (var) | ^ locale.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | localetrans (string, len, lenp) | ^ locale.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | mk_msgstr (string, foundnlp) | ^ locale.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | locale_expand (string, start, end, lineno, lenp) | ^ locale.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | locale_isutf8 (lspec) | ^ 7 warnings generated. --- general.o --- general.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | get_posix_options (bitmap) | ^ general.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | set_posix_options (bitmap) | ^ general.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | string_to_rlimtype (s) | ^ general.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | print_rlimtype (n, addnl) | ^ general.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | all_digits (string) | ^ general.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | legal_number (string, result) | ^ general.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | legal_identifier (name) | ^ general.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | valid_nameref_value (name, flags) | ^ general.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | check_selfref (name, value, flags) | ^ general.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | check_identifier (word, check_word) | ^ general.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | importable_function_name (string, len) | ^ general.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | exportable_function_name (string) | ^ general.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | legal_alias_name (string, flags) | ^ general.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | assignment (string, flags) | ^ general.c:459:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | while (c = string[indx]) | ~~^~~~~~~~~~~~~~ general.c:459:12: note: place parentheses around the assignment to silence this warning 459 | while (c = string[indx]) | ^ | ( ) general.c:459:12: note: use '==' to turn this assignment into an equality comparison 459 | while (c = string[indx]) | ^ | == general.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | line_isblank (line) | ^ general.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | sh_unset_nodelay_mode (fd) | ^ general.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | sh_setclexec (fd) | ^ general.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | sh_validfd (fd) | ^ general.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | fd_ispipe (fd) | ^ general.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | same_file (path1, path2, stp1, stp2) | ^ general.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | move_to_high_fd (fd, check_new, maxfd) | ^ general.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | check_binary_file (sample, sample_len) | ^ general.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | sh_openpipe (pv) | ^ general.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | sh_closepipe (pv) | ^ general.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | file_exists (fn) | ^ general.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | file_isdir (fn) | ^ general.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | file_iswdir (fn) | ^ general.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | path_dot_or_dotdot (string) | ^ general.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | absolute_pathname (string) | ^ general.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | absolute_program (string) | ^ general.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | make_absolute (string, dot_path) | ^ general.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | base_pathname (string) | ^ general.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | full_pathname (file) | ^ general.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | polite_directory_format (name) | ^ general.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | trim_pathname (name, maxlen) | ^ general.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | printable_filename (fn, flags) | ^ general.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | extract_colon_unit (string, p_index) | ^ general.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | bash_special_tilde_expansions (text) | ^ general.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | unquoted_tilde_word (s) | ^ general.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | bash_tilde_find_word (s, flags, lenp) | ^ general.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | bash_tilde_expand (s, assign_p) | ^ general.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | get_group_list (ngp) | ^ general.c:1363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | get_group_array (ngp) | ^ 45 warnings generated. --- ./builtins/libbuiltins.a --- ./trap.def:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | showtrap (i, show_default) | ^ ./trap.def:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | display_traps (list, show_all) | ^ --- bashgetopt.o --- 1 warning generated. --- builtins.o --- rm -f builtins.o cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing builtins.c --- ./lib/sh/libsh.a --- netopen.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | _netopen(host, serv, typ) | ^ netopen.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | netopen (path) | ^ 3 warnings generated. --- makepath.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE makepath.c --- make_cmd.o --- make_cmd.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | make_word_flags (w, string) | ^ make_cmd.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | make_word (string) | ^ make_cmd.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | make_word_from_token (token) | ^ make_cmd.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | make_word_list (word, wlink) | ^ make_cmd.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | make_command (type, pointer) --- version.o --- rm -f version.o --- pcomplete.o --- pcomplete.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | initialize_itemlist (itp) | ^ pcomplete.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | clean_itemlist (itp) | ^ pcomplete.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | shouldexp_filterpat (s) | ^ pcomplete.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | preproc_filterpat (pat, text) | ^ pcomplete.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- bashline.o --- bashline.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | enable_hostname_completion (on_or_off) | ^ bashline.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | bash_re_edit (line) | ^ bashline.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | display_shell_version (count, c) | ^ bashline.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | add_host_name (name) | ^ bashline.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print_cmd.o --- print_cmd.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | print_command (command) | ^ print_cmd.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | make_command_string (command) | ^ print_cmd.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | print_comsub (command) | ^ print_cmd.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | make_command_string_internal (command) | ^ print_cmd.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- shell.o --- shell.c:826:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 826 | internal_warning (_("pretty-printing mode ignored in interactive shells")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ shell.c:826:25: note: treat the string as an argument to avoid this 826 | internal_warning (_("pretty-printing mode ignored in interactive shells")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ shell.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | main (argc, argv, env) | ^ --- execute_cmd.o --- execute_cmd.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | dispose_fd_bitmap (fdbp) | ^ execute_cmd.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | close_fd_bitmap (fdbp) | ^ execute_cmd.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | execute_command (command) | ^ execute_cmd.c:410:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | add_unwind_protect (dispose_fd_bitmap, (char *)bitmap); | ^ --- sig.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c sig.c --- trap.o --- rm -f trap.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c trap.c --- subst.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c subst.c subst.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | sub_append_string (source, target, indx, size) | ^ --- jobs.o --- jobs.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | restore_pipeline (discard) | ^ jobs.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | stop_pipeline (async, deferred) | ^ jobs.c:639:22: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | newjob->pipe = REVERSE_LIST (the_pipeline, PROCESS *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ --- variables.o --- rm -f variables.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c variables.c --- test.o --- rm -f test.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c test.c test.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | test_syntax_error (format, arg) | ^ --- ./builtins/libbuiltins.a --- --- complete.o --- ./complete.def:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | find_compact (name) | ^ ./complete.def:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | find_compopt (name) | ^ ./complete.def:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | build_actions (list, flagp, actp, optp) | ^ ./complete.def:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | complete_builtin (list) | ^ --- shopt.o --- 27 warnings generated. --- complete.o --- --- ./lib/sh/libsh.a --- makepath.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | sh_makepath (path, dir, flags) | ^ makepath.c:123:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 123 | while (*r++ = *s++) | ~~~~~^~~~~~ makepath.c:123:15: note: place parentheses around the assignment to silence this warning 123 | while (*r++ = *s++) | ^ | ( ) makepath.c:123:15: note: use '==' to turn this assignment into an equality comparison 123 | while (*r++ = *s++) | ^ | == 2 warnings generated. --- itos.o --- --- make_cmd.o --- | ^ make_cmd.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | command_connect (com1, com2, connector) | ^ make_cmd.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | make_for_or_select (type, name, map_list, action, lineno) | ^ make_cmd.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | make_for_command (name, map_list, action, lineno) | ^ make_cmd.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | make_select_command (name, map_list, action, lineno) | ^ --- pcomplete.o --- 293 | filter_stringlist (sl, filterpat, text) | ^ pcomplete.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | completions_to_stringlist (matches) | ^ pcomplete.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | it_init_aliases (itp) | ^ pcomplete.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | init_itemlist_from_varlist (itp, svfunc) | ^ pcomplete.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | it_init_arrayvars (itp) | ^ --- bashline.o --- 800 | snarf_hosts_from_file (filename) | ^ bashline.c:811:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 811 | while (temp = fgets (buffer, 255, file)) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ bashline.c:811:15: note: place parentheses around the assignment to silence this warning 811 | while (temp = fgets (buffer, 255, file)) | ^ | ( ) bashline.c:811:15: note: use '==' to turn this assignment into an equality comparison 811 | while (temp = fgets (buffer, 255, file)) | ^ | == bashline.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | hostnames_matching (text) | ^ --- print_cmd.o --- 379 | _print_word_list (list, separator, pfunc) | ^ print_cmd.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | print_word_list (list, separator) | ^ print_cmd.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | xtrace_set (fd, fp) | ^ print_cmd.c:410:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 410 | internal_error (_("xtrace_set: NULL file pointer")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ print_cmd.c:410:23: note: treat the string as an argument to avoid this 410 | internal_error (_("xtrace_set: NULL file pointer")); --- shell.o --- shell.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | parse_long_options (argv, arg_start, arg_end) | ^ shell.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | parse_shell_options (argv, arg_start, arg_end) | ^ shell.c:918:28: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 918 | while (arg_character = arg_string[i++]) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ shell.c:918:28: note: place parentheses around the assignment to silence this warning 918 | while (arg_character = arg_string[i++]) | ^ | ( ) shell.c:918:28: note: use '==' to turn this assignment into an equality comparison --- execute_cmd.o --- execute_cmd.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | shell_control_structure (type) | ^ execute_cmd.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | cleanup_redirects (list) | ^ execute_cmd.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | restore_signal_mask (set) | ^ execute_cmd.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | execute_command_internal (command, asynchronous, pipe_in, pipe_out, | ^ --- subst.o --- subst.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | string_extract (string, sindex, charlist, flags) | ^ subst.c:810:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 810 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:810:12: note: place parentheses around the assignment to silence this warning 810 | while (c = string[i]) | ^ | ( ) subst.c:810:12: note: use '==' to turn this assignment into an equality comparison 810 | while (c = string[i]) | ^ | == subst.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | string_extract_double_quoted (string, sindex, flags) | ^ --- jobs.o --- jobs.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | pshash_getbucket (pid) | ^ jobs.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | bgp_add (pid, status) | ^ jobs.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | pshash_delindex (psi) | ^ jobs.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | bgp_delete (pid) | ^ jobs.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | bgp_search (pid) | ^ --- test.o --- test.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | integer_expected_error (pch) | ^ test.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | stat_mtime (fn, st, ts) | ^ test.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | filecomp (s, t, op) | ^ test.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | arithcomp (s, t, op, flags) | ^ test.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | patcomp (string, pat, op) | ^ --- ./builtins/libbuiltins.a --- ./complete.def:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | remove_cmd_completions (list) | ^ ./complete.def:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | print_compoptions (copts, full) | ^ ./complete.def:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | print_compactions (acts) | ^ ./complete.def:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | print_arg (arg, flag, quote) | ^ ./complete.def:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE itos.c itos.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | inttostr (i, buf, len) | ^ itos.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | itos (i) | ^ --- make_cmd.o --- make_cmd.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | make_arith_for_expr (s) | ^ make_cmd.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | make_arith_for_command (exprs, action, lineno) | ^ make_cmd.c:314:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 314 | parser_error (lineno, _("syntax error: arithmetic expression required")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ make_cmd.c:314:24: note: treat the string as an argument to avoid this 314 | parser_error (lineno, _("syntax error: arithmetic expression required")); --- pcomplete.o --- pcomplete.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | it_init_bindings (itp) | ^ pcomplete.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | it_init_builtins (itp) | ^ pcomplete.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | it_init_enabled (itp) | ^ pcomplete.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | it_init_disabled (itp) | ^ pcomplete.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | it_init_exported (itp) | ^ --- bashline.o --- bashline.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | edit_and_execute_command (count, c, editing_mode, edit_command) | ^ bashline.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | vi_edit_and_execute_command (count, c) | ^ bashline.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | emacs_edit_and_execute_command (count, c) | ^ bashline.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | posix_edit_macros (count, key) | ^ --- print_cmd.o --- | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ print_cmd.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | xtrace_fdchk (fd) | ^ print_cmd.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | xtrace_print_assignment (name, value, assign_list, xflags) | ^ print_cmd.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | xtrace_print_word_list (list, xtflags) | ^ print_cmd.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- shell.o --- 918 | while (arg_character = arg_string[i++]) | ^ | == shell.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | exit_shell (s) | ^ shell.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | sh_exit (s) | ^ shell.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | subshell_exit (s) | ^ shell.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | set_exit_status (s) | ^ --- execute_cmd.o --- execute_cmd.c:785:21: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | add_unwind_protect (xfree, ofifo_list); | ^ execute_cmd.c:839:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | add_unwind_protect ((Function *)cleanup_redirects, my_undo_list); | ^ execute_cmd.c:842:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | add_unwind_protect ((Function *)dispose_redirects, exec_undo_list); | ^ --- subst.o --- subst.c:884:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 884 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:884:12: note: place parentheses around the assignment to silence this warning 884 | while (c = string[i]) | ^ | ( ) subst.c:884:12: note: use '==' to turn this assignment into an equality comparison 884 | while (c = string[i]) | ^ | == subst.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | skip_double_quoted (string, slen, sind, flags) | ^ subst.c:1036:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1036 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:1036:12: note: place parentheses around the assignment to silence this warning --- jobs.o --- jobs.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | save_proc_status (pid, status) | ^ jobs.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | procsub_free (p) | ^ jobs.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | procsub_add (p) | ^ jobs.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | procsub_search (pid) | ^ jobs.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | procsub_delete (pid) | ^ --- test.o --- test.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | binary_test (op, arg1, arg2, flags) | ^ test.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | unary_test (op, arg, flags) | ^ test.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | test_binop (op) | ^ test.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | test_unop (op) | ^ test.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | test_command (margc, margv) | ^ --- ./builtins/libbuiltins.a --- 541 | print_cmd_name (cmd) | ^ ./complete.def:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | print_one_completion (cmd, cs) | ^ --- trap.o --- 3 warnings generated. --- shopt.o --- rm -f shopt.c --- trap.o --- rm -f trap.c --- complete.o --- ./complete.def:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | print_compopts (cmd, cs, full) | ^ ./complete.def:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | print_compitem (item) | ^ ./complete.def:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | print_cmd_completions (list) | ^ --- ./lib/sh/libsh.a --- itos.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | mitos (i) | ^ itos.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | uinttostr (i, buf, len) | ^ itos.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | uitos (i) | ^ 5 warnings generated. --- getenv.o --- --- make_cmd.o --- | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ make_cmd.c:316:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 316 | parser_error (lineno, _("syntax error: `;' unexpected")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ make_cmd.c:316:24: note: treat the string as an argument to avoid this 316 | parser_error (lineno, _("syntax error: `;' unexpected")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ --- pcomplete.o --- pcomplete.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | it_init_functions (itp) | ^ pcomplete.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | it_init_helptopics (itp) | ^ pcomplete.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | it_init_hostnames (itp) | ^ pcomplete.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | it_init_joblist (itp, jstate) | ^ pcomplete.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | it_init_jobs (itp) | ^ --- bashline.o --- bashline.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | bash_forward_shellword (count, key) | ^ bashline.c:1177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | bash_backward_shellword (count, key) | ^ bashline.c:1239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | bash_kill_shellword (count, key) | ^ bashline.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | bash_backward_kill_shellword (count, key) | ^ --- print_cmd.o --- 595 | command_print_word_list (list, separator) | ^ print_cmd.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | print_for_command_head (for_command) | ^ print_cmd.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | xtrace_print_for_command_head (for_command) | ^ print_cmd.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | print_for_command (for_command) | ^ print_cmd.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | print_arith_for_command (arith_for_command) | ^ --- shell.o --- shell.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | execute_env_file (env_file) | ^ shell.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | shell_is_restricted (name) | ^ shell.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | maybe_make_restricted (name) | ^ shell.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | run_one_command (command) | ^ shell.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- execute_cmd.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | mkfmt (buf, prec, lng, sec, sec_fraction) | ^ execute_cmd.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | print_formatted_time (fp, format, rs, rsf, us, usf, ss, ssf, cpu) | ^ execute_cmd.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | time_command (command, asynchronous, pipe_in, pipe_out, fds_to_close) | ^ execute_cmd.c:1421:19: warning: passing arguments to 'timeval_to_secs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | timeval_to_secs (&real, &rs, &rsf); | ^ --- subst.o --- 1036 | while (c = string[i]) | ^ | ( ) subst.c:1036:12: note: use '==' to turn this assignment into an equality comparison 1036 | while (c = string[i]) | ^ | == subst.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | string_extract_single_quoted (string, sindex, allowesc) | ^ subst.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | skip_single_quoted (string, slen, sind, flags) | ^ subst.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | string_extract_verbatim (string, slen, sindex, charlist, flags) | ^ --- jobs.o --- jobs.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | procsub_waitpid (pid) | ^ jobs.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | processes_in_job (job) | ^ jobs.c:1265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | delete_old_job (pid) | ^ jobs.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | compact_jobs_list (flags) | ^ jobs.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | delete_job (job_index, dflags) | ^ --- ./builtins/libbuiltins.a --- ./complete.def:696:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 696 | builtin_error (_("warning: -F option may not work as you expect")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./complete.def:696:20: note: treat the string as an argument to avoid this 696 | builtin_error (_("warning: -F option may not work as you expect")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./complete.def:698:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 698 | builtin_error (_("warning: -C option may not work as you expect")); --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE getenv.c --- mbschr.o --- --- make_cmd.o --- make_cmd.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | make_group_command (command) | ^ make_cmd.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | make_case_command (word, clauses, lineno) | ^ make_cmd.c:365:19: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | temp->clauses = REVERSE_LIST (clauses, PATTERN_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ --- pcomplete.o --- pcomplete.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | it_init_running (itp) | ^ pcomplete.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | it_init_stopped (itp) | ^ pcomplete.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | it_init_keywords (itp) | ^ pcomplete.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | it_init_signals (itp) | ^ pcomplete.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | it_init_variables (itp) | ^ --- bashline.o --- bashline.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | bash_transpose_shellwords (count, key) | ^ bashline.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | bash_spell_correct_shellword (count, key) | ^ bashline.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | check_redir (ti) | ^ bashline.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | find_cmd_start (start) | ^ bashline.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print_cmd.o --- print_cmd.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | print_select_command_head (select_command) | ^ print_cmd.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | xtrace_print_select_command_head (select_command) | ^ print_cmd.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | print_select_command (select_command) | ^ print_cmd.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | print_group_command (group_command) | ^ --- shell.o --- 1478 | bind_args (argv, arg_start, arg_end, start_index) | ^ shell.c:1551:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1551 | internal_warning (_("cannot start debugger; debugging mode disabled")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ shell.c:1551:25: note: treat the string as an argument to avoid this 1551 | internal_warning (_("cannot start debugger; debugging mode disabled")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ shell.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- execute_cmd.c:1425:19: warning: passing arguments to 'timeval_to_secs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | timeval_to_secs (&user, &us, &usf); | ^ execute_cmd.c:1429:19: warning: passing arguments to 'timeval_to_secs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | timeval_to_secs (&sys, &ss, &ssf); | ^ execute_cmd.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | execute_in_subshell (command, asynchronous, pipe_in, pipe_out, fds_to_close) | ^ execute_cmd.c:1787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | cpe_alloc (cp) | ^ --- subst.o --- subst.c:1204:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1204 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:1204:12: note: place parentheses around the assignment to silence this warning 1204 | while (c = string[i]) | ^ | ( ) subst.c:1204:12: note: use '==' to turn this assignment into an equality comparison 1204 | while (c = string[i]) | ^ | == subst.c:1278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | extract_command_subst (string, sindex, xflags) | ^ subst.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | extract_arithmetic_subst (string, sindex) | ^ --- jobs.o --- jobs.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | nohup_job (job_index) | ^ jobs.c:1457:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1457 | if (temp = jobs[job_index]) | ~~~~~^~~~~~~~~~~~~~~~~ jobs.c:1457:12: note: place parentheses around the assignment to silence this warning 1457 | if (temp = jobs[job_index]) | ^ | ( ) jobs.c:1457:12: note: use '==' to turn this assignment into an equality comparison 1457 | if (temp = jobs[job_index]) | ^ | == jobs.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | discard_pipeline (chain) | ^ --- ./builtins/libbuiltins.a --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./complete.def:698:20: note: treat the string as an argument to avoid this 698 | builtin_error (_("warning: -C option may not work as you expect")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./complete.def:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | compgen_builtin (list) | ^ ./complete.def:846:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 846 | builtin_error (_("not currently executing completion function")); --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE mbschr.c --- wcsnwidth.o --- --- make_cmd.o --- make_cmd.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | make_pattern_list (patterns, action) | ^ make_cmd.c:377:20: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | temp->patterns = REVERSE_LIST (patterns, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ make_cmd.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | make_if_command (test, true_case, false_case) | ^ --- pcomplete.o --- pcomplete.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | it_init_setopts (itp) | ^ pcomplete.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | it_init_shopts (itp) | ^ pcomplete.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | gen_matches_from_itemlist (itp, text) | ^ pcomplete.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | pcomp_filename_completion_function (text, state) | ^ pcomplete.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- bashline.o --- 1489 | find_cmd_end (end) | ^ bashline.c:1499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | find_cmd_name (start, sp, ep) | ^ bashline.c:1523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | prog_complete_return (text, matchnum) | ^ bashline.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | invalid_completion (text, ind) | ^ bashline.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | attempt_shell_completion (text, start, end) | ^ bashline.c:1704:29: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- print_cmd.o --- print_cmd.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | print_case_command_head (case_command) | ^ print_cmd.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | xtrace_print_case_command_head (case_command) | ^ print_cmd.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | print_case_command (case_command) | ^ print_cmd.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | print_case_clauses (clauses) | ^ --- shell.o --- 1564 | open_shell_script (script_name) | ^ shell.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | unset_bash_input (check_zero) | ^ shell.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | set_shell_name (argv0) | ^ shell.c:2060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | show_shell_usage (fp, extra) | ^ shell.c:2103:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2103 | fprintf (fp, _("Use the `bashbug' command to report bugs.\n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) --- execute_cmd.o --- execute_cmd.c:1799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | cpe_dispose (cpe) | ^ execute_cmd.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | cpl_add (cp) | ^ execute_cmd.c:1829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1829 | cpl_delete (pid) | ^ execute_cmd.c:1930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1930 | cpl_fdchk (fd) | ^ execute_cmd.c:1942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | cpl_search (pid) | ^ --- subst.o --- subst.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | extract_process_subst (string, starter, sindex, xflags) | ^ subst.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | extract_array_assignment_list (string, sindex) | ^ subst.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | extract_delimited_string (string, sindex, opener, alt_opener, closer, flags) | ^ subst.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | extract_heredoc_dolbrace_string (string, sindex, quoted, flags) | ^ --- jobs.o --- jobs.c:1488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | add_process (name, pid) | ^ jobs.c:1529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | append_process (name, pid, status, jid) | ^ jobs.c:1596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | map_over_jobs (func, arg1, arg2) | ^ jobs.c:1687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | find_pid_in_pipeline (pid, pipeline, alive_only) | ^ jobs.c:1711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./builtins/libbuiltins.a --- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./complete.def:846:19: note: treat the string as an argument to avoid this 846 | builtin_error (_("not currently executing completion function")); | ^ | "%s", ./../bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./complete.def:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | compopt_builtin (list) | ^ 18 warnings generated. rm -f complete.c --- printf.o --- 8 warnings generated. rm -f printf.c --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE wcsnwidth.c wcsnwidth.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | wcsnwidth(pwcs, n, max) | ^ 1 warning generated. --- gettimeofday.o --- --- make_cmd.o --- make_cmd.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | make_until_or_while (which, test, action) | ^ make_cmd.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | make_while_command (test, action) | ^ make_cmd.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | make_until_command (test, action) | ^ make_cmd.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | make_arith_command (exp) | ^ make_cmd.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- pcomplete.o --- 826 | gen_action_completions (cs, text) | ^ pcomplete.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | gen_globpat_matches (cs, text) | ^ pcomplete.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | gen_wordlist_matches (cs, text) | ^ pcomplete.c:936:20: warning: passing arguments to 'list_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | nw = list_length (l2); | ^ pcomplete.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | bind_comp_words (lwords) | ^ --- bashline.o --- 1704 | while (was_assignment = assignment (n, 0)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ bashline.c:1704:29: note: place parentheses around the assignment to silence this warning 1704 | while (was_assignment = assignment (n, 0)); | ^ | ( ) bashline.c:1704:29: note: use '==' to turn this assignment into an equality comparison 1704 | while (was_assignment = assignment (n, 0)); | ^ | == bashline.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | bash_default_completion (text, start, end, qc, compflags) | ^ bashline.c:1915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print_cmd.o --- print_cmd.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | print_while_command (while_command) | ^ print_cmd.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | print_until_command (while_command) | ^ print_cmd.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | print_until_or_while (while_command, which) | ^ print_cmd.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | print_if_command (if_command) | ^ --- shell.o --- | ^~~~~~~~~~~~~~ shell.c:2103:20: note: treat the string as an argument to avoid this 2103 | fprintf (fp, _("Use the `bashbug' command to report bugs.\n")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ shell.c:2105:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2105 | fprintf (fp, _("bash home page: \n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ shell.c:2105:20: note: treat the string as an argument to avoid this 2105 | fprintf (fp, _("bash home page: \n")); | ^ --- execute_cmd.o --- execute_cmd.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | cpl_searchbyname (name) | ^ execute_cmd.c:2000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | getcoprocbypid (pid) | ^ execute_cmd.c:2014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | getcoprocbyname (name) | ^ execute_cmd.c:2028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2028 | coproc_init (cp) | ^ execute_cmd.c:2039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | coproc_alloc (name, pid) --- subst.o --- subst.c:1554:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1554 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:1554:12: note: place parentheses around the assignment to silence this warning 1554 | while (c = string[i]) | ^ | ( ) subst.c:1554:12: note: use '==' to turn this assignment into an equality comparison 1554 | while (c = string[i]) | ^ | == subst.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | extract_dollar_brace_string (string, sindex, quoted, flags) | ^ subst.c:1841:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1841 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:1841:12: note: place parentheses around the assignment to silence this warning --- jobs.o --- 1711 | find_pipeline (pid, alive_only, jobp) | ^ jobs.c:1748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1748 | find_process (pid, alive_only, jobp) | ^ jobs.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | find_job (pid, alive_only, procp) | ^ jobs.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | get_job_by_pid (pid, block, procp) | ^ jobs.c:1826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | describe_pid (pid) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE gettimeofday.c --- random.o --- random.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | intrand32 (last) | ^ random.c:93:8: warning: cast to smaller integer type 'unsigned int' from 'void (*)(void)' [-Wpointer-to-int-cast] 93 | iv = (u_bits32_t)seedrand; /* let the compiler truncate */ | ^~~~~~~~~~~~~~~~~~~~ --- make_cmd.o --- 454 | make_cond_node (type, op, left, right) | ^ make_cmd.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | make_cond_command (cond_node) | ^ make_cmd.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | make_simple_command (element, command) | ^ make_cmd.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | make_here_document (temp, lineno) | ^ make_cmd.c:614:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 614 | while (full_line = read_secondary_line (delim_unquoted)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- pcomplete.o --- pcomplete.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | bind_compfunc_variables (line, ind, lwords, cw, exported) | ^ pcomplete.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | unbind_compfunc_variables (exported) | ^ pcomplete.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | build_arg_list (cmd, cname, text, lwords, ind) | ^ pcomplete.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | gen_shell_function_matches (cs, cmd, text, line, ind, lwords, nw, cw, foundp) | ^ --- bashline.o --- 1915 | bash_command_name_stat_hook (name) | ^ bashline.c:1938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1938 | executable_completion (filename, searching_path) | ^ bashline.c:1965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | command_word_completion_function (hint_text, state) | ^ bashline.c:2209:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2209 | while (val = glob_matches[local_index++]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bashline.c:2209:18: note: place parentheses around the assignment to silence this warning 2209 | while (val = glob_matches[local_index++]) | ^ | ( ) --- print_cmd.o --- print_cmd.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | print_arith_command (arith_cmd_list) | ^ print_cmd.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | print_cond_node (cond) | ^ print_cmd.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | print_cond_command (cond) | ^ print_cmd.c:939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | xtrace_print_cond_term (type, invert, op, arg1, arg2) | ^ print_cmd.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- shell.o --- | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ shell.c:2106:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2106 | fprintf (fp, _("General help using GNU software: \n")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ shell.c:2106:20: note: treat the string as an argument to avoid this 2106 | fprintf (fp, _("General help using GNU software: \n")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ --- execute_cmd.o --- | ^ execute_cmd.c:2063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | coproc_free (cp) | ^ execute_cmd.c:2070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | coproc_dispose (cp) | ^ execute_cmd.c:2104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | coproc_close (cp) | ^ execute_cmd.c:2145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2145 | coproc_rclose (cp, fd) | ^ execute_cmd.c:2157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2157 | coproc_wclose (cp, fd) --- subst.o --- 1841 | while (c = string[i]) | ^ | ( ) subst.c:1841:12: note: use '==' to turn this assignment into an equality comparison 1841 | while (c = string[i]) | ^ | == subst.c:1999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1999 | de_backslash (string) | ^ subst.c:2063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | skip_matched_pair (string, start, open, close, flags) | ^ subst.c:2083:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2083 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:2083:12: note: place parentheses around the assignment to silence this warning 2083 | while (c = string[i]) | ^ --- jobs.o --- jobs.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | j_strsignal (s) | ^ jobs.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | printable_job_status (j, p, format) | ^ jobs.c:1933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | print_pipeline (p, job_index, format, stream) | ^ jobs.c:1990:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1990 | fprintf (stream, _("(core dumped) ")); | ^~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ --- ./lib/sh/libsh.a --- random.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | sbrand (seed) | ^ random.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | sbrand32 (seed) | ^ 4 warnings generated. --- utf8.o --- utf8.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | utf8_mbschr (s, c) | ^ utf8.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | utf8_mbscmp (s1, s2) | ^ utf8.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | utf8_mbsmbchar (str) | ^ --- make_cmd.o --- make_cmd.c:614:20: note: place parentheses around the assignment to silence this warning 614 | while (full_line = read_secondary_line (delim_unquoted)) | ^ | ( ) make_cmd.c:614:20: note: use '==' to turn this assignment into an equality comparison 614 | while (full_line = read_secondary_line (delim_unquoted)) | ^ | == make_cmd.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | make_redirection (source, instruction, dest_and_filename, flags) | ^ make_cmd.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | make_function_def (name, command, lineno, lstart) | ^ --- pcomplete.o --- pcomplete.c:1154:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | add_unwind_protect (restore_parser_state, (char *)pps); | ^ pcomplete.c:1155:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | add_unwind_protect (dispose_words, (char *)cmdlist); | ^ pcomplete.c:1156:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | add_unwind_protect (unbind_compfunc_variables, (char *)0); | ^ pcomplete.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- bashline.o --- bashline.c:2209:18: note: use '==' to turn this assignment into an equality comparison 2209 | while (val = glob_matches[local_index++]) | ^ | == bashline.c:2400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2400 | command_subst_completion_function (text, state) | ^ bashline.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | variable_completion_function (text, state) | ^ bashline.c:2543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2543 | hostname_completion_function (text, state) | ^ --- print_cmd.o --- 972 | xtrace_print_arith_cmd (list) | ^ print_cmd.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | print_simple_command (simple_command) | ^ print_cmd.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | print_heredocs (heredocs) | ^ print_cmd.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | print_heredoc_bodies (heredocs) | ^ print_cmd.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | print_deferred_heredocs (cstring) | ^ --- shell.o --- shell.c:2111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | add_shopt_to_alist (opt, on_or_off) | ^ --- execute_cmd.o --- | ^ execute_cmd.c:2169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2169 | coproc_checkfd (cp, fd) | ^ execute_cmd.c:2185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | coproc_fdchk (fd) | ^ execute_cmd.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | coproc_fdclose (cp, fd) | ^ execute_cmd.c:2206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | coproc_fdsave (cp) | ^ execute_cmd.c:2214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2214 | coproc_fdrestore (cp) --- subst.o --- | ( ) subst.c:2083:12: note: use '==' to turn this assignment into an equality comparison 2083 | while (c = string[i]) | ^ | == subst.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | skipsubscript (string, start, flags) | ^ subst.c:2181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | skip_to_delim (string, start, delims, flags) | ^ subst.c:2208:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2208 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:2208:12: note: place parentheses around the assignment to silence this warning 2208 | while (c = string[i]) | ^ | ( ) --- jobs.o --- jobs.c:1990:20: note: treat the string as an argument to avoid this 1990 | fprintf (stream, _("(core dumped) ")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:2034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2034 | pretty_print_job (job_index, format, stream) | ^ jobs.c:2072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2072 | print_job (job, format, state, job_index) | ^ jobs.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | list_one_job (job, format, ignore, job_index) | ^ --- ./lib/sh/libsh.a --- utf8.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | utf8_mbsnlen(src, srclen, maxlen) | ^ utf8.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | utf8_mblen (s, n) | ^ utf8.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | utf8_mbstrlen(s) | ^ 6 warnings generated. --- strvis.o --- 2 warnings generated. --- unicode.o --- 5 warnings generated. --- oslib.o --- --- make_cmd.o --- make_cmd.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | make_subshell_command (command) | ^ make_cmd.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | make_coproc_command (name, command) | ^ make_cmd.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | clean_simple_command (command) | ^ make_cmd.c:854:2: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | REVERSE_LIST (command->value.Simple->words, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' --- pcomplete.o --- 1211 | gen_command_matches (cs, cmd, text, line, ind, lwords, nw, cw) | ^ pcomplete.c:1297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | command_line_to_word_list (line, llen, sentinel, nwp, cwp) | ^ pcomplete.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | gen_compspec_completions (cs, cmd, word, start, end, foundp) | ^ pcomplete.c:1525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | pcomp_set_readline_variables (flags, nval) | ^ pcomplete.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | pcomp_set_compspec_options (cs, flags, set_or_unset) | ^ --- bashline.o --- bashline.c:2586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2586 | bash_servicename_completion_function (text, state) | ^ bashline.c:2609:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2609 | while (srvent = getservent ()) | ~~~~~~~^~~~~~~~~~~~~~~ bashline.c:2609:17: note: place parentheses around the assignment to silence this warning 2609 | while (srvent = getservent ()) | ^ | ( ) bashline.c:2609:17: note: use '==' to turn this assignment into an equality comparison 2609 | while (srvent = getservent ()) | ^ | == bashline.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print_cmd.o --- print_cmd.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | print_redirection_list (redirects) | ^ print_cmd.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | print_heredoc_header (redirect) | ^ print_cmd.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | print_heredoc_body (redirect) | ^ print_cmd.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | print_redirection (redirect) | ^ print_cmd.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- | ^ execute_cmd.c:2222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | coproc_setstatus (cp, status) | ^ execute_cmd.c:2237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2237 | coproc_pidchk (pid, status) | ^ execute_cmd.c:2267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | coproc_setvars (cp) | ^ execute_cmd.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | coproc_unsetvars (cp) | ^ execute_cmd.c:2381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- subst.o --- subst.c:2208:12: note: use '==' to turn this assignment into an equality comparison 2208 | while (c = string[i]) | ^ | == subst.c:2363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2363 | skip_to_histexp (string, start, delims, flags) | ^ subst.c:2383:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2383 | while (c = string[i]) | ~~^~~~~~~~~~~ subst.c:2383:12: note: place parentheses around the assignment to silence this warning 2383 | while (c = string[i]) | ^ | ( ) subst.c:2383:12: note: use '==' to turn this assignment into an equality comparison 2383 | while (c = string[i]) | ^ | == --- jobs.o --- jobs.c:2091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | list_stopped_jobs (format) | ^ jobs.c:2099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2099 | list_running_jobs (format) | ^ jobs.c:2109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | list_all_jobs (format) | ^ jobs.c:2121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | make_child (command, flags) | ^ jobs.c:2546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2546 | find_last_proc (job, block) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE oslib.c --- pathcanon.o --- --- make_cmd.o --- 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ make_cmd.c:856:2: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | REVERSE_LIST (command->value.Simple->redirects, REDIRECT *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ make_cmd.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | connect_async_list (command, command2, connector) | ^ --- pcomplete.o --- pcomplete.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | gen_progcomp_completions (ocmd, cmd, word, start, end, foundp, retryp, lastcs) | ^ pcomplete.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | programmable_completions (cmd, word, start, end, foundp) | ^ --- bashline.o --- 2644 | bash_groupname_completion_function (text, state) | ^ bashline.c:2665:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2665 | while (grent = getgrent ()) | ~~~~~~^~~~~~~~~~~~~ bashline.c:2665:16: note: place parentheses around the assignment to silence this warning 2665 | while (grent = getgrent ()) | ^ | ( ) bashline.c:2665:16: note: use '==' to turn this assignment into an equality comparison 2665 | while (grent = getgrent ()) | ^ | == bashline.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2689 | history_expand_line_internal (line) | ^ bashline.c:2732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- print_cmd.o --- 1330 | print_function_def (func) | ^ print_cmd.c:1342:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | add_unwind_protect (reset_locals, 0); | ^ print_cmd.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | named_function_string (name, command, flags) | ^ print_cmd.c:1485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | newline (string) | ^ print_cmd.c:1498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | indent (amount) | ^ --- execute_cmd.o --- 2381 | execute_coproc (command, pipe_in, pipe_out, fds_to_close) | ^ execute_cmd.c:2478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2478 | restore_stdin (s) | ^ execute_cmd.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | lastpipe_cleanup (s) | ^ execute_cmd.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | execute_pipeline (command, asynchronous, pipe_in, pipe_out, fds_to_close) | ^ execute_cmd.c:2528:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2528 | sys_error (_("pipe error")); | ^~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' --- subst.o --- subst.c:2488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2488 | char_is_quoted (string, eindex) | ^ --- jobs.o --- jobs.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | find_last_pid (job, block) | ^ jobs.c:2586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2586 | wait_for_single_pid (pid, flags) | ^ jobs.c:2648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | wait_for_background_pids (ps) | ^ jobs.c:2750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2750 | wait_sigint_handler (sig) | ^ jobs.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | process_exit_signal (status) --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE pathcanon.c --- shmatch.o --- --- stringlist.o --- --- stringvec.o --- --- strtrans.o --- --- tmpfile.o --- --- shmatch.o --- --- bashline.o --- 2732 | maybe_make_readline_line (new_line) | ^ bashline.c:2749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2749 | set_up_new_line (new_line) | ^ bashline.c:2776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2776 | alias_expand_line (count, ignore) | ^ bashline.c:2799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2799 | history_expand_line (count, ignore) | ^ bashline.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | tcsh_magic_space (count, ignore) | ^ --- print_cmd.o --- print_cmd.c:1613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1613 | the_printed_command_resize (length) | ^ --- execute_cmd.o --- 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ execute_cmd.c:2528:15: note: treat the string as an argument to avoid this 2528 | sys_error (_("pipe error")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ execute_cmd.c:2572:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | add_unwind_protect (dispose_fd_bitmap, fd_bitmap); | ^ execute_cmd.c:2573:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2573 | add_unwind_protect (close_fd_bitmap, fd_bitmap); | ^ --- jobs.o --- | ^ jobs.c:2801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | process_exit_status (status) | ^ jobs.c:2813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2813 | job_signal_status (job) | ^ jobs.c:2835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2835 | raw_job_exit_status (job) | ^ jobs.c:2866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2866 | job_exit_status (job) | ^ jobs.c:2873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2873 | job_exit_signal (job) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE shmatch.c shmatch.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | sh_regmatch (string, pattern, flags) | ^ 1 warning generated. --- eaccess.o --- --- bashline.o --- bashline.c:2844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2844 | history_and_alias_expand_line (count, ignore) | ^ bashline.c:2882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2882 | shell_expand_line (count, ignore) | ^ bashline.c:2984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2984 | _ignore_completion_names (names, name_func) | ^ bashline.c:3075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3075 | name_is_acceptable (name) | ^ --- execute_cmd.o --- execute_cmd.c:2575:21: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2575 | add_unwind_protect (close, prev); | ^ execute_cmd.c:2577:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | add_unwind_protect (close, dummyfd); | ^ execute_cmd.c:2580:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | add_unwind_protect (restore_signal_mask, &oset); | ^ execute_cmd.c:2624:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- jobs.o --- jobs.c:2899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2899 | wait_for (pid, flags) | ^ jobs.c:3219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3219 | wait_for_job (job, flags, ps) | ^ jobs.c:3273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3273 | wait_for_any_job (flags, ps) | ^ jobs.c:3381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3381 | most_recent_job_in_state (job, state) | ^ jobs.c:3407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3407 | job_last_stopped (job) | ^ --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE eaccess.c eaccess.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | path_is_devfd (path) | ^ eaccess.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | sh_stat (path, finfo) | ^ --- bashline.o --- bashline.c:3100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3100 | filename_completion_ignore (names) | ^ bashline.c:3120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3120 | test_for_directory (name) | ^ bashline.c:3134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | test_for_canon_directory (name) | ^ bashline.c:3150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | bash_ignore_filenames (names) | ^ bashline.c:3158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- 2624 | add_unwind_protect (restore_stdin, lstdin); | ^ execute_cmd.c:2628:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2628 | add_unwind_protect (lastpipe_cleanup, old_frozen); | ^ execute_cmd.c:2637:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2637 | add_unwind_protect (close, prev); | ^ execute_cmd.c:2692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | execute_connection (command, asynchronous, pipe_in, pipe_out, fds_to_close) | ^ --- jobs.o --- jobs.c:3416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3416 | job_last_running (job) | ^ jobs.c:3425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3425 | set_current_job (job) | ^ jobs.c:3520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3520 | set_job_running (job) | ^ jobs.c:3545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3545 | start_job (job, foreground) | ^ jobs.c:3670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3670 | kill_pid (pid, sig, group) | ^ --- ./lib/sh/libsh.a --- eaccess.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | sh_stataccess (path, mode) | ^ eaccess.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | sh_euidaccess (path, mode) | ^ eaccess.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | sh_eaccess (path, mode) | ^ 5 warnings generated. --- pathphys.o --- --- bashline.o --- 3158 | bash_progcomp_ignore_filenames (names) | ^ bashline.c:3166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3166 | return_zero (name) | ^ bashline.c:3173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3173 | bash_ignore_everything (names) | ^ bashline.c:3184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3184 | restore_tilde (val, directory_part) | ^ bashline.c:3241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3241 | maybe_restore_tilde (val, directory_part) | ^ --- execute_cmd.o --- execute_cmd.c:2872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2872 | execute_for_command (for_command) | ^ execute_cmd.c:2901:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | add_unwind_protect (dispose_words, releaser); | ^ execute_cmd.c:3043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | eval_arith_for_expr (l, okp) | ^ execute_cmd.c:3102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3102 | execute_arith_for_command (arith_for_command) | ^ --- jobs.o --- jobs.c:3746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3746 | sigchld_handler (sig) | ^ jobs.c:3769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3769 | waitchld (wpid, block) | ^ jobs.c:3801:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3801 | internal_warning (_("waitchld: turning on WNOHANG to avoid indefinite block")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ jobs.c:3801:22: note: treat the string as an argument to avoid this 3801 | internal_warning (_("waitchld: turning on WNOHANG to avoid indefinite block")); --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE pathphys.c pathphys.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | _path_readlink (path, buf, bufsiz) | ^ pathphys.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | sh_physpath (path, flags) | ^ --- bashline.o --- bashline.c:3258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3258 | bash_directory_expansion (dirname) | ^ bashline.c:3288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3288 | bash_filename_rewrite_hook (fname, fnlen) | ^ bashline.c:3337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3337 | restore_directory_hook (hookf) | ^ bashline.c:3349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3349 | directory_exists (dirname, should_dequote) | ^ --- execute_cmd.o --- execute_cmd.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | displen (s) | ^ execute_cmd.c:3230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3230 | print_index_and_element (len, ind, list) | ^ execute_cmd.c:3248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3248 | indent (from, to) | ^ execute_cmd.c:3267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3267 | print_select_list (list, list_len, max_elem_len, indices_len) | ^ --- jobs.o --- | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:3985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3985 | set_job_status_and_cleanup (job) | ^ jobs.c:4160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4160 | setjstatus (j) | ^ jobs.c:4190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4190 | run_sigchld_trap (nchild) | ^ jobs.c:4215:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- pathphys.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | sh_realpath (pathname, resolved) | ^ 3 warnings generated. --- pathcanon.o --- pathcanon.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | _path_isdir (path) | ^ pathcanon.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | sh_canonpath (path, flags) | ^ pathcanon.c:117:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 117 | if (rooted = ROOTEDPATH(path)) | ~~~~~~~^~~~~~~~~~~~~~~~~~ pathcanon.c:117:14: note: place parentheses around the assignment to silence this warning 117 | if (rooted = ROOTEDPATH(path)) --- bashline.o --- bashline.c:3375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3375 | bash_filename_stat_hook (dirname) | ^ bashline.c:3385:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3385 | if (t = mbschr (local_dirname, '$')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bashline.c:3385:9: note: place parentheses around the assignment to silence this warning 3385 | if (t = mbschr (local_dirname, '$')) | ^ | ( ) bashline.c:3385:9: note: use '==' to turn this assignment into an equality comparison 3385 | if (t = mbschr (local_dirname, '$')) | ^ | == bashline.c:3387:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3387 | else if (t = mbschr (local_dirname, '`')) /* XXX */ --- execute_cmd.o --- execute_cmd.c:3320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3320 | select_query (list, list_len, prompt, print_menu) | ^ execute_cmd.c:3393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3393 | execute_select_command (select_command) | ^ execute_cmd.c:3439:26: warning: passing arguments to 'list_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3439 | list_len = list_length (list); | ^ execute_cmd.c:3449:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3449 | add_unwind_protect (dispose_words, releaser); | ^ --- jobs.o --- 4215 | add_unwind_protect (xfree, trap_command); | ^ jobs.c:4216:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4216 | add_unwind_protect (maybe_set_sigchld_trap, trap_command); | ^ jobs.c:4329:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4329 | fprintf (stderr, _(" (core dumped)")); | ^~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ jobs.c:4329:21: note: treat the string as an argument to avoid this 4329 | fprintf (stderr, _(" (core dumped)")); | ^ | "%s", --- ./lib/sh/libsh.a --- | ^ | ( ) pathcanon.c:117:14: note: use '==' to turn this assignment into an equality comparison 117 | if (rooted = ROOTEDPATH(path)) | ^ | == 3 warnings generated. --- tmpfile.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE tmpfile.c --- stringvec.o --- --- bashline.o --- | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bashline.c:3387:14: note: place parentheses around the assignment to silence this warning 3387 | else if (t = mbschr (local_dirname, '`')) /* XXX */ | ^ | ( ) bashline.c:3387:14: note: use '==' to turn this assignment into an equality comparison 3387 | else if (t = mbschr (local_dirname, '`')) /* XXX */ | ^ | == bashline.c:3455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3455 | bash_directory_completion_hook (dirname) | ^ bashline.c:3643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3643 | history_completion_generator (hint_text, state) | ^ --- execute_cmd.o --- execute_cmd.c:3535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3535 | execute_case_command (case_command) | ^ execute_cmd.c:3594:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3594 | add_unwind_protect (xfree, word); | ^ execute_cmd.c:3666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | execute_while_command (while_command) | ^ execute_cmd.c:3674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3674 | execute_until_command (while_command) | ^ --- jobs.o --- ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:4375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4375 | initialize_job_control (force) | ^ jobs.c:4386:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4386 | sys_error (_("initialize_job_control: getpgrp failed")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ jobs.c:4386:18: note: treat the string as an argument to avoid this 4386 | sys_error (_("initialize_job_control: getpgrp failed")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE stringvec.c --- strtrans.o --- --- bashline.o --- bashline.c:3672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3672 | dynamic_complete_history (count, key) | ^ bashline.c:3702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3702 | bash_dabbrev_expand (count, key) | ^ bashline.c:3742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3742 | bash_complete_username (ignore, ignore2) | ^ bashline.c:3749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3749 | bash_possible_username_completions (ignore, ignore2) | ^ --- execute_cmd.o --- execute_cmd.c:3686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3686 | execute_while_or_until (while_command, type) | ^ execute_cmd.c:3753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3753 | execute_if_command (if_command) | ^ execute_cmd.c:3785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3785 | execute_arith_command (arith_command) | ^ execute_cmd.c:3874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3874 | execute_cond_node (cond) | ^ --- jobs.o --- | ^ jobs.c:4442:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4442 | sys_error (_("initialize_job_control: no job control in background")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ jobs.c:4442:16: note: treat the string as an argument to avoid this 4442 | sys_error (_("initialize_job_control: no job control in background")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:4458:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE strtrans.c --- stringlist.o --- --- bashline.o --- bashline.c:3756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3756 | bash_complete_username_internal (what_to_do) | ^ bashline.c:3763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3763 | bash_complete_filename (ignore, ignore2) | ^ bashline.c:3770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3770 | bash_possible_filename_completions (ignore, ignore2) | ^ bashline.c:3777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3777 | bash_complete_filename_internal (what_to_do) | ^ --- execute_cmd.o --- execute_cmd.c:4023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4023 | execute_cond_command (cond_command) | ^ execute_cmd.c:4074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4074 | bind_lastarg (arg) | ^ execute_cmd.c:4090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4090 | execute_null_command (redirects, pipe_in, pipe_out, async) | ^ execute_cmd.c:4169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4169 | fix_assignment_words (words) | ^ --- jobs.o --- 4458 | sys_error (_("initialize_job_control: line discipline")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ jobs.c:4458:15: note: treat the string as an argument to avoid this 4458 | sys_error (_("initialize_job_control: line discipline")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:4468:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4468 | sys_error (_("initialize_job_control: setpgid")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) --- ./lib/sh/libsh.a --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE stringlist.c stringlist.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | strlist_create (n) | ^ stringlist.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | strlist_resize (sl, n) | ^ --- uconvert.o --- --- stringvec.o --- --- bashline.o --- bashline.c:3812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | bash_complete_hostname (ignore, ignore2) | ^ bashline.c:3819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3819 | bash_possible_hostname_completions (ignore, ignore2) | ^ bashline.c:3826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3826 | bash_complete_variable (ignore, ignore2) | ^ bashline.c:3833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3833 | bash_possible_variable_completions (ignore, ignore2) | ^ --- execute_cmd.o --- execute_cmd.c:4256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4256 | fix_arrayref_words (words) | ^ execute_cmd.c:4306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4306 | check_command_builtin (words, typep) | ^ execute_cmd.c:4342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4342 | is_dirname (pathname) | ^ execute_cmd.c:4358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4358 | execute_simple_command (simple_command, pipe_in, pipe_out, async, fds_to_close) | ^ --- jobs.o --- | ^~~~~~~~~~~~~~ jobs.c:4468:19: note: treat the string as an argument to avoid this 4468 | sys_error (_("initialize_job_control: setpgid")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:4503:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4503 | internal_error (_("no job control in this shell")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ jobs.c:4503:18: note: treat the string as an argument to avoid this 4503 | internal_error (_("no job control in this shell")); | ^ | "%s", --- ./lib/sh/libsh.a --- stringvec.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | strvec_create (n) | ^ stringvec.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | strvec_mcreate (n) | ^ stringvec.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | strvec_resize (array, nsize) | ^ stringvec.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | strvec_mresize (array, nsize) | ^ stringvec.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | strvec_len (array) | ^ --- bashline.o --- bashline.c:3840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3840 | bash_complete_command (ignore, ignore2) | ^ bashline.c:3847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3847 | bash_possible_command_completions (ignore, ignore2) | ^ bashline.c:3854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3854 | bash_complete_hostname_internal (what_to_do) | ^ bashline.c:3861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | bash_complete_variable_internal (what_to_do) | ^ --- execute_cmd.o --- execute_cmd.c:4628:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4628 | add_unwind_protect (dispose_words, words); | ^ execute_cmd.c:4835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4835 | builtin_status (result) | ^ execute_cmd.c:4860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4860 | execute_builtin (builtin, words, flags, subshell) | ^ execute_cmd.c:4889:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4889 | add_unwind_protect (xfree, error_trap); | ^ --- jobs.o --- ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ jobs.c:4539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4539 | set_new_line_discipline (tty) | ^ jobs.c:4616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4616 | sigcont_sighandler (sig) | ^ jobs.c:4628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4628 | sigstop_sighandler (sig) | ^ jobs.c:4646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4646 | give_terminal_to (pgrp, force) | ^ --- ./lib/sh/libsh.a --- --- strtrans.o --- strtrans.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ansicstr (string, len, flags, sawc, rlen) | ^ strtrans.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | ansic_quote (str, flags, rlen) | ^ strtrans.c:253:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 253 | for (s = str; c = *s; s++) | ~~^~~~ strtrans.c:253:19: note: place parentheses around the assignment to silence this warning 253 | for (s = str; c = *s; s++) | ^ | ( ) strtrans.c:253:19: note: use '==' to turn this assignment into an equality comparison 253 | for (s = str; c = *s; s++) | ^ | == --- stringlist.o --- --- bashline.o --- bashline.c:3868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3868 | bash_complete_command_internal (what_to_do) | ^ bashline.c:3875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3875 | completion_glob_pattern (string) | ^ bashline.c:3885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3885 | glob_complete_word (text, state) | ^ bashline.c:3931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3931 | bash_glob_completion_internal (what_to_do) | ^ --- execute_cmd.o --- execute_cmd.c:4890:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4890 | add_unwind_protect (set_error_trap, error_trap); | ^ execute_cmd.c:4930:25: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4930 | add_unwind_protect (pop_scope, should_keep ? "1" : 0); | ^ execute_cmd.c:4969:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4969 | add_unwind_protect (merge_temporary_env, (char *)NULL); | ^ --- jobs.o --- jobs.c:4688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4688 | maybe_give_terminal_to (opgrp, npgrp, flags) | ^ jobs.c:4717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4717 | delete_all_jobs (running_only) | ^ jobs.c:4763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4763 | nohup_all_jobs (running_only) | ^ jobs.c:4832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4832 | mark_dead_jobs_as_notified (force) | ^ jobs.c:4954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- stringlist.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | strlist_flush (sl) | ^ stringlist.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | strlist_dispose (sl) | ^ stringlist.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | strlist_remove (sl, s) | ^ stringlist.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | strlist_copy (sl) | ^ stringlist.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | strlist_merge (m1, m2) | ^ --- bashline.o --- bashline.c:3940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3940 | bash_glob_quote_filename (s, rtype, qcp) | ^ bashline.c:3952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3952 | bash_glob_complete_word (count, key) | ^ bashline.c:3970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3970 | bash_glob_expand_word (count, key) | ^ bashline.c:3977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3977 | bash_glob_list_expansions (count, key) | ^ --- execute_cmd.o --- execute_cmd.c:5000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5000 | maybe_restore_getopt_state (gs) | ^ execute_cmd.c:5015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5015 | restore_funcarray_state (fa) | ^ execute_cmd.c:5033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5033 | execute_function (var, words, flags, fds_to_close, async, subshell) | ^ execute_cmd.c:5093:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5093 | add_unwind_protect (maybe_restore_getopt_state, gs); | ^ --- jobs.o --- 4954 | set_jobs_list_frozen (s) | ^ jobs.c:4963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4963 | set_job_control (arg) | ^ jobs.c:5043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5043 | set_maxchild (nchild) | ^ --- ./lib/sh/libsh.a --- --- uconvert.o --- cc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHAVE_CONFIG_H -DSHELL -DHEREDOC_PIPESIZE=4096 -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE uconvert.c --- stringvec.o --- stringvec.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | strvec_flush (array) | ^ stringvec.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | strvec_dispose (array) | ^ --- bashline.o --- bashline.c:3984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3984 | bash_specific_completion (what_to_do, generator) | ^ bashline.c:4017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4017 | bash_vi_complete (count, key) | ^ bashline.c:4073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4073 | bash_dequote_filename (text, quote_char) | ^ bashline.c:4122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | quote_word_break_chars (text) | ^ --- execute_cmd.o --- execute_cmd.c:5094:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5094 | add_unwind_protect (pop_context, (char *)NULL); | ^ execute_cmd.c:5100:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5100 | add_unwind_protect (dispose_command, (char *)tc); | ^ execute_cmd.c:5129:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5129 | add_unwind_protect (xfree, debug_trap); | ^ --- ./lib/sh/libsh.a --- stringvec.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | strvec_remove (array, name) | ^ stringvec.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | strvec_search (array, name) | ^ stringvec.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | strvec_copy (array) | ^ --- strtrans.o --- strtrans.c:337:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 337 | for (wcs = wcstr; wcc = *wcs; wcs++) | ~~~~^~~~~~ strtrans.c:337:25: note: place parentheses around the assignment to silence this warning 337 | for (wcs = wcstr; wcc = *wcs; wcs++) | ^ --- bashline.o --- bashline.c:4163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4163 | bash_check_expchar (dirname, need_closer, nextp, closerp) | ^ bashline.c:4172:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4172 | if (t = mbschr (dirname, '$')) | ~~^~~~~~~~~~~~~~~~~~~~~~~ bashline.c:4172:9: note: place parentheses around the assignment to silence this warning 4172 | if (t = mbschr (dirname, '$')) | ^ | ( ) bashline.c:4172:9: note: use '==' to turn this assignment into an equality comparison 4172 | if (t = mbschr (dirname, '$')) | ^ | == bashline.c:4222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- execute_cmd.c:5130:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5130 | add_unwind_protect (maybe_set_debug_trap, debug_trap); | ^ execute_cmd.c:5141:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5141 | add_unwind_protect (xfree, error_trap); | ^ execute_cmd.c:5142:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5142 | add_unwind_protect (maybe_set_error_trap, error_trap); | ^ --- ./lib/sh/libsh.a --- | ( ) strtrans.c:337:25: note: use '==' to turn this assignment into an equality comparison 337 | for (wcs = wcstr; wcc = *wcs; wcs++) | ^ | == strtrans.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | ansic_wshouldquote (string) | ^ strtrans.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | ansic_shouldquote (string) --- stringlist.o --- stringlist.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | strlist_append (m1, m2) | ^ --- bashline.o --- 4222 | set_filename_quote_chars (expchar, nextch, closer) | ^ bashline.c:4231:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4231 | for (i = j = 0; c = default_filename_quote_characters[i]; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bashline.c:4231:25: note: place parentheses around the assignment to silence this warning 4231 | for (i = j = 0; c = default_filename_quote_characters[i]; i++) | ^ | ( ) bashline.c:4231:25: note: use '==' to turn this assignment into an equality comparison 4231 | for (i = j = 0; c = default_filename_quote_characters[i]; i++) | ^ | == --- execute_cmd.o --- execute_cmd.c:5154:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5154 | add_unwind_protect (xfree, return_trap); | ^ execute_cmd.c:5155:23: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5155 | add_unwind_protect (maybe_set_return_trap, return_trap); | ^ execute_cmd.c:5183:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5183 | add_unwind_protect (restore_funcarray_state, fa); | ^ --- ./lib/sh/libsh.a --- stringlist.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | strlist_prefix_suffix (sl, prefix, suffix) | ^ stringlist.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | strlist_print (sl, prefix) | ^ stringlist.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | strlist_walk (sl, func) | ^ stringlist.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- stringvec.o --- stringvec.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | strvec_posixcmp (s1, s2) --- bashline.o --- bashline.c:4247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4247 | set_filename_bstab (string) | ^ bashline.c:4264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4264 | bash_quote_filename (s, rtype, qcp) | ^ bashline.c:4386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4386 | putx(c) | ^ bashline.c:4397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4397 | readline_get_char_offset (ind) | ^ bashline.c:4416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- execute_cmd.c:5201:21: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5201 | add_unwind_protect (pop_args, 0); | ^ execute_cmd.c:5293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5293 | execute_shell_function (var, words) | ^ execute_cmd.c:5302:22: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5302 | add_unwind_protect (dispose_fd_bitmap, (char *)bitmap); | ^ execute_cmd.c:5319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5319 | execute_subshell_builtin_or_function (words, redirects, builtin, var, --- ./lib/sh/libsh.a --- | ^ stringvec.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | strvec_strcmp (s1, s2) | ^ stringvec.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | strvec_sort (array, posix) | ^ stringvec.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | strvec_from_word_list (list, alloc, starting_index, ip) | ^ --- strtrans.o --- | ^ strtrans.c:360:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 360 | for (s = string; c = *s; s++) | ~~^~~~ strtrans.c:360:22: note: place parentheses around the assignment to silence this warning 360 | for (s = string; c = *s; s++) --- bashline.o --- 4416 | readline_set_char_offset (ind, varp) | ^ bashline.c:4439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4439 | bash_execute_unix_command (count, key) | ^ bashline.c:4480:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4480 | internal_error (_("bash_execute_unix_command: cannot find keymap for command")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ bashline.c:4480:23: note: treat the string as an argument to avoid this 4480 | internal_error (_("bash_execute_unix_command: cannot find keymap for command")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' --- execute_cmd.o --- | ^ execute_cmd.c:5431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5431 | execute_builtin_or_function (words, builtin, var, redirects, | ^ execute_cmd.c:5454:24: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5454 | add_unwind_protect (xfree, ofifo_list); | ^ execute_cmd.c:5482:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5482 | add_unwind_protect (cleanup_redirects, (char *)saved_undo_list); | ^ execute_cmd.c:5589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ./lib/sh/libsh.a --- | ^ | ( ) strtrans.c:360:22: note: use '==' to turn this assignment into an equality comparison 360 | for (s = string; c = *s; s++) | ^ | == strtrans.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | ansiexpand (string, start, end, lenp) | ^ --- stringlist.o --- 253 | strlist_sort (sl) | ^ stringlist.c:275:22: warning: passing arguments to 'list_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | slen = list_length (list); | ^ stringlist.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | strlist_from_word_list (list, alloc, starting_index, ip) | ^ --- bashline.o --- 36 | #define _(msgid) gettext(msgid) | ^ bashline.c:4603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4603 | get_cmd_xmap_from_keymap (kmap) | ^ bashline.c:4626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4626 | isolate_sequence (string, ind, need_dquote, startp) | ^ bashline.c:4649:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4649 | for (passc = 0; c = string[i]; i++) | ~~^~~~~~~~~~~ bashline.c:4649:21: note: place parentheses around the assignment to silence this warning 4649 | for (passc = 0; c = string[i]; i++) | ^ | ( ) --- execute_cmd.o --- 5589 | execute_disk_command (words, redirects, command_line, pipe_in, pipe_out, | ^ execute_cmd.c:5790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5790 | getinterp (sample, sample_len, endp) | ^ execute_cmd.c:5951:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5951 | shell_execve (command, args, env) | ^ execute_cmd.c:6112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6112 | execute_intern_function (name, funcdef) | ^ execute_cmd.c:6178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6178 | close_pipes (in, out) | ^ --- ./lib/sh/libsh.a --- stringlist.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | strlist_to_word_list (sl, alloc, starting_index) | ^ --- stringvec.o --- stringvec.c:227:23: warning: passing arguments to 'list_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | count = list_length (list); | ^ stringvec.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | strvec_to_word_list (array, alloc, starting_index) | ^ stringvec.c:271:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | return (REVERSE_LIST (list, WORD_LIST *)); | ^ --- bashline.o --- bashline.c:4649:21: note: use '==' to turn this assignment into an equality comparison 4649 | for (passc = 0; c = string[i]; i++) | ^ | == bashline.c:4675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4675 | bind_keyseq_to_unix_command (line) | ^ bashline.c:4726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4726 | unbind_unix_command (kseq) | ^ bashline.c:4744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4744 | bash_directory_completion_matches (text) | ^ bashline.c:4773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute_cmd.o --- execute_cmd.c:6188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6188 | dup_error (oldd, newd) | ^ execute_cmd.c:6197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6197 | do_piping (pipe_in, pipe_out) | ^ --- ./lib/sh/libsh.a --- ../../general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ --- tmpfile.o --- tmpfile.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | get_tmpdir (flags) | ^ tmpfile.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | sh_mktmpname (nameroot, flags) | ^ tmpfile.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | sh_mktmpfd (nameroot, flags, namep) | ^ tmpfile.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- bashline.o --- 4773 | bash_dequote_text (text) | ^ --- ./lib/sh/libsh.a --- 248 | sh_mktmpfp (nameroot, flags, namep) | ^ tmpfile.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | sh_mktmpdir (nameroot, flags) | ^ 5 warnings generated. --- uconvert.o --- uconvert.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | uconvert(s, ip, up, ep) | ^ 1 warning generated. --- strtrans.o --- 8 warnings generated. --- stringvec.o --- 17 warnings generated. --- stringlist.o --- 15 warnings generated. --- libsh.a --- --- xmalloc.o --- rm -f xmalloc.o --- variables.o --- variables.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | initialize_shell_variables (env, privmode) | ^ variables.c:425:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 425 | if (temp_var = find_function (tname)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ variables.c:425:17: note: place parentheses around the assignment to silence this warning 425 | if (temp_var = find_function (tname)) | ^ | ( ) variables.c:425:17: note: use '==' to turn this assignment into an equality comparison 425 | if (temp_var = find_function (tname)) | ^ | == variables.c:432:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 432 | if (temp_var = bind_invalid_envvar (name, string, 0)) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.c:432:21: note: place parentheses around the assignment to silence this warning --- ./lib/sh/libsh.a --- rm -f libsh.a --- sig.o --- sig.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | initialize_signals (reinit) | ^ --- variables.o --- 432 | if (temp_var = bind_invalid_envvar (name, string, 0)) | ^ | ( ) variables.c:432:21: note: use '==' to turn this assignment into an equality comparison 432 | if (temp_var = bind_invalid_envvar (name, string, 0)) | ^ | == --- sig.o --- sig.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | jump_to_top_level (value) | ^ sig.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | termsig_sighandler (sig) | ^ sig.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | termsig_handler (sig) | ^ --- xmalloc.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c xmalloc.c --- sig.o --- sig.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | kill_shell (sig) | ^ sig.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | sigint_sighandler (sig) | ^ sig.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- variables.o --- variables.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | adjust_shell_level (change) | ^ variables.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | sh_set_lines_and_columns (lines, cols) | ^ variables.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | print_var_list (list) | ^ variables.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- make_cmd.o --- 37 warnings generated. --- variables.o --- 1084 | print_func_list (list) | ^ variables.c:1102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | print_assignment (var) | ^ variables.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | print_var_value (var, quote) | ^ variables.c:1161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | print_var_function (var) | ^ variables.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | null_assign (self, value, unused, key) | ^ variables.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | null_array_assign (self, value, ind, key) | ^ variables.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | get_self (self) | ^ variables.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | init_dynamic_array_var (name, getfunc, setfunc, attrs) | ^ variables.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | init_dynamic_assoc_var (name, getfunc, setfunc, attrs) | ^ variables.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | assign_seconds (self, value, unused, key) | ^ variables.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | get_seconds (var) | ^ variables.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | assign_random (self, value, unused, key) | ^ variables.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | get_random (var) | ^ variables.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | get_urandom (var) | ^ variables.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | assign_lineno (var, value, unused, key) | ^ variables.c:1479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | get_lineno (var) | ^ variables.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | assign_subshell (var, value, unused, key) | ^ variables.c:1504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | get_subshell (var) | ^ variables.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | get_epochseconds (var) | ^ variables.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | get_epochrealtime (var) | ^ variables.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | get_bashpid (var) | ^ variables.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | get_bash_argv0 (var) | ^ variables.c:1555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | assign_bash_argv0 (var, value, unused, key) | ^ variables.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | get_bash_command (var) | ^ --- shell.o --- 23 warnings generated. --- variables.o --- variables.c:1600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | get_histcmd (var) | ^ variables.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | get_comp_wordbreaks (var) | ^ variables.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | assign_comp_wordbreaks (self, value, unused, key) | ^ --- ./lib/sh/libsh.a --- /usr/local/bin/ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o strvis.o utf8.o random.o gettimeofday.o timers.o wcsnwidth.o mbschr.o --- variables.o --- variables.c:1650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | assign_dirstack (self, value, ind, key) --- sig.o --- 723 | sigwinch_sighandler (sig) | ^ sig.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | sigterm_sighandler (sig) | ^ --- trap.o --- trap.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | signal_name (sig) | ^ trap.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | decode_signal (string, flags) | ^ trap.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | set_trap_state (sig) | ^ trap.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | trap_handler (sig) | ^ trap.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | next_pending_trap (start) | ^ --- subst.o --- subst.c:2556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2556 | unclosed_pair (string, eindex, openstr) | ^ subst.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | split_at_delims (string, slen, delims, sentinel, flags, nwp, cwp) | ^ --- trap.o --- trap.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | maybe_set_sigchld_trap (command_string) | ^ trap.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | queue_sigchld_trap (nchild) | ^ trap.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | trap_if_untrapped (sig, command) | ^ trap.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | set_debug_trap (command) | ^ trap.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | maybe_set_debug_trap (command) | ^ trap.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | set_error_trap (command) | ^ trap.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | maybe_set_error_trap (command) | ^ trap.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | set_return_trap (command) | ^ trap.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | maybe_set_return_trap (command) | ^ trap.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | set_signal (sig, string) | ^ --- variables.o --- | ^ variables.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | get_dirstack (self) | ^ variables.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | get_groupset (self) | ^ variables.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | get_bashargcv (self) | ^ variables.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | build_hashcmd (self) | ^ variables.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | get_hashcmd (self) | ^ variables.c:1762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | assign_hashcmd (self, value, ind, key) | ^ variables.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | build_aliasvar (self) | ^ variables.c:1830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | get_aliasvar (self) --- xmalloc.o --- xmalloc.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | allocerr (func, bytes) | ^ xmalloc.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | xmalloc (bytes) | ^ xmalloc.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | xrealloc (pointer, bytes) | ^ xmalloc.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | xfree (string) | ^ 4 warnings generated. --- version.o --- cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c version.c version.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | show_shell_version (extended) | ^ 1 warning generated. --- test.o --- 11 warnings generated. --- ./lib/sh/libsh.a --- test -n "/usr/local/bin/ranlib" && /usr/local/bin/ranlib libsh.a --- trap.o --- trap.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | free_trap_command (sig) | ^ trap.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | change_signal (sig, value) | ^ trap.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | get_original_signal (sig) | ^ trap.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | set_original_signal (sig, handler) | ^ trap.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | restore_default_signal (sig) | ^ --- variables.o --- | ^ variables.c:1838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | assign_aliasvar (self, value, ind, key) | ^ variables.c:1859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | get_funcname (self) | ^ variables.c:1870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | make_funcname_visible (on_or_off) | ^ variables.c:1988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | hash_lookup (name, hashed_vars) | ^ variables.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- subst.o --- subst.c:2771:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | return (REVERSE_LIST (ret, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:2802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2802 | string_list_internal (list, sep) | ^ subst.c:2855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2855 | string_list (list) | ^ subst.c:2866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- trap.o --- trap.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | ignore_signal (sig) | ^ trap.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | run_trap_cleanup (sig) | ^ trap.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | _run_trap_internal (sig, tag) | ^ trap.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | run_interrupt_trap (will_throw) | ^ trap.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | free_trap_string (sig) | ^ --- variables.o --- 2003 | var_lookup (name, vcontext) | ^ variables.c:2012:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2012 | if (v = hash_lookup (name, vc->table)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.c:2012:11: note: place parentheses around the assignment to silence this warning 2012 | if (v = hash_lookup (name, vc->table)) | ^ | ( ) variables.c:2012:11: note: use '==' to turn this assignment into an equality comparison 2012 | if (v = hash_lookup (name, vc->table)) | ^ | == variables.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | find_variable_internal (name, flags) | ^ --- subst.o --- 2866 | ifs_firstchar (lenp) | ^ subst.c:2905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2905 | string_list_dollar_star (list, quoted, flags) | ^ subst.c:2962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2962 | string_list_dollar_at (list, quoted, flags) | ^ subst.c:3038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3038 | string_list_pos_params (pchar, list, quoted, pflags) | ^ subst.c:3130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | list_string (string, separators, quoted) | ^ --- trap.o --- trap.c:1317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | reset_signal (sig) | ^ trap.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | restore_signal (sig) | ^ trap.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | reset_or_restore_signal_handlers (reset) | ^ trap.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | reinit_trap (sig) | ^ trap.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | maybe_call_trap_handler (sig) | ^ --- variables.o --- variables.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | find_variable_nameref (v) | ^ variables.c:2117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2117 | find_variable_last_nameref (name, vflags) | ^ variables.c:2147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2147 | find_global_variable_last_nameref (name, vflags) | ^ variables.c:2173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | find_nameref_at_context (v, vc) | ^ --- subst.o --- subst.c:3267:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3267 | return (REVERSE_LIST (result, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:3283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3283 | get_word_from_string (stringp, separators, endptr) | ^ subst.c:3382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3382 | strip_trailing_ifs_whitespace (string, separators, saw_escape) | ^ --- trap.o --- trap.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | signal_is_trapped (sig) | ^ trap.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | signal_is_pending (sig) | ^ trap.c:1517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | signal_is_special (sig) | ^ trap.c:1524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | signal_is_ignored (sig) | ^ trap.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | signal_is_hard_ignored (sig) | ^ --- variables.o --- variables.c:2205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | find_variable_nameref_context (v, vc, nvcp) | ^ variables.c:2236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2236 | find_variable_last_nameref_context (v, vc, nvcp) | ^ variables.c:2260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | find_variable_nameref_for_create (name, flags) | ^ variables.c:2286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2286 | find_variable_nameref_for_assignment (name, flags) | ^ --- subst.o --- subst.c:3459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3459 | do_compound_assignment (name, value, flags) | ^ subst.c:3545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3545 | do_assignment_internal (word, expand) | ^ subst.c:3613:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3613 | if (t = mbschr (name, LBRACK)) | ~~^~~~~~~~~~~~~~~~~~~~~~~ subst.c:3613:9: note: place parentheses around the assignment to silence this warning 3613 | if (t = mbschr (name, LBRACK)) | ^ | ( ) subst.c:3613:9: note: use '==' to turn this assignment into an equality comparison 3613 | if (t = mbschr (name, LBRACK)) | ^ | == --- variables.o --- variables.c:2317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | nameref_transform_name (name, flags) | ^ variables.c:2343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- subst.o --- subst.c:3666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | do_assignment (string) | ^ subst.c:3678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3678 | do_word_assignment (word, flags) | ^ subst.c:3689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3689 | do_assignment_no_expand (string) | ^ subst.c:3720:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3720 | return (REVERSE_LIST (list, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:3725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3725 | get_dollar_var_value (ind) | ^ subst.c:3747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3747 | string_rest_of_args (dollar_star) | ^ subst.c:3765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3765 | pos_params (string, start, end, quoted, pflags) | ^ subst.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3830 | expand_string_if_necessary (string, quoted, func) | ^ subst.c:3873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3873 | expand_string_to_string_internal (string, quoted, func) | ^ subst.c:3897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3897 | expand_string_to_string (string, quoted) | ^ subst.c:3905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3905 | expand_string_unsplit_to_string (string, quoted) | ^ subst.c:3913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3913 | expand_assignment_string_to_string (string, quoted) | ^ subst.c:3925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3925 | quote_string_for_repl (string, flags) | ^ subst.c:3986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3986 | expand_string_for_patsub (string, quoted) | ^ subst.c:4019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4019 | expand_arith_string (string, quoted) | ^ subst.c:4086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4086 | remove_backslashes (string) | ^ subst.c:4117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4117 | cond_expand_word (w, special) | ^ subst.c:4175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4175 | expand_string_dollar_quote (string, flags) | ^ subst.c:4192:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4192 | while (c = string[sindex]) | ~~^~~~~~~~~~~~~~~~ subst.c:4192:12: note: place parentheses around the assignment to silence this warning 4192 | while (c = string[sindex]) | ^ | ( ) subst.c:4192:12: note: use '==' to turn this assignment into an equality comparison 4192 | while (c = string[sindex]) | ^ | == subst.c:4319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4319 | call_expand_word_internal (w, q, i, c, e) | ^ subst.c:4347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4347 | expand_string_internal (string, quoted) | ^ subst.c:4372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4372 | expand_string_unsplit (string, quoted) | ^ subst.c:4399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4399 | expand_string_assignment (string, quoted) | ^ subst.c:4445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4445 | expand_prompt_string (string, quoted, wflags) | ^ subst.c:4487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4487 | expand_string_leave_quoted (string, quoted) | ^ subst.c:4511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4511 | expand_string_for_rhs (string, quoted, op, pflags, dollar_at_p, expanded_p) | ^ subst.c:4559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4559 | expand_string_for_pat (string, quoted, dollar_at_p, expanded_p) | ^ subst.c:4587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4587 | expand_string (string, quoted) | ^ subst.c:4611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4611 | expand_word (word, quoted) | ^ subst.c:4627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4627 | expand_word_unsplit (word, quoted) | ^ subst.c:4641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4641 | expand_word_leave_quoted (word, quoted) | ^ subst.c:4682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4682 | quote_escapes_internal (string, flags) | ^ subst.c:4719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4719 | quote_escapes (string) | ^ subst.c:4726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4726 | quote_rhs (string) | ^ subst.c:4733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4733 | list_quote_escapes (list) | ^ subst.c:4760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4760 | dequote_escapes (string) | ^ subst.c:4820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4820 | make_quoted_char (c) | ^ subst.c:4844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4844 | quote_string (string) | ^ subst.c:4878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4878 | dequote_string (string) | ^ subst.c:4931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4931 | quote_list (list) | ^ subst.c:4950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4950 | dequote_word (word) | ^ subst.c:4966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4966 | dequote_list (list) | ^ subst.c:4986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4986 | remove_quoted_escapes (string) | ^ subst.c:5006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5006 | remove_quoted_ifs (string) | ^ subst.c:5039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5039 | remove_quoted_nulls (string) | ^ subst.c:5088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5088 | word_list_remove_quoted_nulls (list) | ^ subst.c:5148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5148 | remove_upattern (param, pattern, op) | ^ subst.c:5221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5221 | remove_wpattern (wparam, wstrlen, wpattern, op) | ^ subst.c:5290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5290 | remove_pattern (param, pattern, op) | ^ subst.c:5362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5362 | match_upattern (string, pat, mtype, sp, ep) | ^ subst.c:5520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5520 | match_wpattern (wstring, indices, wstrlen, wpat, mtype, sp, ep) | ^ subst.c:5665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5665 | match_pattern (string, pat, mtype, sp, ep) | ^ subst.c:5709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5709 | getpatspec (c, value) | ^ subst.c:5728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5728 | getpattern (value, quoted, expandpat) | ^ subst.c:5788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5788 | list_remove_pattern (list, pattern, patspec, itype, quoted) | ^ subst.c:5805:7: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5805 | l = REVERSE_LIST (new, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:5813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5813 | parameter_list_remove_pattern (itype, pattern, patspec, quoted) | ^ --- variables.o --- 2343 | find_variable_tempenv (name) | ^ variables.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | find_variable_notempenv (name) | ^ variables.c:2368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2368 | find_global_variable (name) | ^ variables.c:2384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2384 | find_global_variable_noref (name) | ^ variables.c:2398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2398 | find_shell_variable (name) | ^ variables.c:2415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2415 | find_variable (name) | ^ variables.c:2435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2435 | find_variable_no_invisible (name) | ^ variables.c:2454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | find_variable_for_assignment (name) | ^ variables.c:2471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2471 | find_variable_noref (name) | ^ variables.c:2487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | find_function (name) | ^ variables.c:2496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2496 | find_function_def (name) | ^ variables.c:2509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | get_variable_value (var) | ^ variables.c:2530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2530 | get_string_value (var_name) | ^ variables.c:2541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2541 | sh_get_env_value (v) | ^ variables.c:2554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | var_sametype (v1, v2) | ^ variables.c:2575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2575 | validate_inherited_value (var, type) | ^ variables.c:2591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2591 | set_if_not (name, value) | ^ variables.c:2607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | make_local_variable (name, flags) | ^ variables.c:2671:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2671 | internal_error (_("make_local_variable: no function context at current scope")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ variables.c:2671:23: note: treat the string as an argument to avoid this 2671 | internal_error (_("make_local_variable: no function context at current scope")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ variables.c:2763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2763 | new_shell_variable (name) | ^ variables.c:2790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2790 | make_new_variable (name, table) | ^ variables.c:2811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2811 | make_new_array_variable (name) | ^ variables.c:2826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2826 | make_local_array_variable (name, flags) | ^ variables.c:2867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2867 | make_new_assoc_variable (name) | ^ variables.c:2882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2882 | make_local_assoc_variable (name, flags) | ^ variables.c:2924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2924 | make_variable_value (var, value, flags) | ^ variables.c:3033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3033 | can_optimize_assignment (entry, value, aflags) | ^ variables.c:3053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3053 | optimized_assignment (entry, value, aflags) | ^ variables.c:3081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3081 | bind_variable_internal (name, value, table, hflags, aflags) | ^ variables.c:3256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3256 | bind_variable (name, value, flags) | ^ variables.c:3330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3330 | bind_global_variable (name, value, flags) | ^ variables.c:3343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3343 | bind_invalid_envvar (name, value, flags) | ^ variables.c:3359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3359 | bind_variable_value (var, value, aflags) | ^ --- subst.o --- subst.c:5831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5831 | array_remove_pattern (var, pattern, patspec, starsub, quoted) | ^ subst.c:5863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- sig.o --- 8 warnings generated. --- subst.o --- 5863 | parameter_brace_remove_pattern (varname, value, estatep, patstr, rtype, quoted, flags) | ^ subst.c:5995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5995 | copy_fifo_list (sizep) | ^ subst.c:6004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6004 | add_fifo_list (pathname) | ^ subst.c:6027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6027 | unlink_fifo (i) | ^ subst.c:6111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6111 | close_new_fifos (list, lsize) | ^ subst.c:6133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6133 | find_procsub_child (pid) | ^ subst.c:6145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6145 | set_procsub_status (ind, pid, status) | ^ subst.c:6157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6157 | reap_some_procsubs (max) | ^ subst.c:6484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6484 | process_substitute (string, open_for_read_in_child) | ^ subst.c:6766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6766 | optimize_cat_file (r, quoted, flags, flagp) | ^ subst.c:6784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6784 | read_comsub (fd, quoted, flags, rflag) | ^ subst.c:6919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6919 | command_substitute (string, quoted, flags) | ^ subst.c:7040:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 7040 | sys_error (_("cannot make child for command substitution")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ subst.c:7040:18: note: treat the string as an argument to avoid this 7040 | sys_error (_("cannot make child for command substitution")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ subst.c:7187:26: warning: passing arguments to 'add_unwind_protect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7187 | add_unwind_protect (close, dummyfd); | ^ subst.c:7230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7230 | array_length_reference (s) | ^ subst.c:7311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7311 | valid_brace_expansion_word (name, var_is_special) | ^ subst.c:7330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7330 | chk_atstar (name, quoted, pflags, quoted_dollar_atp, contains_dollar_at) | ^ subst.c:7396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7396 | parameter_brace_expand_word (name, var_is_special, quoted, pflags, estatep) | ^ subst.c:7514:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7514 | else if (var = find_variable (name)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~ subst.c:7514:16: note: place parentheses around the assignment to silence this warning 7514 | else if (var = find_variable (name)) | ^ | ( ) subst.c:7514:16: note: use '==' to turn this assignment into an equality comparison 7514 | else if (var = find_variable (name)) | ^ | == subst.c:7547:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 7547 | else if (var = find_variable_last_nameref (name, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subst.c:7547:16: note: place parentheses around the assignment to silence this warning 7547 | else if (var = find_variable_last_nameref (name, 0)) | ^ | ( ) subst.c:7547:16: note: use '==' to turn this assignment into an equality comparison 7547 | else if (var = find_variable_last_nameref (name, 0)) | ^ | == subst.c:7582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7582 | parameter_brace_find_indir (name, var_is_special, quoted, find_nameref) | ^ subst.c:7628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7628 | parameter_brace_expand_indir (name, var_is_special, quoted, pflags, quoted_dollar_atp, contains_dollar_at) | ^ subst.c:7712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7712 | parameter_brace_expand_rhs (name, value, op, quoted, pflags, qdollaratp, hasdollarat) | ^ subst.c:7942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7942 | parameter_brace_expand_error (name, value, check_null) | ^ subst.c:7972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7972 | valid_length_expression (name) | ^ --- variables.o --- variables.c:3428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- subst.o --- subst.c:7987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- variables.o --- 3428 | bind_int_variable (lhs, rhs, flags) | ^ variables.c:3494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3494 | bind_var_to_int (var, val, flags) | ^ variables.c:3508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3508 | bind_function (name, value) | ^ variables.c:3557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3557 | bind_function_def (name, value, flags) | ^ variables.c:3592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3592 | assign_in_env (word, flags) | ^ variables.c:3766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3766 | dispose_variable_value (var) | ^ variables.c:3784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3784 | dispose_variable (var) | ^ variables.c:3806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | unbind_variable (name) | ^ variables.c:3821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3821 | unbind_nameref (name) | ^ variables.c:3834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3834 | unbind_variable_noref (name) | ^ variables.c:3846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3846 | unbind_global_variable (name) | ^ variables.c:3862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3862 | unbind_global_variable_noref (name) | ^ variables.c:3874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3874 | check_unbind_variable (name) | ^ variables.c:3895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3895 | unbind_func (name) | ^ variables.c:3926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3926 | unbind_function_def (name) | ^ variables.c:3949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3949 | delete_var (name, vc) | ^ variables.c:3958:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3958 | if (elt = hash_remove (name, v->table, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.c:3958:13: note: place parentheses around the assignment to silence this warning 3958 | if (elt = hash_remove (name, v->table, 0)) | ^ | ( ) variables.c:3958:13: note: use '==' to turn this assignment into an equality comparison 3958 | if (elt = hash_remove (name, v->table, 0)) | ^ | == variables.c:3977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3977 | makunbound (name, vc) | ^ variables.c:3987:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 3987 | if (elt = hash_remove (name, v->table, 0)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.c:3987:13: note: place parentheses around the assignment to silence this warning 3987 | if (elt = hash_remove (name, v->table, 0)) | ^ | ( ) variables.c:3987:13: note: use '==' to turn this assignment into an equality comparison 3987 | if (elt = hash_remove (name, v->table, 0)) | ^ | == variables.c:4073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4073 | free_variable_hash_data (data) | ^ variables.c:4084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4084 | delete_all_variables (hashed_vars) | ^ variables.c:4111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4111 | set_var_read_only (name) | ^ variables.c:4166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4166 | vlist_alloc (nentries) | ^ variables.c:4181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4181 | vlist_realloc (vlist, n) | ^ variables.c:4196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4196 | vlist_add (vlist, var, flags) | ^ variables.c:4220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4220 | map_over (function, vc) | ^ variables.c:4246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4246 | map_over_funcs (function) | ^ variables.c:4271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4271 | flatten (var_hash_table, func, vlist, flags) | ^ variables.c:4299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4299 | sort_variables (array) | ^ variables.c:4306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4306 | qsort_var_comp (var1, var2) | ^ --- pcomplete.o --- 48 warnings generated. --- subst.o --- 7987 | parameter_brace_expand_length (name) | ^ subst.c:8092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8092 | skiparith (substr, delim) | ^ subst.c:8113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8113 | verify_substring_values (v, value, substr, vtype, e1p, e2p) | ^ subst.c:8250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8250 | get_var_and_type (varname, value, estatep, quoted, flags, varp, valp) | ^ --- trap.o --- trap.c:1538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | set_signal_hard_ignored (sig) | ^ trap.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | set_signal_ignored (sig) | ^ trap.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | signal_in_progress (sig) | ^ --- subst.o --- subst.c:8367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8367 | string_var_assignment (v, s) | ^ subst.c:8392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8392 | array_var_assignment (v, itype, quoted, atype) | ^ subst.c:8439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8439 | pos_params_assignment (list, itype, quoted) | ^ subst.c:8456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8456 | string_transform (xc, v, s) | ^ subst.c:8512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- variables.o --- variables.c:4320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4320 | vapply (func) | ^ variables.c:4334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4334 | fapply (func) | ^ variables.c:4360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4360 | visible_var (var) | ^ variables.c:4381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4381 | visible_and_exported (var) | ^ variables.c:4391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4391 | export_environment_candidate (var) | ^ --- subst.o --- 8512 | list_transform (xc, v, list, itype, quoted) | ^ subst.c:8530:7: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8530 | l = REVERSE_LIST (new, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:8545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8545 | parameter_list_transform (xc, itype, quoted) | ^ subst.c:8566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8566 | array_transform (xc, var, starsub, quoted) | ^ --- variables.o --- variables.c:4400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4400 | local_and_exported (var) | ^ variables.c:4419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4419 | variable_in_context (var) | ^ variables.c:4426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4426 | visible_variable_in_context (var) | ^ variables.c:4433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4433 | all_local_variables (visible_only) | ^ variables.c:4447:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] --- subst.o --- subst.c:8629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8629 | valid_parameter_transform (xform) | ^ subst.c:8655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8655 | parameter_brace_transform (varname, value, estatep, xform, rtype, quoted, pflags, flags) | ^ subst.c:8758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8758 | mb_substring (string, s, e) | ^ subst.c:8788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8788 | parameter_brace_substring (varname, value, estatep, substr, quoted, pflags, flags) | ^ --- variables.o --- 4447 | internal_error (_("all_local_variables: no function context at current scope")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ variables.c:4447:23: note: treat the string as an argument to avoid this 4447 | internal_error (_("all_local_variables: no function context at current scope")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ variables.c:4470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4470 | visible_array_vars (var) | ^ --- subst.o --- subst.c:8894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8894 | shouldexp_replacement (s) | ^ subst.c:8903:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 8903 | while (c = s[sindex]) | ~~^~~~~~~~~~~ subst.c:8903:12: note: place parentheses around the assignment to silence this warning 8903 | while (c = s[sindex]) | ^ | ( ) subst.c:8903:12: note: use '==' to turn this assignment into an equality comparison 8903 | while (c = s[sindex]) | ^ | == subst.c:8927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8927 | pat_subst (string, pat, rep, mflags) | ^ --- variables.o --- variables.c:4484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4484 | all_variables_matching_prefix (prefix) | ^ variables.c:4517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4517 | bind_tempenv_variable (name, value) | ^ variables.c:4538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4538 | find_tempenv_variable (name) | ^ variables.c:4552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4552 | push_posix_temp_var (data) | ^ variables.c:4607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- subst.o --- subst.c:9067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9067 | pos_params_pat_subst (string, pat, rep, mflags) | ^ subst.c:9109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9109 | parameter_brace_patsub (varname, value, estatep, patsub, quoted, pflags, flags) | ^ subst.c:9312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9312 | pos_params_modcase (string, pat, modop, mflags) | ^ subst.c:9355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9355 | parameter_brace_casemod (varname, value, estatep, modspec, patspec, quoted, pflags, flags) | ^ --- variables.o --- 4607 | push_temp_var (data) | ^ variables.c:4654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4654 | propagate_temp_var (data) | ^ variables.c:4678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4678 | dispose_temporary_env (pushf) | ^ variables.c:4754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4754 | mk_env_string (name, value, attributes) | ^ variables.c:4887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4887 | make_env_array_from_var_list (vars) | ^ variables.c:4896:35: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- subst.o --- subst.c:9487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9487 | chk_arithsub (s, len) | ^ subst.c:9539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9539 | parameter_brace_expand (string, indexp, quoted, pflags, quoted_dollar_atp, contains_dollar_at) | ^ subst.c:9628:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9628 | if (c = string[sindex]) | ~~^~~~~~~~~~~~~~~~ subst.c:9628:9: note: place parentheses around the assignment to silence this warning 9628 | if (c = string[sindex]) | ^ | ( ) subst.c:9628:9: note: use '==' to turn this assignment into an equality comparison 9628 | if (c = string[sindex]) | ^ | == --- variables.o --- 4896 | for (i = 0, list_index = 0; var = vars[i]; i++) | ~~~~^~~~~~~~~ variables.c:4896:35: note: place parentheses around the assignment to silence this warning 4896 | for (i = 0, list_index = 0; var = vars[i]; i++) | ^ | ( ) variables.c:4896:35: note: use '==' to turn this assignment into an equality comparison 4896 | for (i = 0, list_index = 0; var = vars[i]; i++) | ^ | == variables.c:4959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4959 | make_var_export_array (vcxt) | ^ variables.c:5013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- subst.o --- subst.c:9638:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9638 | if (c = string[sindex]) | ~~^~~~~~~~~~~~~~~~ subst.c:9638:13: note: place parentheses around the assignment to silence this warning 9638 | if (c = string[sindex]) | ^ | ( ) subst.c:9638:13: note: use '==' to turn this assignment into an equality comparison 9638 | if (c = string[sindex]) | ^ | == subst.c:10227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10227 | param_expand (string, sindex, quoted, expanded_something, | ^ subst.c:10790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10790 | expand_subscript_string (string, quoted) | ^ --- variables.o --- 5013 | add_or_supercede_exported_var (assign, do_alloc) | ^ variables.c:5045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5045 | add_temp_array_to_env (temp_array, do_alloc, do_supercede) | ^ variables.c:5093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5093 | chkexport (name) | ^ variables.c:5189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5189 | update_export_env_inplace (env_prefix, preflen, value) | ^ variables.c:5205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5205 | put_command_name_into_env (command_name) | ^ --- subst.o --- subst.c:10836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10836 | expand_array_subscript (string, sindex, quoted, flags) | ^ subst.c:10932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10932 | expand_word_internal (word, quoted, isexp, contains_dollar_at, expanded_something) | ^ --- variables.o --- variables.c:5221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5221 | new_var_context (name, flags) | ^ variables.c:5241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5241 | dispose_var_context (vc) | ^ variables.c:5257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5257 | set_context (var) | ^ variables.c:5267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5267 | push_var_context (name, flags, tempvars) | ^ variables.c:5314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5314 | push_posix_tempvar_internal (var, isbltin) | ^ variables.c:5387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5387 | push_func_var (data) | ^ variables.c:5397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5397 | push_builtin_var (data) | ^ variables.c:5416:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 5416 | internal_error (_("pop_var_context: head of shell_variables not a function context")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ variables.c:5416:23: note: treat the string as an argument to avoid this 5416 | internal_error (_("pop_var_context: head of shell_variables not a function context")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ variables.c:5420:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5420 | if (ret = vcxt->down) | ~~~~^~~~~~~~~~~~ variables.c:5420:11: note: place parentheses around the assignment to silence this warning 5420 | if (ret = vcxt->down) | ^ | ( ) variables.c:5420:11: note: use '==' to turn this assignment into an equality comparison 5420 | if (ret = vcxt->down) | ^ | == variables.c:5429:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 5429 | internal_error (_("pop_var_context: no global_variables context")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ variables.c:5429:21: note: treat the string as an argument to avoid this 5429 | internal_error (_("pop_var_context: no global_variables context")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ variables.c:5433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5433 | delete_local_contexts (vcxt) | ^ variables.c:5448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5448 | delete_all_contexts (vcxt) | ^ variables.c:5473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5473 | push_scope (flags, tmpvars) | ^ variables.c:5481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5481 | push_exported_var (data) | ^ variables.c:5516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5516 | pop_scope (is_special) | ^ variables.c:5525:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 5525 | internal_error (_("pop_scope: head of shell_variables not a temporary environment scope")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ variables.c:5525:23: note: treat the string as an argument to avoid this 5525 | internal_error (_("pop_scope: head of shell_variables not a temporary environment scope")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ variables.c:5586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5586 | restore_dollar_vars (args) | ^ variables.c:5608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5608 | free_saved_dollar_vars (args) | ^ variables.c:5630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5630 | push_context (name, is_subshell, tempvars) | ^ variables.c:5737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5737 | push_args (list) | ^ variables.c:5892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5892 | sv_compare (sv1, sv2) | ^ variables.c:5903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5903 | find_special_var (name) | ^ variables.c:5926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5926 | stupidly_hack_special_variables (name) | ^ variables.c:5957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5957 | sv_ifs (name) | ^ variables.c:5968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5968 | sv_path (name) | ^ variables.c:5979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5979 | sv_mail (name) | ^ variables.c:5996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5996 | sv_funcnest (name) | ^ variables.c:6013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6013 | sv_execignore (name) | ^ variables.c:6021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6021 | sv_globignore (name) | ^ variables.c:6030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6030 | sv_comp_wordbreaks (name) | ^ variables.c:6044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6044 | sv_terminal (name) | ^ variables.c:6052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6052 | sv_hostfile (name) | ^ variables.c:6117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6117 | sv_histsize (name) | ^ variables.c:6157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6157 | sv_histignore (name) | ^ variables.c:6165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6165 | sv_history_control (name) | ^ variables.c:6179:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6179 | while (val = extract_colon_unit (temp, &tptr)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ variables.c:6179:14: note: place parentheses around the assignment to silence this warning 6179 | while (val = extract_colon_unit (temp, &tptr)) | ^ | ( ) variables.c:6179:14: note: use '==' to turn this assignment into an equality comparison 6179 | while (val = extract_colon_unit (temp, &tptr)) | ^ | == variables.c:6197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6197 | sv_histchars (name) | ^ variables.c:6223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6223 | sv_histtimefmt (name) | ^ variables.c:6228:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6228 | if (v = find_variable (name)) | ~~^~~~~~~~~~~~~~~~~~~~~~ variables.c:6228:9: note: place parentheses around the assignment to silence this warning 6228 | if (v = find_variable (name)) | ^ | ( ) variables.c:6228:9: note: use '==' to turn this assignment into an equality comparison 6228 | if (v = find_variable (name)) | ^ | == variables.c:6239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6239 | sv_tz (name) | ^ variables.c:6262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6262 | sv_ignoreeof (name) | ^ variables.c:6279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6279 | sv_optind (name) | ^ variables.c:6307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6307 | sv_opterr (name) | ^ variables.c:6317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6317 | sv_strict_posix (name) | ^ variables.c:6333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6333 | sv_locale (name) | ^ variables.c:6353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6353 | set_pipestatus_array (ps, nproc) | ^ variables.c:6459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6459 | restore_pipestatus_array (a) | ^ variables.c:6478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6478 | set_pipestatus_from_exit (s) | ^ variables.c:6490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6490 | sv_xtracefd (name) | ^ variables.c:6527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6527 | sv_shcompat (name) | ^ variables.c:6580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6580 | sv_childmax (name) | ^ --- subst.o --- subst.c:11892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11892 | string_quote_removal (string, quoted) | ^ subst.c:11908:31: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 11908 | for (dquote = sindex = 0; c = string[sindex];) | ~~^~~~~~~~~~~~~~~~ subst.c:11908:31: note: place parentheses around the assignment to silence this warning 11908 | for (dquote = sindex = 0; c = string[sindex];) | ^ | ( ) subst.c:11908:31: note: use '==' to turn this assignment into an equality comparison 11908 | for (dquote = sindex = 0; c = string[sindex];) | ^ | == subst.c:12010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12010 | setifs (v) | ^ subst.c:12071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12071 | word_split (w, ifs_chars) | ^ subst.c:12093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12093 | word_list_split (list) | ^ subst.c:12141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12141 | exp_jump_to_top_level (v) | ^ subst.c:12169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12169 | separate_out_assignments (tlist) | ^ subst.c:12281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12281 | expand_words (list) | ^ subst.c:12290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12290 | expand_words_no_vars (list) | ^ subst.c:12297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12297 | expand_words_shellexp (list) | ^ subst.c:12304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12304 | glob_expand_word_list (tlist, eflags) | ^ subst.c:12367:47: warning: passing arguments to 'list_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12367 | output_list = (WORD_LIST *)list_append (glob_list, output_list); | ^ subst.c:12406:19: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12406 | output_list = REVERSE_LIST (output_list, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:12413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12413 | brace_expand_word_list (tlist, eflags) | ^ subst.c:12452:33: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 12452 | for (eindex = 0; temp_string = expansions[eindex]; eindex++) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ subst.c:12452:33: note: place parentheses around the assignment to silence this warning 12452 | for (eindex = 0; temp_string = expansions[eindex]; eindex++) | ^ | ( ) subst.c:12452:33: note: use '==' to turn this assignment into an equality comparison 12452 | for (eindex = 0; temp_string = expansions[eindex]; eindex++) | ^ | == subst.c:12481:19: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12481 | output_list = REVERSE_LIST (output_list, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:12493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12493 | make_internal_declare (word, option, cmd) | ^ subst.c:12538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12538 | expand_oneword (value, flags) | ^ subst.c:12593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12593 | expand_compound_assignment_word (tlist, flags) | ^ subst.c:12653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12653 | expand_declaration_argument (tlist, wcmd) | ^ subst.c:12791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12791 | shell_expand_word_list (tlist, eflags) | ^ subst.c:12857:18: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12857 | expanded = REVERSE_LIST (temp_list, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:12858:43: warning: passing arguments to 'list_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12858 | new_list = (WORD_LIST *)list_append (expanded, new_list); | ^ subst.c:12865:16: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12865 | new_list = REVERSE_LIST (new_list, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ subst.c:12874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12874 | do_assignment_statements (varlist, command, is_nullcmd) | ^ subst.c:12965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12965 | expand_word_list_internal (list, eflags) | ^ --- print_cmd.o --- 47 warnings generated. --- trap.o --- 38 warnings generated. --- execute_cmd.o --- 120 warnings generated. --- y.tab.o --- rm -f y.tab.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c y.tab.c --- bashline.o --- 112 warnings generated. --- jobs.o --- 89 warnings generated. --- y.tab.o --- ./parse.y:859:60: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | (yyval.command) = make_for_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./parse.y:864:60: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | (yyval.command) = make_for_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./parse.y:927:63: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | (yyval.command) = make_select_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./parse.y:932:63: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | (yyval.command) = make_select_command ((yyvsp[-8].word), REVERSE_LIST ((yyvsp[-5].word_list), WORD_LIST *), (yyvsp[-1].command), word_lineno[word_top]); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./parse.y:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | init_yy_io (get, unget, type, name, location) | ^ ./parse.y:1483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1483 | yy_ungetc (c) | ^ ./parse.y:1583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1583 | yy_readline_unget (c) | ^ ./parse.y:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | yy_string_unget (c) | ^ ./parse.y:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | with_input_from_string (string, name) | ^ ./parse.y:1722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | yy_stream_unget (c) | ^ ./parse.y:1729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1729 | with_input_from_stream (stream, name) | ^ ./parse.y:1762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | push_stream (reset_lineno) | ^ ./parse.y:1835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | stream_on_stack (type) | ^ ./parse.y:1861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1861 | restore_token_state (ts) | ^ ./parse.y:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | push_string (s, expand, ap) | ^ ./parse.y:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | clear_string_list_expander (ap) | ^ ./parse.y:2080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | read_a_line (remove_quoted_newline) | ^ ./parse.y:2171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2171 | read_secondary_line (remove_quoted_newline) | ^ ./parse.y:2327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2327 | shell_getc (remove_quoted_newline) | ^ ./parse.y:2735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2735 | shell_ungetc (c) | ^ ./parse.y:2746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2746 | shell_ungets (s) | ^ ./parse.y:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | discard_until (character) | ^ ./parse.y:2834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2834 | execute_variable_command (command, vname) | ^ ./parse.y:2856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2856 | push_token (x) | ^ ./parse.y:2932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | push_heredoc (r) | ^ ./parse.y:3045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3045 | mk_alexpansion (s) | ^ ./parse.y:3068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3068 | alias_expand_token (tokstr) | ^ ./parse.y:3190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3190 | special_case_tokens (tokstr) | ^ ./parse.y:3369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3369 | read_token (command) | ^ ./parse.y:3675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3675 | parse_matched_pair (qc, open, close, lenp, flags) | ^ ./parse.y:4083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4083 | parse_comsub (qc, open, close, lenp, flags) | ^ ./parse.y:4248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4248 | xparse_dolparen (base, string, indp, flags) | ^ ./parse.y:4386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4386 | parse_string_to_command (string, flags) | ^ ./parse.y:4457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4457 | parse_dparen (c) | ^ ./parse.y:4519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4519 | parse_arith_cmd (ep, adddq) | ^ ./parse.y:4575:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4575 | parser_error (cond_lineno, _("unexpected EOF while looking for `]]'")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:4575:32: note: treat the string as an argument to avoid this 4575 | parser_error (cond_lineno, _("unexpected EOF while looking for `]]'")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:4578:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4578 | if (etext = error_token_from_token (cond_token)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:4578:17: note: place parentheses around the assignment to silence this warning 4578 | if (etext = error_token_from_token (cond_token)) | ^ | ( ) ./parse.y:4578:17: note: use '==' to turn this assignment into an equality comparison 4578 | if (etext = error_token_from_token (cond_token)) | ^ | == ./parse.y:4584:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4584 | parser_error (cond_lineno, _("syntax error in conditional expression")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:4584:29: note: treat the string as an argument to avoid this 4584 | parser_error (cond_lineno, _("syntax error in conditional expression")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:4660:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4660 | if (etext = error_token_from_token (cond_token)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:4660:14: note: place parentheses around the assignment to silence this warning 4660 | if (etext = error_token_from_token (cond_token)) | ^ | ( ) ./parse.y:4660:14: note: use '==' to turn this assignment into an equality comparison 4660 | if (etext = error_token_from_token (cond_token)) | ^ | == ./parse.y:4666:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4666 | parser_error (lineno, _("expected `)'")); | ^~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:4666:28: note: treat the string as an argument to avoid this 4666 | parser_error (lineno, _("expected `)'")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:4692:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4692 | if (etext = error_token_from_token (tok)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:4692:14: note: place parentheses around the assignment to silence this warning 4692 | if (etext = error_token_from_token (tok)) | ^ | ( ) ./parse.y:4692:14: note: use '==' to turn this assignment into an equality comparison 4692 | if (etext = error_token_from_token (tok)) | ^ | == ./parse.y:4698:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4698 | parser_error (line_number, _("unexpected argument to conditional unary operator")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:4698:33: note: treat the string as an argument to avoid this 4698 | parser_error (line_number, _("unexpected argument to conditional unary operator")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:4743:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4743 | if (etext = error_token_from_token (tok)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:4743:14: note: place parentheses around the assignment to silence this warning 4743 | if (etext = error_token_from_token (tok)) | ^ | ( ) ./parse.y:4743:14: note: use '==' to turn this assignment into an equality comparison 4743 | if (etext = error_token_from_token (tok)) | ^ | == ./parse.y:4749:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4749 | parser_error (line_number, _("conditional binary operator expected")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:4749:33: note: treat the string as an argument to avoid this 4749 | parser_error (line_number, _("conditional binary operator expected")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:4774:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4774 | if (etext = error_token_from_token (tok)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:4774:14: note: place parentheses around the assignment to silence this warning 4774 | if (etext = error_token_from_token (tok)) | ^ | ( ) ./parse.y:4774:14: note: use '==' to turn this assignment into an equality comparison 4774 | if (etext = error_token_from_token (tok)) | ^ | == ./parse.y:4780:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4780 | parser_error (line_number, _("unexpected argument to conditional binary operator")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:4780:33: note: treat the string as an argument to avoid this 4780 | parser_error (line_number, _("unexpected argument to conditional binary operator")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:4792:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 4792 | else if (etext = error_token_from_token (tok)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:4792:22: note: place parentheses around the assignment to silence this warning 4792 | else if (etext = error_token_from_token (tok)) | ^ | ( ) ./parse.y:4792:22: note: use '==' to turn this assignment into an equality comparison 4792 | else if (etext = error_token_from_token (tok)) | ^ | == ./parse.y:4823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4823 | token_is_assignment (t, i) | ^ ./parse.y:4846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4846 | token_is_ident (t, i) | ^ ./parse.y:4862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4862 | read_token_word (character) | ^ ./parse.y:5367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5367 | reserved_word_acceptable (toksym) | ^ ./parse.y:5420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5420 | find_reserved_word (tokstr) | ^ ./parse.y:5484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5484 | history_delimiting_chars (line) | ^ ./parse.y:5577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5577 | prompt_again (force) | ^ ./parse.y:5627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5627 | set_current_prompt_level (x) | ^ ./parse.y:5646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5646 | prompt_history_number (pmt) | ^ ./parse.y:5699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5699 | decode_prompt_string (string) | ^ ./parse.y:5721:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 5721 | while (c = *string++) | ~~^~~~~~~~~~~ ./parse.y:5721:12: note: place parentheses around the assignment to silence this warning 5721 | while (c = *string++) | ^ | ( ) ./parse.y:5721:12: note: use '==' to turn this assignment into an equality comparison 5721 | while (c = *string++) | ^ | == ./parse.y:6122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6122 | yyerror (msg) | ^ ./parse.y:6132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6132 | error_token_from_token (tok) | ^ ./parse.y:6137:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6137 | if (t = find_token_in_alist (tok, word_token_alist, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:6137:9: note: place parentheses around the assignment to silence this warning 6137 | if (t = find_token_in_alist (tok, word_token_alist, 0)) | ^ | ( ) ./parse.y:6137:9: note: use '==' to turn this assignment into an equality comparison 6137 | if (t = find_token_in_alist (tok, word_token_alist, 0)) | ^ | == ./parse.y:6140:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6140 | if (t = find_token_in_alist (tok, other_token_alist, 0)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./parse.y:6140:9: note: place parentheses around the assignment to silence this warning 6140 | if (t = find_token_in_alist (tok, other_token_alist, 0)) | ^ | ( ) ./parse.y:6140:9: note: use '==' to turn this assignment into an equality comparison 6140 | if (t = find_token_in_alist (tok, other_token_alist, 0)) | ^ | == ./parse.y:6233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6233 | report_syntax_error (message) | ^ ./parse.y:6313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6313 | discard_parser_constructs (error_p) | ^ ./parse.y:6397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6397 | parse_string_to_word_list (s, flags, whom) | ^ ./parse.y:6416:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 6416 | if (ea = expanding_alias ()) | ~~~^~~~~~~~~~~~~~~~~~~~ ./parse.y:6416:10: note: place parentheses around the assignment to silence this warning 6416 | if (ea = expanding_alias ()) | ^ | ( ) ./parse.y:6416:10: note: use '==' to turn this assignment into an equality comparison 6416 | if (ea = expanding_alias ()) | ^ | == ./parse.y:6479:11: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6479 | return (REVERSE_LIST (wl, WORD_LIST *)); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./parse.y:6483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6483 | parse_compound_assignment (retlenp) | ^ ./parse.y:6524:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 6524 | parser_error (orig_line_number, _("unexpected EOF while looking for matching `)'")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ ./parse.y:6524:38: note: treat the string as an argument to avoid this 6524 | parser_error (orig_line_number, _("unexpected EOF while looking for matching `)'")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ ./parse.y:6549:12: warning: passing arguments to 'list_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6549 | rl = REVERSE_LIST (wl, WORD_LIST *); | ^ ./general.h:148:46: note: expanded from macro 'REVERSE_LIST' 148 | ((list && list->next) ? (type)list_reverse ((GENERIC_LIST *)list) \ | ^ ./parse.y:6572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6572 | save_parser_state (ps) | ^ ./parse.y:6634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6634 | restore_parser_state (ps) | ^ ./parse.y:6701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6701 | save_input_line_state (ls) | ^ ./parse.y:6732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6732 | restore_input_line_state (ls) | ^ --- variables.o --- 199 warnings generated. --- ./builtins/libbuiltins.a --- --- ulimit.o --- rm -f ulimit.o ./mkbuiltins -D . ulimit.def cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -I../lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DHEREDOC_PIPESIZE=4096 -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing ulimit.c || ( rm -f ulimit.c ; exit 1 ) --- y.tab.o --- 74 warnings generated. --- ./builtins/libbuiltins.a --- ./ulimit.def:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | _findlim (opt) | ^ ./ulimit.def:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | ulimit_builtin (list) | ^ ./ulimit.def:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | ulimit_internal (cmd, cmdarg, mode, multiple) | ^ ./ulimit.def:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | get_limit (ind, softlim, hardlim) | ^ ./ulimit.def:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | set_limit (ind, newlim, mode) | ^ ./ulimit.def:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | getmaxvm (softlim, hardlim) | ^ ./ulimit.def:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | filesize(valuep) | ^ ./ulimit.def:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | pipesize (valuep) | ^ ./ulimit.def:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | getmaxuprc (valuep) | ^ ./ulimit.def:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | print_all_limits (mode) | ^ ./ulimit.def:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | printone (limind, curlim, pdesc) | ^ ./ulimit.def:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | set_all_limits (mode, newlim) | ^ 12 warnings generated. rm -f ulimit.c --- libbuiltins.a --- rm -f libbuiltins.a /usr/local/bin/ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o /usr/local/bin/ranlib libbuiltins.a --- ./builtins/pipesize.h --- `pipesize.h' is up to date. --- redir.o --- rm -f redir.o cc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"amd64"' -DCONF_OSTYPE='"freebsd15.0"' -DCONF_MACHTYPE='"amd64-portbld-freebsd15.0"' -DCONF_VENDOR='"portbld"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -DHEREDOC_PIPESIZE=4096 -I. -I. -I./include -I./lib -I./lib/intl -I/wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/lib/intl -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -D_THREAD_SAFE -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -c redir.c redir.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | redirection_error (temp, error, fn) | ^ redir.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | do_redirections (list, flags) | ^ redir.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | expandable_redirection_filename (redirect) | ^ redir.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | redirection_expand (word) | ^ redir.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | heredoc_expand (redirectee, ri, lenp) | ^ redir.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | heredoc_write (fd, heredoc, herelen) | ^ redir.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | here_document_to_fd (redirectee, ri) | ^ redir.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | redir_special_open (spec, filename, flags, mode, ri) | ^ redir.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | noclobber_open (filename, flags, mode, ri) | ^ redir.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | redir_open (filename, flags, mode, ri) | ^ redir.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | undoablefd (fd) | ^ redir.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | do_redirection_internal (redirect, flags, fnp) | ^ redir.c:949:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 949 | sys_error (_("redirection error: cannot duplicate fd")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ redir.c:949:14: note: treat the string as an argument to avoid this 949 | sys_error (_("redirection error: cannot duplicate fd")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ redir.c:1069:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1069 | sys_error (_("redirection error: cannot duplicate fd")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ redir.c:1069:14: note: treat the string as an argument to avoid this 1069 | sys_error (_("redirection error: cannot duplicate fd")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ redir.c:1134:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1134 | sys_error (_("redirection error: cannot duplicate fd")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ redir.c:1134:17: note: treat the string as an argument to avoid this 1134 | sys_error (_("redirection error: cannot duplicate fd")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ redir.c:1286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | add_undo_redirect (fd, ri, fdbase) | ^ redir.c:1307:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1307 | sys_error (_("redirection error: cannot duplicate fd")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^~~~~~~~~~~~~~ redir.c:1307:18: note: treat the string as an argument to avoid this 1307 | sys_error (_("redirection error: cannot duplicate fd")); | ^ | "%s", ./bashintl.h:36:18: note: expanded from macro '_' 36 | #define _(msgid) gettext(msgid) | ^ redir.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | add_undo_close_redirect (fd) | ^ redir.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | add_exec_redirect (dummy_redirect) | ^ redir.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | stdin_redirection (ri, redirector) | ^ redir.c:1439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | stdin_redirects (redirs) | ^ redir.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | redir_varassign (redir, fd) | ^ redir.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | redir_varvalue (redir) | ^ redir.c:1485:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1485 | if (vr = valid_array_reference (w, 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redir.c:1485:10: note: place parentheses around the assignment to silence this warning 1485 | if (vr = valid_array_reference (w, 0)) | ^ | ( ) redir.c:1485:10: note: use '==' to turn this assignment into an equality comparison 1485 | if (vr = valid_array_reference (w, 0)) | ^ | == redir.c:1500:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1500 | if (vr = valid_array_reference (w, 0)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ redir.c:1500:15: note: place parentheses around the assignment to silence this warning 1500 | if (vr = valid_array_reference (w, 0)) | ^ | ( ) redir.c:1500:15: note: use '==' to turn this assignment into an equality comparison 1500 | if (vr = valid_array_reference (w, 0)) | ^ | == 25 warnings generated. --- subst.o --- 185 warnings generated. --- bash --- rm -f bash cc -L./builtins -L/usr/local/lib -L/usr/local/lib -L./lib/glob -L./lib/tilde -L./lib/sh -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd -static -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -static -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltinfow -ltilde lib/intl/libintl.a -L/usr/local/lib /usr/local/bin/ld.bfd: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname': tmpfile.c:(.text+0x88): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() ls -l bash -rwxr-xr-x 1 nobody wheel 8474112 Apr 8 20:43 bash /usr/local/bin/size bash text data bss dec hex filename 2408354 53896 2253104 4715354 47f35a bash --- .made --- =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bash-static-5.2.26_1 depends on executable: indexinfo - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Staging for bash-static-5.2.26_1 ===> Generating temporary packing list *********************************************************** * * * GNU bash, version 5.2.26(1)-release (amd64-portbld-freebsd15.0) * * *********************************************************** `pipesize.h' is up to date. mkdir -p -- /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash ( cd ./po/ ; /usr/bin/make DESTDIR=/wrkdirs/usr/ports/shells/bash-static/work/stage installdirs ) /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share mkdir -p -- /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/en@quot/LC_MESSAGES mkdir -p -- /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/en@boldquot/LC_MESSAGES if test "bash" = "gettext-tools"; then /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/gettext/po; else : ; fi install -s -m 555 -m 0755 bash /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/bin/bash install -m 555 -m 0555 bashbug /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/bin/bashbug install -m 0644 ./CHANGES ./COMPAT ./NEWS ./POSIX ./RBASH ./README /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash ( cd ./doc ; /usr/bin/make man1dir=/usr/local/share/man/man1 man1ext=.1 man3dir=/usr/local/share/man/man3 man3ext=.3 infodir=/usr/local/share/info htmldir=/usr/local/share/doc/bash DESTDIR=/wrkdirs/usr/ports/shells/bash-static/work/stage install ) /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/man/man1 /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/info /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash if test -n "/usr/local/share/doc/bash" ; then /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash ; fi install -m 0644 ./bash.1 /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/man/man1/bash.1 install -m 0644 ./bashbug.1 /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/man/man1/bashbug.1 install -m 0644 ./FAQ ./INTRO /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash if test -f bash.info; then d=.; else d=.; fi; install -m 0644 $d/bash.info /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/info/bash.info if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then install-info --dir-file=/wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/info/dir /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/info/bash.info; else true; fi if test -n "/usr/local/share/doc/bash" ; then install -m 0644 ./bash.html /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash ; install -m 0644 ./bashref.html /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash ; fi ( cd ./builtins ; /usr/bin/make DESTDIR=/wrkdirs/usr/ports/shells/bash-static/work/stage install ) ( cd ./po/ ; /usr/bin/make DESTDIR=/wrkdirs/usr/ports/shells/bash-static/work/stage install ) test -z "en@quot.gmo en@boldquot.gmo af.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo" || /usr/bin/make en@quot.gmo en@boldquot.gmo af.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo `en@quot.gmo' is up to date. `en@boldquot.gmo' is up to date. `af.gmo' is up to date. `bg.gmo' is up to date. `ca.gmo' is up to date. `cs.gmo' is up to date. `da.gmo' is up to date. `de.gmo' is up to date. `el.gmo' is up to date. `eo.gmo' is up to date. `es.gmo' is up to date. `et.gmo' is up to date. `fi.gmo' is up to date. `fr.gmo' is up to date. `ga.gmo' is up to date. `gl.gmo' is up to date. `hr.gmo' is up to date. `hu.gmo' is up to date. `id.gmo' is up to date. `it.gmo' is up to date. `ja.gmo' is up to date. `ko.gmo' is up to date. `lt.gmo' is up to date. `nb.gmo' is up to date. `nl.gmo' is up to date. `pl.gmo' is up to date. `pt.gmo' is up to date. `pt_BR.gmo' is up to date. `ro.gmo' is up to date. `ru.gmo' is up to date. `sk.gmo' is up to date. `sl.gmo' is up to date. `sr.gmo' is up to date. `sv.gmo' is up to date. `tr.gmo' is up to date. `uk.gmo' is up to date. `vi.gmo' is up to date. `zh_CN.gmo' is up to date. `zh_TW.gmo' is up to date. touch stamp-po /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share installing en@quot.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/en@quot/LC_MESSAGES/bash.mo installing en@boldquot.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/en@boldquot/LC_MESSAGES/bash.mo installing af.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/af/LC_MESSAGES/bash.mo installing bg.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/bg/LC_MESSAGES/bash.mo installing ca.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/ca/LC_MESSAGES/bash.mo installing cs.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/cs/LC_MESSAGES/bash.mo installing da.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/da/LC_MESSAGES/bash.mo installing de.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/de/LC_MESSAGES/bash.mo installing el.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/el/LC_MESSAGES/bash.mo installing eo.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/eo/LC_MESSAGES/bash.mo installing es.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/es/LC_MESSAGES/bash.mo installing et.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/et/LC_MESSAGES/bash.mo installing fi.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/fi/LC_MESSAGES/bash.mo installing fr.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/fr/LC_MESSAGES/bash.mo installing ga.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/ga/LC_MESSAGES/bash.mo installing gl.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/gl/LC_MESSAGES/bash.mo installing hr.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/hr/LC_MESSAGES/bash.mo installing hu.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/hu/LC_MESSAGES/bash.mo installing id.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/id/LC_MESSAGES/bash.mo installing it.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/it/LC_MESSAGES/bash.mo installing ja.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/ja/LC_MESSAGES/bash.mo installing ko.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/ko/LC_MESSAGES/bash.mo installing lt.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/lt/LC_MESSAGES/bash.mo installing nb.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/nb/LC_MESSAGES/bash.mo installing nl.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/nl/LC_MESSAGES/bash.mo installing pl.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/pl/LC_MESSAGES/bash.mo installing pt.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/pt/LC_MESSAGES/bash.mo installing pt_BR.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/pt_BR/LC_MESSAGES/bash.mo installing ro.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/ro/LC_MESSAGES/bash.mo installing ru.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/ru/LC_MESSAGES/bash.mo installing sk.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/sk/LC_MESSAGES/bash.mo installing sl.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/sl/LC_MESSAGES/bash.mo installing sr.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/sr/LC_MESSAGES/bash.mo installing sv.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/sv/LC_MESSAGES/bash.mo installing tr.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/tr/LC_MESSAGES/bash.mo installing uk.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/uk/LC_MESSAGES/bash.mo installing vi.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/vi/LC_MESSAGES/bash.mo installing zh_CN.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/zh_CN/LC_MESSAGES/bash.mo installing zh_TW.gmo as /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/locale/zh_TW/LC_MESSAGES/bash.mo if test "bash" = "gettext-tools"; then /bin/sh ../support/mkinstalldirs /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/gettext/po; for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do install -m 0644 ./$file /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/gettext/po/$file; done; for file in Makevars; do rm -f /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/gettext/po/$file; done; else : ; fi /bin/ln -sf bash /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/bin/rbash install -m 0644 /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/doc/FAQ /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/doc/INTRO /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash for d in CHANGES COMPAT NEWS POSIX RBASH README; do install -m 0644 /wrkdirs/usr/ports/shells/bash-static/work/bash-5.2/${d} /wrkdirs/usr/ports/shells/bash-static/work/stage/usr/local/share/doc/bash; done ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp built_by' 'PKG_NOTE_build_timestamp=2024-04-08T20:38:19+0000' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=nobody UID=65534 GID=65534 ===> Building packages for bash-static-5.2.26_1 ===> Building bash-static-5.2.26_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for bash-static-5.2.26_1 build of shells/bash-static | bash-static-5.2.26_1 ended at Mon Apr 8 22:43:56 CEST 2024 build time: 00:05:41