=>> Building lang/rexx-imc build started at Thu Dec 11 04:14:23 EST 2025 port directory: /usr/ports/lang/rexx-imc package name: rexx-imc-1.76_5 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1589 Mar 7 2025 /usr/ports/lang/rexx-imc/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 8a02a5ce5be7 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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 rexx-imc-1.76_5: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- o all --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PREFIX="/usr/local" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rexx-imc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rexx-imc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/rexx-imc/work/.cache HOME=/wrkdirs/usr/ports/lang/rexx-imc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rexx-imc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/rexx-imc/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rexx-imc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rexx-imc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/rexx-imc/work/.cache HOME=/wrkdirs/usr/ports/lang/rexx-imc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/rexx-imc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/rexx-imc/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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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="" PORTEXAMPLES="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rexx-imc" EXAMPLESDIR="share/examples/rexx-imc" DATADIR="share/rexx-imc" WWWDIR="www/rexx-imc" ETCDIR="etc/rexx-imc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rexx-imc DOCSDIR=/usr/local/share/doc/rexx-imc EXAMPLESDIR=/usr/local/share/examples/rexx-imc WWWDIR=/usr/local/www/rexx-imc ETCDIR=/usr/local/etc/rexx-imc --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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) 89999 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=root UID=0 GID=0 ===> NOTICE: The rexx-imc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rexx-imc-1.76_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> rexx-imc-1.76_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rexx-imc-1.76_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The rexx-imc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by rexx-imc-1.76_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The rexx-imc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by rexx-imc-1.76_5 for building => SHA256 Checksum OK for rexx-imc-1.76.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The rexx-imc port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by rexx-imc-1.76_5 for building ===> Extracting for rexx-imc-1.76_5 => SHA256 Checksum OK for rexx-imc-1.76.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for rexx-imc-1.76_5 ===> Applying FreeBSD patches for rexx-imc-1.76_5 from /usr/ports/lang/rexx-imc/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for rexx-imc-1.76_5 Processing REXX/imc for FreeBSD 13.5-RELEASE-p7 ./Make: SONAME: not found Warning: I don't know the options for cc - trying the gcc ones cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC main.c In file included from main.c:17: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ main.c:26:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | main(argc,argv) /* This function gives an interface between the command */ | ^ | int main.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] main.c:130:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 130 | if(ttyout=fopen("/dev/tty","w")) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.c:130:16: note: place parentheses around the assignment to silence this warning 130 | if(ttyout=fopen("/dev/tty","w")) | ^ | ( ) main.c:130:16: note: use '==' to turn this assignment into an equality comparison 130 | if(ttyout=fopen("/dev/tty","w")) | ^ | == 4 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC rexx.c In file included from rexx.c:15: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ rexx.c:44:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | char *allocm(size) | ^ rexx.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void die(rc) /* Error (exception) handler: cleans up, prints message, and */ | ^ rexx.c:319:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | char *interpreter(anslen,start,callname,calltype,args,arglen,inherit,delay) | ^ rexx.c:455:30: warning: passing arguments to 'exitcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if(exitcall(RXSIO,RXSIOSAY,&rxs)==RXEXIT_HANDLED)break; | ^ rexx.c:716:19: warning: add explicit braces to avoid dangling else [-Wdangling-else] 716 | else break; /* Do the stmt after the ELSE. */ | ^ rexx.c:730:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 730 | if(c=*lineptr)die(Edata); | ~^~~~~~~~~ rexx.c:730:20: note: place parentheses around the assignment to silence this warning 730 | if(c=*lineptr)die(Edata); | ^ | ( ) rexx.c:730:20: note: use '==' to turn this assignment into an equality comparison 730 | if(c=*lineptr)die(Edata); | ^ | == rexx.c:742:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 742 | if(c=*lineptr)die(Edata); | ~^~~~~~~~~ rexx.c:742:23: note: place parentheses around the assignment to silence this warning 742 | if(c=*lineptr)die(Edata); | ^ | ( ) rexx.c:742:23: note: use '==' to turn this assignment into an equality comparison 742 | if(c=*lineptr)die(Edata); | ^ | == rexx.c:822:36: warning: passing arguments to 'exitcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | if(exitcall(RXSIO,RXSIOTRD,&inp)==RXEXIT_NOT_HANDLED) | ^ rexx.c:941:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 941 | if(c=lineptr[tmpchr])die(Edata); | ~^~~~~~~~~~~~~~~~ rexx.c:941:23: note: place parentheses around the assignment to silence this warning 941 | if(c=lineptr[tmpchr])die(Edata); | ^ | ( ) rexx.c:941:23: note: use '==' to turn this assignment into an equality comparison 941 | if(c=lineptr[tmpchr])die(Edata); | ^ | == rexx.c:960:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 960 | if(c=lineptr[tmpchr])die(Edata); | ~^~~~~~~~~~~~~~~~ rexx.c:960:23: note: place parentheses around the assignment to silence this warning 960 | if(c=lineptr[tmpchr])die(Edata); | ^ | ( ) rexx.c:960:23: note: use '==' to turn this assignment into an equality comparison 960 | if(c=lineptr[tmpchr])die(Edata); | ^ | == rexx.c:974:25: warning: add explicit braces to avoid dangling else [-Wdangling-else] 974 | else | ^ rexx.c:999:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 999 | while(c= *lineptr){ /* now loop for arguments */ | ~^~~~~~~~~~ rexx.c:999:23: note: place parentheses around the assignment to silence this warning 999 | while(c= *lineptr){ /* now loop for arguments */ | ^ | ( ) rexx.c:999:23: note: use '==' to turn this assignment into an equality comparison 999 | while(c= *lineptr){ /* now loop for arguments */ | ^ | == rexx.c:1003:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1003 | if(m=(*lineptr==','))lineptr++; | ~^~~~~~~~~~~~~~~~ rexx.c:1003:23: note: place parentheses around the assignment to silence this warning 1003 | if(m=(*lineptr==','))lineptr++; | ^ | ( ) rexx.c:1003:23: note: use '==' to turn this assignment into an equality comparison 1003 | if(m=(*lineptr==','))lineptr++; | ^ | == rexx.c:1023:25: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1023 | else | ^ rexx.c:1071:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1071 | if (c= *lineptr){ | ~^~~~~~~~~~ rexx.c:1071:21: note: place parentheses around the assignment to silence this warning 1071 | if (c= *lineptr){ | ^ | ( ) rexx.c:1071:21: note: use '==' to turn this assignment into an equality comparison 1071 | if (c= *lineptr){ | ^ | == rexx.c:1076:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1076 | if(c=lineptr[reflen])die(Edata); | ~^~~~~~~~~~~~~~~~ rexx.c:1076:23: note: place parentheses around the assignment to silence this warning 1076 | if(c=lineptr[reflen])die(Edata); | ^ | ( ) rexx.c:1076:23: note: use '==' to turn this assignment into an equality comparison 1076 | if(c=lineptr[reflen])die(Edata); | ^ | == rexx.c:1093:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1093 | else {delpstack(),sllen++;continue;} | ^ rexx.c:1115:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1115 | else if (c=prog[ppc].line[1])die(Edata); | ~^~~~~~~~~~~~~~~~~~ rexx.c:1115:26: note: place parentheses around the assignment to silence this warning 1115 | else if (c=prog[ppc].line[1])die(Edata); | ^ | ( ) rexx.c:1115:26: note: use '==' to turn this assignment into an equality comparison 1115 | else if (c=prog[ppc].line[1])die(Edata); | ^ | == rexx.c:1123:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1123 | if (c= *lineptr){ | ~^~~~~~~~~~ rexx.c:1123:21: note: place parentheses around the assignment to silence this warning 1123 | if (c= *lineptr){ | ^ | ( ) rexx.c:1123:21: note: use '==' to turn this assignment into an equality comparison 1123 | if (c= *lineptr){ | ^ | == rexx.c:1128:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1128 | if(c=lineptr[reflen])die(Edata); | ~^~~~~~~~~~~~~~~~ rexx.c:1128:23: note: place parentheses around the assignment to silence this warning 1128 | if(c=lineptr[reflen])die(Edata); | ^ | ( ) rexx.c:1128:23: note: use '==' to turn this assignment into an equality comparison 1128 | if(c=lineptr[reflen])die(Edata); | ^ | == rexx.c:1142:22: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1142 | else {delpstack(),sllen++;continue;} | ^ rexx.c:1164:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1164 | else if (c= *lineptr)die(Edata); | ~^~~~~~~~~~ rexx.c:1164:26: note: place parentheses around the assignment to silence this warning 1164 | else if (c= *lineptr)die(Edata); | ^ | ( ) rexx.c:1164:26: note: use '==' to turn this assignment into an equality comparison 1164 | else if (c= *lineptr)die(Edata); | ^ | == rexx.c:1434:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1434 | if(c= *lineptr)die(Edata); /* if end-of-line not found, error */ | ~^~~~~~~~~~ rexx.c:1434:14: note: place parentheses around the assignment to silence this warning 1434 | if(c= *lineptr)die(Edata); /* if end-of-line not found, error */ | ^ | ( ) rexx.c:1434:14: note: use '==' to turn this assignment into an equality comparison 1434 | if(c= *lineptr)die(Edata); /* if end-of-line not found, error */ | ^ | == rexx.c:1442:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | static void doaddress(lineptr,env) /* The lineptr points to a command to be */ | ^ rexx.c:1485:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | static void parse(arglist,arglen,up,line,ptr) | ^ rexx.c:1599:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | static char uc1(c,up) /* Return the uppercase of c, only if up is true. */ | ^ rexx.c:1608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | static void pset1(list,listlen,val,len,up) | ^ rexx.c:1639:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | static void pset(varname,namelen,val,len,up) | ^ rexx.c:1672:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | static int findsigl(level)/* Save the current program, go down stack to find */ | ^ rexx.c:1701:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | static void getcallargs(args,arglen,argc) | ^ rexx.c:1713:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | int rxcall(stmt,name,argc,lit,calltype) | ^ rexx.c:1773:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1773 | if(callname=strrchr(name,'/')) /* Get base name for "callname" */ | ~~~~~~~~^~~~~~~~~~~~~~~~~~ rexx.c:1773:21: note: place parentheses around the assignment to silence this warning 1773 | if(callname=strrchr(name,'/')) /* Get base name for "callname" */ | ^ | ( ) rexx.c:1773:21: note: use '==' to turn this assignment into an equality comparison 1773 | if(callname=strrchr(name,'/')) /* Get base name for "callname" */ | ^ | == rexx.c:1777:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1777 | if(data=(funcinfo *)hashget(2,callname,&w)){ /* function is hashed */ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rexx.c:1777:17: note: place parentheses around the assignment to silence this warning 1777 | if(data=(funcinfo *)hashget(2,callname,&w)){ /* function is hashed */ | ^ | ( ) rexx.c:1777:17: note: use '==' to turn this assignment into an equality comparison 1777 | if(data=(funcinfo *)hashget(2,callname,&w)){ /* function is hashed */ | ^ | == rexx.c:1781:37: 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] 1781 | else l=(data->dlfunc)(callname,argc);/* imc calling sequence */ | ^ rexx.c:1791:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1791 | for(l=0;c=name[l];l++)workptr[l]=c>='A'&&c<='Z'?name[l]|32:name[l]; | ~^~~~~~~~ rexx.c:1791:22: note: place parentheses around the assignment to silence this warning 1791 | for(l=0;c=name[l];l++)workptr[l]=c>='A'&&c<='Z'?name[l]|32:name[l]; | ^ | ( ) rexx.c:1791:22: note: use '==' to turn this assignment into an equality comparison 1791 | for(l=0;c=name[l];l++)workptr[l]=c>='A'&&c<='Z'?name[l]|32:name[l]; | ^ | == rexx.c:1849:26: 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] 1849 | else l=dlfunc(callname,argc); /* Call the required function. */ | ^ rexx.c:1933:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1933 | char *rxinterp(exp,len,rlen,name,calltype,args,arglen) | ^ rexx.c:1942:9: 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] 1942 | void process(); /* The tokeniser used by load() */ | ^ ./functions.h:194:6: note: conflicting prototype is here 194 | void process Args((int c)); /* Tokenise characters */ | ^ rexx.c:2020:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | void settrace(option) /* Sets the trace flag according to the given option */ | ^ rexx.c:2046:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | int setoption(option,len) /* Interpret an option from the OPTIONS */ | ^ rexx.c:2091:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | static int gettrap(lineptr,on,stmt)/* Get a trap name after "call/signal on" */ | ^ rexx.c:2121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | static void testvarname(lineptr,var,len)/* Check that any symbol in the */ | ^ rexx.c:2129:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2129 | if (c= **lineptr){ /* if the symbol name is supplied: */ | ~^~~~~~~~~~~ rexx.c:2129:9: note: place parentheses around the assignment to silence this warning 2129 | if (c= **lineptr){ /* if the symbol name is supplied: */ | ^ | ( ) rexx.c:2129:9: note: use '==' to turn this assignment into an equality comparison 2129 | if (c= **lineptr){ /* if the symbol name is supplied: */ | ^ | == 44 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC rxfn.c In file included from rxfn.c:28: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ rxfn.c:134: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 previous declaration [-Wdeprecated-non-prototype] 134 | void binrel(); /* The calculator routine which implements binary relations */ | ^ ./functions.h:142:6: note: conflicting prototype is here 142 | void binrel Args((int op)); /* Compare the last two values */ | ^ rxfn.c:138:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | int rxfn(name,argc) /* does function if possible; returns 1 if successful */ | ^ rxfn.c:242:16: 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] 242 | (*(ptr->fn))(argc); /* Call the builtin function */ | ^ rxfn.c:246:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | int compar(s1,s2) /* Compares two items of a function list, */ | ^ rxfn.c:132: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] 132 | int compar(); | ^ rxfn.c:252:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | char *undelete(l) /* A utility function like delete(l) except that */ | ^ ./functions.h:93:19: note: expanded from macro 'undelete' 93 | # define undelete rx_undelete | ^ rxfn.c:270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | void rxsource(argc) /* souceline() function */ | ^ rxfn.c:52: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] 52 | void rxsource(); | ^ rxfn.c:285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | void rxerror(argc) /* errortext() function */ | ^ rxfn.c:53: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] 53 | void rxerror(); | ^ rxfn.c:293:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | void rxlength(argc) | ^ rxfn.c:54: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] 54 | void rxlength(); | ^ rxfn.c:304:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | static int rxgettime(type, time, usec) | ^ rxfn.c:427:35: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 426 | case 'L':sprintf(ans,"%02d:%02d:%02d.%06d",t2->tm_hour,t2->tm_min, | ~~~~ | %06ld 427 | t2->tm_sec,usec); | ^~~~ rxfn.c:450:46: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 450 | if(e1||e2)sprintf(ans,"%ld.%06d",e1,e2); | ~~~~ ^~ | %06ld rxfn.c:375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | void rxtime(argc) | ^ rxfn.c:55: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] 55 | void rxtime(); | ^ rxfn.c:464:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | static time_t rxgetdate(type,thisyear) | ^ rxfn.c:552:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | void rxdate(argc) | ^ rxfn.c:56: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] 56 | void rxdate(); | ^ rxfn.c:656:44: warning: while loop has empty body [-Wempty-body] 656 | if(flg>=0){while(len--&&arg[len]==strip);len++;}/* strip trailing chars */ | ^ rxfn.c:656:44: note: put the semicolon on a separate line to silence this warning rxfn.c:629:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | void rxstrip(argc) | ^ rxfn.c:59: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] 59 | void rxstrip(); | ^ rxfn.c:661:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | void rxleft(argc) | ^ rxfn.c:57: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] 57 | void rxleft(); | ^ rxfn.c:687:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | void rxright(argc) | ^ rxfn.c:58: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] 58 | void rxright(); | ^ rxfn.c:769:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 769 | if(val=varget(name+p,i-p,&l)){ | ~~~^~~~~~~~~~~~~~~~~~~~~~ rxfn.c:769:16: note: place parentheses around the assignment to silence this warning 769 | if(val=varget(name+p,i-p,&l)){ | ^ | ( ) rxfn.c:769:16: note: use '==' to turn this assignment into an equality comparison 769 | if(val=varget(name+p,i-p,&l)){ | ^ | == rxfn.c:715:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | char *rxgetname(nl,t) /* get a symbol (if compound symbol, substitute values | ^ rxfn.c:822:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 822 | if(val=getenv(arg))stack(val,strlen(val)); | ~~~^~~~~~~~~~~~ rxfn.c:822:16: note: place parentheses around the assignment to silence this warning 822 | if(val=getenv(arg))stack(val,strlen(val)); | ^ | ( ) rxfn.c:822:16: note: use '==' to turn this assignment into an equality comparison 822 | if(val=getenv(arg))stack(val,strlen(val)); | ^ | == rxfn.c:842:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 842 | else if(strcasecmp(pool,"REXX"))die(Ecall); | ^ rxfn.c:856:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 856 | else varset(arg,len,new,newlen); | ^ rxfn.c:781:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | void rxvalue(argc) | ^ rxfn.c:60: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] 60 | void rxvalue(); | ^ rxfn.c:859:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | void rxdatatype(argc) | ^ rxfn.c:61: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] 61 | void rxdatatype(); | ^ rxfn.c:943:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | void rxcopies(argc) | ^ rxfn.c:62: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] 62 | void rxcopies(); | ^ rxfn.c:964:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | void rxspace(argc) | ^ rxfn.c:63: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] 63 | void rxspace(); | ^ rxfn.c:1014:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1014 | else c2=arg[0]; | ^ rxfn.c:1020:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1020 | else c1=arg[0]; | ^ rxfn.c:1002:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | void rxrange(argc) | ^ rxfn.c:64: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] 64 | void rxrange(); | ^ rxfn.c:1038:27: warning: passing arguments to 'xbyte' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | for(i=0;ierrnum to indicate the I/O error */ | ^ rxfn.c:1331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | void rxpos(argc) | ^ rxfn.c:68: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] 68 | void rxpos(); | ^ rxfn.c:1351:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | void rxlastpos(argc) | ^ rxfn.c:69: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] 69 | void rxlastpos(); | ^ rxfn.c:1388:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1388 | else pad=arg[0]; | ^ rxfn.c:1373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | void rxsubstr(argc) | ^ rxfn.c:72: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] 72 | void rxsubstr(); | ^ rxfn.c:1423:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1423 | else pad=arg[0]; | ^ rxfn.c:1410:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | void rxcentre(argc) | ^ rxfn.c:70: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] 70 | void rxcentre(); | ^ rxfn.c:1455:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1455 | else pad=arg[0]; | ^ rxfn.c:1440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | void rxjustify(argc) | ^ rxfn.c:71: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] 71 | void rxjustify(); | ^ rxfn.c:1484:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | void rxarg(argc) | ^ rxfn.c:73: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] 73 | void rxarg(); | ^ rxfn.c:1519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | void rxabbrev(argc) | ^ rxfn.c:74: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] 74 | void rxabbrev(); | ^ rxfn.c:1537:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | void rxabs(argc) | ^ rxfn.c:75: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] 75 | void rxabs(); | ^ rxfn.c:1558:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1558 | else pad=s1[0]; | ^ rxfn.c:1547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | void rxcompare(argc) | ^ rxfn.c:76: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] 76 | void rxcompare(); | ^ rxfn.c:1571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | void rxdelstr(argc) | ^ rxfn.c:77: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] 77 | void rxdelstr(); | ^ rxfn.c:1596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1596 | void rxdelword(argc) | ^ rxfn.c:78: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] 78 | void rxdelword(); | ^ rxfn.c:1642:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1642 | else die(Ecall); | ^ rxfn.c:1629:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | void rxinsert(argc) | ^ rxfn.c:79: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] 79 | void rxinsert(); | ^ rxfn.c:1669:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | void rxminmax(argc,op) /* Calculate the minimum/maximum of a list of numbers */ | ^ rxfn.c:1688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | void rxmax(argc) | ^ rxfn.c:80: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] 80 | void rxmax(); | ^ rxfn.c:1694:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | void rxmin(argc) | ^ rxfn.c:81: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] 81 | void rxmin(); | ^ rxfn.c:1713:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1713 | else die(Ecall); | ^ rxfn.c:1700:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | void rxoverlay(argc) | ^ rxfn.c:82: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] 82 | void rxoverlay(); | ^ rxfn.c:1767:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1767 | else min=getint(1); | ^ rxfn.c:1741:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | void rxrandom(argc) | ^ rxfn.c:83: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] 83 | void rxrandom(); | ^ rxfn.c:1775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | void rxreverse(argc) | ^ rxfn.c:84: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] 84 | void rxreverse(); | ^ rxfn.c:1787:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | void rxsign(argc) | ^ rxfn.c:85: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] 85 | void rxsign(); | ^ rxfn.c:1799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | void rxsubword(argc) | ^ rxfn.c:86: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] 86 | void rxsubword(); | ^ rxfn.c:1826:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | void rxsymbol(argc) | ^ rxfn.c:87: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] 87 | void rxsymbol(); | ^ rxfn.c:1839:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | void rxlate(argc) | ^ rxfn.c:88: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] 88 | void rxlate(); | ^ rxfn.c:1869:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1869 | void rxtrunc(argc) | ^ rxfn.c:89: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] 89 | void rxtrunc(); | ^ rxfn.c:1917:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1917 | void rxverify(argc) | ^ rxfn.c:90: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] 90 | void rxverify(); | ^ rxfn.c:1957:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | void rxword(argc) | ^ rxfn.c:91: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] 91 | void rxword(); | ^ rxfn.c:1965:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | void rxwordindex(argc) | ^ rxfn.c:92: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] 92 | void rxwordindex(); | ^ rxfn.c:1986:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | void rxwordlength(argc) | ^ rxfn.c:93: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] 93 | void rxwordlength(); | ^ rxfn.c:1993:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | void rxwordpos(argc) | ^ rxfn.c:94: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] 94 | void rxwordpos(); | ^ rxfn.c:2032:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2032 | void rxwords(argc) | ^ rxfn.c:95: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] 95 | void rxwords(); | ^ rxfn.c:2047:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | void rxdigits(argc) | ^ rxfn.c:96: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] 96 | void rxdigits(); | ^ rxfn.c:2054:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | void rxfuzz(argc) | ^ rxfn.c:97: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] 97 | void rxfuzz(); | ^ rxfn.c:2061:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | void rxaddress(argc) | ^ rxfn.c:126: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] 126 | void rxaddress(); | ^ rxfn.c:2070:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | void rxtrace(argc) | ^ rxfn.c:98: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] 98 | void rxtrace(); | ^ rxfn.c:2104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | void rxform(argc) | ^ rxfn.c:99: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] 99 | void rxform(); | ^ rxfn.c:2165:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2165 | if(exp=((e2*expt))||!expp)) {/* no exponent */ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rxfn.c:2165:10: note: place parentheses around the assignment to silence this warning 2165 | if(exp=((e2*expt))||!expp)) {/* no exponent */ | ^ | ( ) rxfn.c:2165:10: note: use '==' to turn this assignment into an equality comparison 2165 | if(exp=((e2*expt))||!expp)) {/* no exponent */ | ^ | == rxfn.c:2112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | void rxformat(argc) | ^ rxfn.c:100: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] 100 | void rxformat(); | ^ rxfn.c:2255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2255 | void rxqueued(argc) | ^ rxfn.c:101: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] 101 | void rxqueued(); | ^ rxfn.c:2267:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | void rxlinesize(argc) | ^ rxfn.c:102: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] 102 | void rxlinesize(); | ^ rxfn.c:2278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2278 | void rxbitand(argc) | ^ rxfn.c:103: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] 103 | void rxbitand(); | ^ rxfn.c:2308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2308 | void rxbitor(argc) | ^ rxfn.c:104: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] 104 | void rxbitor(); | ^ rxfn.c:2338:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2338 | void rxbitxor(argc) | ^ rxfn.c:105: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] 105 | void rxbitxor(); | ^ rxfn.c:2369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | void rxuserid(argc) | ^ rxfn.c:106: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] 106 | void rxuserid(); | ^ rxfn.c:2385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2385 | void rxgetcwd(argc) | ^ rxfn.c:107: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] 107 | void rxgetcwd(); | ^ rxfn.c:2402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2402 | void rxchdir(argc) | ^ rxfn.c:108: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] 108 | void rxchdir(); | ^ rxfn.c:2423:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2423 | if(arg=getenv(arg))stack(arg,strlen(arg)); | ~~~^~~~~~~~~~~~ rxfn.c:2423:10: note: place parentheses around the assignment to silence this warning 2423 | if(arg=getenv(arg))stack(arg,strlen(arg)); | ^ | ( ) rxfn.c:2423:10: note: use '==' to turn this assignment into an equality comparison 2423 | if(arg=getenv(arg))stack(arg,strlen(arg)); | ^ | == rxfn.c:2415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2415 | void rxgetenv(argc) | ^ rxfn.c:109: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] 109 | void rxgetenv(); | ^ rxfn.c:2427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | void rxputenv(argc) | ^ rxfn.c:110: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] 110 | void rxputenv(); | ^ rxfn.c:2478:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2478 | if(info=(struct fileinfo *)hashget(1,stream,&rc)){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rxfn.c:2478:11: note: place parentheses around the assignment to silence this warning 2478 | if(info=(struct fileinfo *)hashget(1,stream,&rc)){ | ^ | ( ) rxfn.c:2478:11: note: use '==' to turn this assignment into an equality comparison 2478 | if(info=(struct fileinfo *)hashget(1,stream,&rc)){ | ^ | == rxfn.c:2454:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | void rxopen2(stream,mode,mlen,path,plen) | ^ rxfn.c:2496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2496 | void rxopen(argc) | ^ rxfn.c:111: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] 111 | void rxopen(); | ^ rxfn.c:2553:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2553 | if(fp=fdopen(fd,fmode)){ | ~~^~~~~~~~~~~~~~~~~ rxfn.c:2553:9: note: place parentheses around the assignment to silence this warning 2553 | if(fp=fdopen(fd,fmode)){ | ^ | ( ) rxfn.c:2553:9: note: use '==' to turn this assignment into an equality comparison 2553 | if(fp=fdopen(fd,fmode)){ | ^ | == rxfn.c:2522:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | void rxfdopen2(stream,mode,modelen,n,nlen) /* implement fdopen(stream,mode,n)*/ | ^ rxfn.c:2570:10: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2570 | else stream[len]=0; | ^ rxfn.c:2560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2560 | void rxfdopen(argc) | ^ rxfn.c:121: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] 121 | void rxfdopen(); | ^ rxfn.c:2602:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 2602 | if(fp=popen(command,fmode)){ | ~~^~~~~~~~~~~~~~~~~~~~~ rxfn.c:2602:9: note: place parentheses around the assignment to silence this warning 2602 | if(fp=popen(command,fmode)){ | ^ | ( ) rxfn.c:2602:9: note: use '==' to turn this assignment into an equality comparison 2602 | if(fp=popen(command,fmode)){ | ^ | == rxfn.c:2587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2587 | void rxpopen2(stream,mode,mlen,command,comlen) | ^ rxfn.c:2612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2612 | void rxpopen(argc) | ^ rxfn.c:122: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] 122 | void rxpopen(); | ^ rxfn.c:2727:16: warning: call to undeclared function 'siginterrupt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2727 | if(!call)siginterrupt(2,1); /* Allow ^C during read */ | ^ rxfn.c:2638:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2638 | void rxlinein(argc) | ^ rxfn.c:112: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] 112 | void rxlinein(); | ^ rxfn.c:2746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2746 | void rxlineout(argc) | ^ rxfn.c:113: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] 113 | void rxlineout(); | ^ rxfn.c:2963:13: warning: call to undeclared function 'siginterrupt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2963 | if(!call)siginterrupt(2,1); /* allow ^C to interrupt */ | ^ rxfn.c:2881:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2881 | void rxcharin(argc) | ^ rxfn.c:114: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] 114 | void rxcharin(); | ^ rxfn.c:2981:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2981 | void rxcharout(argc) | ^ rxfn.c:115: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] 115 | void rxcharout(); | ^ rxfn.c:3110:12: warning: passing arguments to 'rxchars2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3110 | rxchars2(argc,0); | ^ rxfn.c:3107:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | void rxchars(argc) | ^ rxfn.c:116: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] 116 | void rxchars(); | ^ rxfn.c:3115:12: warning: passing arguments to 'rxchars2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3115 | rxchars2(argc,1); | ^ rxfn.c:3112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3112 | void rxlines(argc) | ^ rxfn.c:117: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] 117 | void rxlines(); | ^ rxfn.c:3118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3118 | void rxchars2(argc,line) /* = rxchars(argc) if line==0, or rxlines(argc) o/w */ | ^ rxfn.c:118: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] 118 | void rxchars2(); | ^ rxfn.c:3226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3226 | void rxclose(argc) | ^ rxfn.c:119: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] 119 | void rxclose(); | ^ rxfn.c:3239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3239 | void rxpclose(argc) | ^ rxfn.c:123: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] 123 | void rxpclose(); | ^ rxfn.c:3265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3265 | void rxfileno(argc) | ^ rxfn.c:120: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] 120 | void rxfileno(); | ^ rxfn.c:3281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3281 | void rxftell(argc) | ^ rxfn.c:124: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] 124 | void rxftell(); | ^ rxfn.c:3298:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3298 | void rxquery2(stream,info,param,len) /* used for stream(file,"c","query ...") */ | ^ rxfn.c:3401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3401 | void rxstream(argc) | ^ rxfn.c:125: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] 125 | void rxstream(); | ^ rxfn.c:3571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3571 | void rxcondition(argc) | ^ rxfn.c:127: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] 127 | void rxcondition(); | ^ rxfn.c:3612:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3612 | void rxfuncadd(argc) | ^ rxfn.c:128: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] 128 | void rxfuncadd(); | ^ rxfn.c:3639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3639 | void rxfuncdrop(argc) | ^ rxfn.c:129: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] 129 | void rxfuncdrop(); | ^ rxfn.c:3660:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3660 | void rxfuncquery(argc) | ^ rxfn.c:130: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] 130 | void rxfuncquery(); | ^ 220 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC calc.c In file included from calc.c:10: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ calc.c:22:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | char *scanning(line,ptr,len) | ^ calc.c:32:9: 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] 32 | void binplus(); | ^ ./functions.h:136:6: note: conflicting prototype is here 136 | void binplus Args((int op)); /* Add the last two values */ | ^ calc.c:33:9: 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] 33 | void binmin(); | ^ ./functions.h:137:6: note: conflicting prototype is here 137 | void binmin Args((int op)); /* Subtract the last value from the previous */ | ^ calc.c:34:9: 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] 34 | void binmul(); | ^ ./functions.h:138:6: note: conflicting prototype is here 138 | void binmul Args((int op)); /* Multiply the last two values */ | ^ calc.c:35:9: 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] 35 | void bindiv(); | ^ ./functions.h:139:6: note: conflicting prototype is here 139 | void bindiv Args((int op)); /* Divide the previous value by the last */ | ^ calc.c:36:9: 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] 36 | void bincat(); | ^ ./functions.h:144:6: note: conflicting prototype is here 144 | void bincat Args((int op)); /* Concatenate the last two values */ | ^ calc.c:37:9: 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] 37 | void binexp(); | ^ ./functions.h:140:6: note: conflicting prototype is here 140 | void binexp Args((int op)); /* Raise the previous value to the last-th power */ | ^ calc.c:38:9: 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] 38 | void binbool(); | ^ ./functions.h:143:6: note: conflicting prototype is here 143 | void binbool Args((int op)); /* Combine the last two logical values */ | ^ calc.c:39:9: 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] 39 | void binrel(); | ^ ./functions.h:142:6: note: conflicting prototype is here 142 | void binrel Args((int op)); /* Compare the last two values */ | ^ calc.c:40:9: 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] 40 | void unnot(); | ^ ./functions.h:145:6: note: conflicting prototype is here 145 | void unnot Args((int op)); /* Negate logically the last value */ | ^ calc.c:41:9: 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] 41 | void unmin(); | ^ ./functions.h:146:6: note: conflicting prototype is here 146 | void unmin Args((int op)); /* Negate arithmetically the last value */ | ^ calc.c:42:9: 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] 42 | void unplus(); | ^ ./functions.h:147:6: note: conflicting prototype is here 147 | void unplus Args((int op)); /* Reformat the last numeric value */ | ^ calc.c:261:35: 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] 261 | binprg[opstack[opptr].op](opstack[opptr].op); /* This does the op */ | ^ calc.c:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | void tracelast(type) /* trace the last value on the stack */ | ^ calc.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | void traceline(type,exp,len) /* trace a result or other string */ | ^ calc.c:301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | void stack(exp,len) /* stack a copy of exp whose length is explen */ | ^ calc.c:313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | void stackq(exp,len,quote) /* stack a copy of exp whose length is explen, */ | ^ calc.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void stackx(exp,len) /* Interpret exp (whose length is len) as a hex | ^ calc.c:366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | void stackb(exp,len) /* Interpret exp as a binary constant and stack it */ | ^ calc.c:402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | void stackint(i) /* stack an integer i */ | ^ calc.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | void binplus(op) /* Implements OPadd - the binary + operator */ | ^ calc.c:500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | void binmin(op) /* OPsub, the binary - operator, is implemented by */ | ^ calc.c:507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | void binmul(op) /* OPmul, the binary * operator */ | ^ calc.c:543:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | void bindiv(op) /* OPdiv, the binary / operator; | ^ calc.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | void binexp(op) /* OPpower, the binary ** operator */ | ^ calc.c:687:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | void binrel(op) /* Implements all the comparison operators. */ | ^ calc.c:755:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | void binbool(op) /* OPand, OPxor, OPor - binary &, |, && operators */ | ^ calc.c:771:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | void bincat(op) /* OPcat, OPspc - concatenation without/with a space */ | ^ calc.c:791:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | void unnot(op) /* OPnot, unary \ operator */ | ^ calc.c:800:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | void unmin(op) /* OPneg, unary - */ | ^ calc.c:810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | void unplus(op) /* OPplus, unary + -just unstack and restack, thus checking */ | ^ calc.c:838:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | int num(minus,exp,zero,len) | ^ calc.c:897:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 897 | if(*zero=myzero) return *exp=*minus=0,ans; /* No exponent if zero */ | ~~~~~^~~~~~~ calc.c:897:18: note: place parentheses around the assignment to silence this warning 897 | if(*zero=myzero) return *exp=*minus=0,ans; /* No exponent if zero */ | ^ | ( ) calc.c:897:18: note: use '==' to turn this assignment into an equality comparison 897 | if(*zero=myzero) return *exp=*minus=0,ans; /* No exponent if zero */ | ^ | == calc.c:905:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 905 | if(*zero=myzero) *exp=*minus=0; /* no exponent or sign if zero */ | ~~~~~^~~~~~~ calc.c:905:12: note: place parentheses around the assignment to silence this warning 905 | if(*zero=myzero) *exp=*minus=0; /* no exponent or sign if zero */ | ^ | ( ) calc.c:905:12: note: use '==' to turn this assignment into an equality comparison 905 | if(*zero=myzero) *exp=*minus=0; /* no exponent or sign if zero */ | ^ | == calc.c:911:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | int getint(flg) | ^ calc.c:931:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | int isint(num,len,exp) /* Given components of a number obtained by num(), */ | ^ calc.c:938:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | char *delete(len) /* Delete an item from the calculator stack, returning */ | ^ calc.c:958:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | void stacknum(num,len,exp,minus) | ^ calc.c:1022:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | void getvarname(line,ptr,varname,namelen,maxlen) /* Go along a program line, | ^ calc.c:1102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | void skipvarname(line,ptr) /* Skip a variable name in a program line */ | ^ calc.c:1131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | int gettoken(line,ptr,varname,maxlen,ex) /* Go along a program line and form | ^ 42 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC util.c In file included from util.c:16: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ util.c:36:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | char *message(rc) /* Return errortext(rc) */ | ^ util.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void rcset(rc,type,desc)/* set rc on return from system call */ | ^ util.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void rcstringset(rc,rcval,rclen,type,desc)/* set rc on return from system call */ | ^ util.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void printrc(i) /* Print a trace line showing the return code */ | ^ util.c:153:28: 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] 153 | long exrc=exitlist[main](main,sub,parm); | ^ util.c:148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | int exitcall(main,sub,parm) | ^ In file included from util.c:18: ./functions.h:164: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] 164 | int exitcall (/*(long main, long sub, PEXIT parm)*/); /* call an exit */ | ^ util.c:190:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | int less(s1,s2,n1,n2)/* the ordering - compare s1,len n1 with s2,len n2*/ | ^ util.c:207:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | char *varsearch(name,len,level,exist) | ^ util.c:240:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | char *tailsearch(stem,name,len,exist)/* like varsearch, but searches for the */ | ^ util.c:259:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | char *valuesearch(name,namelen,level,exist,stem) /* search for any variable */ | ^ util.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | void printtree(lev) /* for testing */ | ^ util.c:307:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 307 | printf("Offset:%d\n",((char *)v)-vartab-varstk[level]), | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %ld util.c:335:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 335 | printf("Offset:%d\n",((char *)v)-d), | ~~ ^~~~~~~~~~~~~ | %ld util.c:323:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | void printtails(stem) /* for testing */ | ^ util.c:351:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | void update(value,amount,level) | ^ util.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | long makeroom(var,amount,level) /* var points to a (complete) variable entry */ | ^ util.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | void reclaim(var,amount,level) /* var points to a (complete) variable entry */ | ^ util.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | void tailupdate(stem,value,amount) | ^ util.c:414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | long tailroom(stem,var,amount,level) /* make room in the tail of a stem */ | ^ util.c:442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | void tailreclaim(stem,var,amount) /* Reduce the size of a tail element */ | ^ util.c:459:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | void tailhookup(stem) /* hook up the tree structure within a stem */ | ^ util.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void varcreate(varptr,name,value,namelen,len,lev) | ^ util.c:517:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | void stemcreate(varptr,name,value,namelen,len,lev) | ^ util.c:550:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | void tailcreate(stem,tailptr,name,value,namelen,len,level) | ^ util.c:572:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 572 | if(diff=makeroom(stem-vartab-varstk[level],ext+256,level)){ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:572:14: note: place parentheses around the assignment to silence this warning 572 | if(diff=makeroom(stem-vartab-varstk[level],ext+256,level)){ | ^ | ( ) util.c:572:14: note: use '==' to turn this assignment into an equality comparison 572 | if(diff=makeroom(stem-vartab-varstk[level],ext+256,level)){ | ^ | == util.c:590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | void varset(name,varlen,value,len) /* set variable `name' of namelength */ | ^ util.c:612:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 612 | if(diff=tailroom((varent *)varptr,-1,ext,level)) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:612:20: note: place parentheses around the assignment to silence this warning 612 | if(diff=tailroom((varent *)varptr,-1,ext,level)) | ^ | ( ) util.c:612:20: note: use '==' to turn this assignment into an equality comparison 612 | if(diff=tailroom((varent *)varptr,-1,ext,level)) | ^ | == util.c:716:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | char *varget(name,varlen,len)/* get value and length of variable `name'. */ | ^ util.c:746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | void varcopy(name,varlen) /* copy a variable (as in procedure expose) */ | ^ util.c:790:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 789 | if(mtest_diff | ~~~~~~~~~~ 790 | =makeroom(stemptr-vartab-varstk[varstkptr],ext+256,varstkptr)){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:790:16: note: place parentheses around the assignment to silence this warning 789 | if(mtest_diff | | ( 790 | =makeroom(stemptr-vartab-varstk[varstkptr],ext+256,varstkptr)){ | ^ | ) util.c:790:16: note: use '==' to turn this assignment into an equality comparison 790 | =makeroom(stemptr-vartab-varstk[varstkptr],ext+256,varstkptr)){ | ^ | == util.c:817:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 817 | else varcreate(varptr,name,cnull,varlen,-1,1); | ^ util.c:868:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | void vardel(name,len) /* delete name (as in procedure hide) */ | ^ util.c:891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | char uc(c) /* return the upper case of c */ | ^ util.c:898:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | void *pstack(type,len) /* stack current position on the program stack,*/ | ^ util.c:928:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | int strcmpi(s1,s2) /* compare s1 & s2 with case independence */ | ^ util.c:1013:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | void freestack(ptr,i) /* free areas indicated by program stack type i */ | ^ util.c:1061:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | void tracestr(str) /* like traceput but length parameter is not needed */ | ^ util.c:1067:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | void traceput(str,len) /* like fputs to the trace output stream. */ | ^ util.c:1088:50: warning: incompatible pointer types passing 'RXSIOTRC_PARM *' to parameter of type 'PEXIT' (aka 'EXIT_PARM *') [-Wincompatible-pointer-types] 1088 | if(exitlist[RXSIO] && exitcall(RXSIO,RXSIOTRC,&sio)==RXEXIT_HANDLED) | ^~~~ util.c:1094:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | void tracechar(ch) | ^ util.c:1102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | void tracenum(num,len) /* print a number to the trace output stream. */ | ^ util.c:1110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | void traceprefix(num,prefix) /* print a trace prefix */ | ^ util.c:1128:34: warning: incompatible pointer types passing 'RXSIODTR_PARM *' to parameter of type 'PEXIT' (aka 'EXIT_PARM *') [-Wincompatible-pointer-types] 1128 | if(exitcall(RXSIO,RXSIODTR,&rxio)==RXEXIT_HANDLED){ | ^~~~~ util.c:1120:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | char *traceget(len) /* get input for interactive trace */ | ^ util.c:1187:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1187 | while(i=*((int *)(pstackptr+epstackptr)-1)!=16)/* Clear the program stack */ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1187:11: note: place parentheses around the assignment to silence this warning 1187 | while(i=*((int *)(pstackptr+epstackptr)-1)!=16)/* Clear the program stack */ | ^ | ( ) util.c:1187:11: note: use '==' to turn this assignment into an equality comparison 1187 | while(i=*((int *)(pstackptr+epstackptr)-1)!=16)/* Clear the program stack */ | ^ | == util.c:1200:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | char *load(name,sourcelen) | ^ util.c:1235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | void tokenise(input,ilen,interpret,line1) | ^ util.c:1310:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1310 | if(ptr=(char*)realloc((char*)source,(sourcelen+=50)*sizeof(char*))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1310:22: note: place parentheses around the assignment to silence this warning 1310 | if(ptr=(char*)realloc((char*)source,(sourcelen+=50)*sizeof(char*))) | ^ | ( ) util.c:1310:22: note: use '==' to turn this assignment into an equality comparison 1310 | if(ptr=(char*)realloc((char*)source,(sourcelen+=50)*sizeof(char*))) | ^ | == util.c:1312:16: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1312 | else die(Emem); | ^ util.c:1366:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1366 | if(ptr=(char*)realloc((char*)prog,(proglen+=50)*sizeof(program))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1366:19: note: place parentheses around the assignment to silence this warning 1366 | if(ptr=(char*)realloc((char*)prog,(proglen+=50)*sizeof(program))) | ^ | ( ) util.c:1366:19: note: use '==' to turn this assignment into an equality comparison 1366 | if(ptr=(char*)realloc((char*)prog,(proglen+=50)*sizeof(program))) | ^ | == util.c:1368:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1368 | else die(Emem); | ^ util.c:1431:64: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1431 | else if(token==THEN)if(start||first==IF||first==WHEN);else token=0; | ^ util.c:1450:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1450 | if(ptr=(char*)realloc((char*)prog,(proglen+=50)*sizeof(program))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1450:18: note: place parentheses around the assignment to silence this warning 1450 | if(ptr=(char*)realloc((char*)prog,(proglen+=50)*sizeof(program))) | ^ | ( ) util.c:1450:18: note: use '==' to turn this assignment into an equality comparison 1450 | if(ptr=(char*)realloc((char*)prog,(proglen+=50)*sizeof(program))) | ^ | == util.c:1452:12: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1452 | else die(Emem); | ^ util.c:1586:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1586 | if(ptr=realloc((char*)prog,(1+stmts)*sizeof(program))) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1586:10: note: place parentheses around the assignment to silence this warning 1586 | if(ptr=realloc((char*)prog,(1+stmts)*sizeof(program))) | ^ | ( ) util.c:1586:10: note: use '==' to turn this assignment into an equality comparison 1586 | if(ptr=realloc((char*)prog,(1+stmts)*sizeof(program))) | ^ | == util.c:1590:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1590 | if(ptr=realloc(prog[0].line,prgptr-prog[0].line)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1590:10: note: place parentheses around the assignment to silence this warning 1590 | if(ptr=realloc(prog[0].line,prgptr-prog[0].line)) | ^ | ( ) util.c:1590:10: note: use '==' to turn this assignment into an equality comparison 1590 | if(ptr=realloc(prog[0].line,prgptr-prog[0].line)) | ^ | == util.c:1595:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1595 | if(ptr=realloc(labelptr,elabptr+four)) | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ util.c:1595:13: note: place parentheses around the assignment to silence this warning 1595 | if(ptr=realloc(labelptr,elabptr+four)) | ^ | ( ) util.c:1595:13: note: use '==' to turn this assignment into an equality comparison 1595 | if(ptr=realloc(labelptr,elabptr+four)) | ^ | == util.c:1607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | void printstmt(stmt,after,error) | ^ util.c:1698:10: 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] 1698 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ util.c:1710:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | int which(gn,opt,fn)/* finds a file given name `gn'; puts path name in `fn'. | ^ util.c:1722:10: 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] 1722 | char *getenv(); | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ util.c:1902:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | char *hashsearch(hash,name,exist) | ^ util.c:1925:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1925 | void *hashget(hash,name,exist) /* like hashsearch, but the value is returned */ | ^ util.c:1935:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1935 | void **hashfind(hash,name,exist) | ^ util.c:1956:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | struct fileinfo *fileinit(name,filename,fp) | ^ util.c:1989:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | void funcinit(name,handle,address,saa) /* Associate "name" with a function */ | ^ util.c:2013:10: 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] 2013 | char *getenv(); /* and hash the functions they contain. */ | ^ /usr/include/stdlib.h:102:7: note: conflicting prototype is here 102 | char *getenv(const char *); | ^ util.c:2076:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | int fileclose(name) /* close and free the file associated with "name" */ | ^ 70 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC shell.c In file included from shell.c:11: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ shell.c:34:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | int shell(command) /* Execute a UNIX command. The command must be writable */ | ^ shell.c:46:27: warning: passing arguments to 'hashcreate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | hashtable=hashcreate(hashbuckets=251); | ^ shell.c:49:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | for(i=j=0;c=command[j];j++){ /* Start tokenising... */ | ~^~~~~~~~~~~ shell.c:49:15: note: place parentheses around the assignment to silence this warning 49 | for(i=j=0;c=command[j];j++){ /* Start tokenising... */ | ^ | ( ) shell.c:49:15: note: use '==' to turn this assignment into an equality comparison 49 | for(i=j=0;c=command[j];j++){ /* Start tokenising... */ | ^ | == shell.c:71:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if(!strcmp(arguments[0],"hash"))/* "hash" is built in */ | ^ shell.c:71:8: note: include the header or explicitly provide a declaration for 'strcmp' shell.c:72:21: warning: passing arguments to 'hashcmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | return hashcmd(arguments),0; | ^ shell.c:73:15: warning: passing arguments to 'locate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | exec=locate(arguments[0]); /* Locate the command */ | ^ shell.c:90:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | static unsigned hashfn(string,buckets) /* A hash function */ | ^ shell.c:22:17: 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] 22 | static unsigned hashfn(); /* the hash function to make int from string */ | ^ shell.c:102:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | static hashitem **hashcreate(buckets) | ^ shell.c:23:19: 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] 23 | static hashitem **hashcreate(); /* Create a hash table */ | ^ shell.c:122:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 122 | while(c=strcmp(name,(char *)(j+1))){ /* stop when correct element found */ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ shell.c:122:11: note: place parentheses around the assignment to silence this warning 122 | while(c=strcmp(name,(char *)(j+1))){ /* stop when correct element found */ | ^ | ( ) shell.c:122:11: note: use '==' to turn this assignment into an equality comparison 122 | while(c=strcmp(name,(char *)(j+1))){ /* stop when correct element found */ | ^ | == shell.c:112:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | static void *search(name,exist) /* Search for a name in the hash table */ | ^ shell.c:24: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] 24 | static void *search(); /* search in the hash table */ | ^ shell.c:142:8: warning: call to undeclared library function 'strchr' with type 'char *(const char *, int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if(!strchr(name,'/')){ /* only search if the name has no '/'s */ | ^ shell.c:142:8: note: include the header or explicitly provide a declaration for 'strchr' shell.c:149:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | strcpy(test+i+1,name); /* add slash and name */ | ^ shell.c:149:3: note: include the header or explicitly provide a declaration for 'strcpy' shell.c:152:33: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | allocm(sizeof(hashitem)+strlen(name)+strlen(test)+2); | ^ shell.c:152:33: note: include the header or explicitly provide a declaration for 'strlen' shell.c:130:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | static char *locate(name) /* Locate the executable file "name" */ | ^ shell.c:25: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] 25 | static char *locate(); /* find out the path for a command */ | ^ shell.c:188:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 188 | while(c=strcmp(name,(char *)(j+1))){ /* search for the given name */ | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ shell.c:188:11: note: place parentheses around the assignment to silence this warning 188 | while(c=strcmp(name,(char *)(j+1))){ /* search for the given name */ | ^ | ( ) shell.c:188:11: note: use '==' to turn this assignment into an equality comparison 188 | while(c=strcmp(name,(char *)(j+1))){ /* search for the given name */ | ^ | == shell.c:180:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | static void hashdel(name) /* delete name from hash table, if present */ | ^ shell.c:27: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] 27 | static void hashdel(); /* Delete an element from the hash table */ | ^ shell.c:208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | static void hashcmd(args) /* Implement the "hash" builtin command */ | ^ shell.c:26: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] 26 | static void hashcmd(); /* Execute the "hash" builtin command */ | ^ 24 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC -DDAY=25 -DMONTH=2 -DYEAR=102 -DREXXIMC=\"/usr/local/bin\" -DREXXLIB=\"/usr/local/lib\" -I. ./interface.c In file included from ./interface.c:13: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ In file included from ./interface.c:23: /usr/include/sys/termios.h:2:2: warning: "this file includes which is deprecated, use instead" [-W#warnings] 2 | #warning "this file includes which is deprecated, use instead" | ^ ./interface.c:149:7: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | wait((int*)0); /* delete child from process table */ | ^ ./interface.c:81:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | static void stackinit(rxpathname) /* sets up the stack */ | ^ ./interface.c:159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | static void rexxterm(old) /* Destroy the REXX data structures */ | ^ ./interface.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | long RexxStart(argc,argv,name,instore,envname,calltype,myexits,rc,result) | ^ ./interface.c:244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | long RexxStartProgram(argv0,argc,argv,name,callname,instore,envname, | ^ ./interface.c:294:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 294 | else return 1; | ^ ./interface.c:397:45: warning: passing arguments to 'exitcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | if(i!=Esig && exitlist[RXTER])exitcall(RXTER,RXTEREXT,(PEXIT)0); | ^ ./interface.c:463:31: warning: passing arguments to 'exitcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | if(exitlist[RXINI])exitcall(RXINI,RXINIEXT,(PEXIT)0); | ^ ./interface.c:465:31: warning: passing arguments to 'exitcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | if(exitlist[RXTER])exitcall(RXTER,RXTEREXT,(PEXIT)0); | ^ ./interface.c:467:17: warning: implicit conversion from 'int' to 'short' changes value from 32768 to -32768 [-Wconstant-conversion] 467 | if (rc) *rc=1<<15; | ~~^~~~ ./interface.c:534:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | static void halt_handler(sig) | ^ In file included from ./interface.c:15: ./functions.h:223: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] 223 | static void halt_handler(); /* handle halt signals */ | ^ ./interface.c:556:35: warning: passing arguments to 'error_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | if (!sigpipeflag) error_handler(sig); | ^ ./interface.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | static void pipe_handler(sig)/*ARGSUSED*/ | ^ In file included from ./interface.c:15: ./functions.h:224: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] 224 | static void pipe_handler(); /* handle broken pipe signals */ | ^ ./interface.c:562:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | static void error_handler(sig) | ^ In file included from ./interface.c:15: ./functions.h:225: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] 225 | static void error_handler(); /* handle error signals */ | ^ ./interface.c:588:38: warning: implicit conversion from 'int' to 'char' changes value from 135 to -121 [-Wconstant-conversion] 588 | trcflag=Tinteract|Tclauses|Tlabels|Tresults; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ./interface.c:578:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | static void sigtrace(sig) | ^ In file included from ./interface.c:15: ./functions.h:226: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] 226 | static void sigtrace(); /* Go into trace mode, or exit */ | ^ ./interface.c:597:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | static unsigned long unixhandler(command,flags,returnval) | ^ ./interface.c:615:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | static unsigned long commandhandler(command,flags,returnval) | ^ ./interface.c:633:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | static unsigned long defaulthandler(command,flags,returnval) | ^ ./interface.c:659:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | int envsearch(name) | ^ ./interface.c:683:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | unsigned long RexxRegisterSubcomExe(name,handler,area) | ^ ./interface.c:700:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | unsigned long RexxDeregisterSubcom(name,mod) | ^ ./interface.c:719:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | unsigned long RexxQuerySubcom(name,mod,flag,area) | ^ ./interface.c:743:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | int envcall(num,cmd,len,ans,anslen) | ^ ./interface.c:761:18: warning: passing arguments to 'exitcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | if(exitcall(RXCMD,RXCMDHST,&rxcmd)==RXEXIT_HANDLED){ | ^ ./interface.c:782:25: 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] 782 | envtable[num].handler(&input,&rc,&output); | ^ ./interface.c:804:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | unsigned long RexxVariablePool(request) | ^ ./interface.c:995:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | int unixcall(name,callname,argc) | ^ ./interface.c:1030:4: warning: call to undeclared function 'waitpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1030 | waitpid(pid,&l,0); /* delete child from process table */ | ^ ./interface.c:1042:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | int funccall(func,name,argc) /* call function with SAA calling sequence. */ | ^ ./interface.c:1059:10: 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] 1059 | i=func(name,argc,argv,"SESSION",&result); | ^ ./interface.c:1067:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | unsigned long RexxRegisterFunctionDll(name,dllname,entryname) | ^ ./interface.c:1112:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | unsigned long RexxRegisterFunctionExe(name,address) | ^ ./interface.c:1137:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | unsigned long RexxDeregisterFunction(name) | ^ ./interface.c:1152:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | unsigned long RexxQueryFunction(name) | ^ ./interface.c:1193:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | unsigned long RexxRegisterExitExe(name,address,area) | ^ ./interface.c:1223:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | unsigned long RexxDeregisterExit(name,mod) | ^ ./interface.c:1238:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | unsigned long RexxQueryExit(name,mod,flag,area) | ^ 44 warnings generated. cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -c -fPIC globals.c In file included from globals.c:7: ./const.h:72:39: warning: '/*' within block comment [-Wcomment] 72 | #define Elcomm 6 /* Unmatched '/*' */ | ^ 1 warning generated. cc -o /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76/librexx.so.2 -shared -rdynamic -Wl,-soname= rexx.o rxfn.o calc.o util.o shell.o interface.o globals.o ln -sf librexx.so.2 /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76/librexx.so cc -s -o ./rexx main.o -L/wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76 -lrexx -L/wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76 -Wl,-rpath,/usr/local/lib cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -I. -c ./rxque.c ./rxque.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | main(argc,argv) /* Specify "-csh" and/or a filename */ | ^ | int ./rxque.c:40:16: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | if(argc>1&&!strcmp(argv[1],"-csh"))argv++,argc--,csh++; | ^ ./rxque.c:40:16: note: include the header or explicitly provide a declaration for 'strcmp' ./rxque.c:53:4: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | strcpy(sock.name,sname); | ^ ./rxque.c:53:4: note: include the header or explicitly provide a declaration for 'strcpy' ./rxque.c:54:28: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | socklen=sizeof(u_short)+strlen(sname); | ^ ./rxque.c:54:28: note: include the header or explicitly provide a declaration for 'strlen' ./rxque.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 | main(argc,argv) /* Specify "-csh" and/or a filename */ | ^ ./rxque.c:114:47: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 114 | if((t=accept(s,(struct sockaddr *)&sock,&socklen))<0); /* Error (what to do?) */ | ^~~~~~~~ /usr/include/sys/socket.h:681:69: note: passing argument to parameter here 681 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ ./rxque.c:147:19: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 147 | memcpy((char *)(stack+first+max/2),(char *)(stack+first),(max/2-first)*sizeof(char*)); | ^ ./rxque.c:147:19: note: include the header or explicitly provide a declaration for 'memcpy' 7 warnings generated. cc -s -o rxque rxque.o cc -DSTUFF_STACK -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAS_TTYCOM -DRENAME_UNDELETE -DHAS_GMTOFF -I. -c ./rxstack.c ./rxstack.c:19:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 19 | main(argc,argv) | ^ | int ./rxstack.c:60:20: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | if(write(s,out,8)<8||write(s,buff,len) or explicitly provide a declaration for 'strlen' ./rxmathfn.c:99:12: warning: passing arguments to 'rxformat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | rxformat(1); | ^ ./rxmathfn.c:92:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | void stackdouble(num) | ^ ./rxmathfn.c:105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | int rxsin(name,argc) | ^ ./rxmathfn.c:18: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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int rxcos(name,argc) | ^ ./rxmathfn.c:18: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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | int rxtan(name,argc) | ^ ./rxmathfn.c:18:21: 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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | int rxasn(name,argc) | ^ ./rxmathfn.c:18:62: 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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:139:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | int rxacs(name,argc) | ^ ./rxmathfn.c:19: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] 19 | rxacs(),rxsqr(); | ^ ./rxmathfn.c:148:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | int rxatn(name,argc) | ^ ./rxmathfn.c:18:37: 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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:155:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | int rxexp(name,argc) | ^ ./rxmathfn.c:18:29: 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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | int rxln(name,argc) | ^ ./rxmathfn.c:18:45: 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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | int rxpower(name,argc) | ^ ./rxmathfn.c:18:52: 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] 18 | int rxsin(),rxcos(),rxtan(),rxexp(),rxatn(),rxln(),rxpower(),rxasn(), | ^ ./rxmathfn.c:212:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 212 | if(c=(*num1>'9'))*num1-=10; | ~^~~~~~~~~~~~ ./rxmathfn.c:212:11: note: place parentheses around the assignment to silence this warning 212 | if(c=(*num1>'9'))*num1-=10; | ^ | ( ) ./rxmathfn.c:212:11: note: use '==' to turn this assignment into an equality comparison 212 | if(c=(*num1>'9'))*num1-=10; | ^ | == ./rxmathfn.c:215:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 215 | if(c=((++*--num1)>'9'))*num1-=10; | ~^~~~~~~~~~~~~~~~~~ ./rxmathfn.c:215:11: note: place parentheses around the assignment to silence this warning 215 | if(c=((++*--num1)>'9'))*num1-=10; | ^ | ( ) ./rxmathfn.c:215:11: note: use '==' to turn this assignment into an equality comparison 215 | if(c=((++*--num1)>'9'))*num1-=10; | ^ | == ./rxmathfn.c:202:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | static int add(num1,len1,num2,len2) /* add num 2 to num 1. */ | ^ ./rxmathfn.c:230:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 230 | if(c=(*num1<'0'))*num1+=10; | ~^~~~~~~~~~~~ ./rxmathfn.c:230:11: note: place parentheses around the assignment to silence this warning 230 | if(c=(*num1<'0'))*num1+=10; | ^ | ( ) ./rxmathfn.c:230:11: note: use '==' to turn this assignment into an equality comparison 230 | if(c=(*num1<'0'))*num1+=10; | ^ | == ./rxmathfn.c:233:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 233 | if(c=((--*--num1)<'0'))*num1+=10; | ~^~~~~~~~~~~~~~~~~~ ./rxmathfn.c:233:10: note: place parentheses around the assignment to silence this warning 233 | if(c=((--*--num1)<'0'))*num1+=10; | ^ | ( ) ./rxmathfn.c:233:10: note: use '==' to turn this assignment into an equality comparison 233 | if(c=((--*--num1)<'0'))*num1+=10; | ^ | == ./rxmathfn.c:220:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | static void sub(num1,len1,num2,len2) /* subtract num2 from num1. */ | ^ ./rxmathfn.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | int rxsqr2(name,argc) /* Quick square root evaluator, for "low" precision */ | ^ ./rxmathfn.c:306:7: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | memcpy(tmp2,string,n+1); | ^ ./rxmathfn.c:306:7: note: include the header or explicitly provide a declaration for 'memcpy' ./rxmathfn.c:308:7: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | memset(tmp1,'0',t1len=t2len=n+2); | ^ ./rxmathfn.c:308:7: note: include the header or explicitly provide a declaration for 'memset' ./rxmathfn.c:313:39: warning: call to undeclared library function 'memcmp' with type 'int (const void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | while(t2len or explicitly provide a declaration for 'memcmp' ./rxmathfn.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | int rxsqr(name,argc) | ^ ./rxmathfn.c:19: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] 19 | rxacs(),rxsqr(); | ^ 35 warnings generated. cc -shared -rdynamic -o rxmathfn.rxfn rxmathfn.o -L/usr/lib -lm + sed -e 's|@REXXLIBDIR@|: /usr/local/lib|' ./rexx.1.in =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for rexx-imc-1.76_5 ===> Generating temporary packing list (cd /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76 && install -s -m 555 rexx rxque rxstack /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/bin) install -m 0644 /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76/rexxsaa.h /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/include install -s -m 0644 /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76/librexx.so.2 /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76/rxmathfn.rxfn /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/lib install -m 0644 /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76/rxmathfn.rxlib /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/lib /bin/ln -sf librexx.so.2 /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/lib/librexx.so (cd /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76 && install -m 444 rexx.1 rxstack.1 rxque.1 /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/share/man/man1) (cd /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76 && install -m 0644 rexx.info rexx.ref rexx.summary rexx.tech README README.Y2K README.bugreport README.docs README.files README.make README.news README.platforms /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/share/doc/rexx-imc) (cd /wrkdirs/usr/ports/lang/rexx-imc/work/rexx-imc-1.76 && install -m 555 box rexxcps.rexx rexxtest.rexx rxmathfn.rexx shell.rexx /wrkdirs/usr/ports/lang/rexx-imc/work/stage/usr/local/share/examples/rexx-imc) ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-11T09:14:23+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=8a02a5ce5be7' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for rexx-imc-1.76_5 ===> Building rexx-imc-1.76_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for rexx-imc-1.76_5 build of lang/rexx-imc | rexx-imc-1.76_5 ended at Thu Dec 11 04:15:13 EST 2025 build time: 00:00:52