=>> Building math/physcalc build started at Wed Jan 21 02:03:44 EST 2026 port directory: /usr/ports/math/physcalc package name: physcalc-2.4_1 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 921 Aug 27 2024 /usr/ports/math/physcalc/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: d0a737fa905e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 15 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-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_14_3_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_14_3_x64-HEAD-ALL/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_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--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/math/physcalc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/physcalc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/physcalc/work/.cache HOME=/wrkdirs/usr/ports/math/physcalc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/physcalc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/physcalc/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/math/physcalc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/physcalc/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/physcalc/work/.cache HOME=/wrkdirs/usr/ports/math/physcalc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/physcalc/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/physcalc/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 -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -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-- OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/physcalc" EXAMPLESDIR="share/examples/physcalc" DATADIR="share/physcalc" WWWDIR="www/physcalc" ETCDIR="etc/physcalc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/physcalc DOCSDIR=/usr/local/share/doc/physcalc EXAMPLESDIR=/usr/local/share/examples/physcalc WWWDIR=/usr/local/www/physcalc ETCDIR=/usr/local/etc/physcalc --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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The physcalc 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 ===> physcalc-2.4_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> physcalc-2.4_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of physcalc-2.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The physcalc 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 physcalc-2.4_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The physcalc 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 physcalc-2.4_1 for building => SHA256 Checksum OK for physcalc.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> physcalc-2.4_1 depends on file: /usr/local/bin/unzip - not found ===> Installing existing package /packages/All/unzip-6.0_8.pkg [pkg.DaveG.ca] Installing unzip-6.0_8... [pkg.DaveG.ca] Extracting unzip-6.0_8: .......... done ===> physcalc-2.4_1 depends on file: /usr/local/bin/unzip - found ===> Returning to build of physcalc-2.4_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The physcalc 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 physcalc-2.4_1 for building ===> Extracting for physcalc-2.4_1 => SHA256 Checksum OK for physcalc.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for physcalc-2.4_1 ===> Applying FreeBSD patches for physcalc-2.4_1 from /usr/ports/math/physcalc/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> physcalc-2.4_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> physcalc-2.4_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of physcalc-2.4_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for physcalc-2.4_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for physcalc-2.4_1 /usr/bin/sed -i.bak -e "s@void main@int main@g" /wrkdirs/usr/ports/math/physcalc/work/physcalc-2.4_1/physmain.c (cd /wrkdirs/usr/ports/math/physcalc/work/physcalc-2.4_1 && cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -DSHAREDIR="\"/usr/local/share/physcalc/\"" physconv.c physmain.c physmlib.c physnode.c physoper.c physsolv.c -lm -o physcalc) physconv.c:89:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | LOCAL void get_line(fp,buf) /* Get a line from the file & doctor it up */ | ^ physconv.c:97:11: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 97 | noerr = (int) fgets(buf,198,fp); | ^~~~~~~~~~~~~~~~~~~~~~~ physconv.c:106:10: warning: passing arguments to 'trimspc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | trimspc(buf); | ^ physconv.c:116:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | EXPORT void erasednum(n) /* erase number & it's dimensions */ | ^ In file included from physconv.c:32: ./physdecl.h:76: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] 76 | IMPORT void erasednum(),copydnum(),querry(), | ^ physconv.c:140:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | strupr(s); | ^ physconv.c:141:13: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | scan_symbol(&s,buf); | ^ physconv.c:151:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 151 | printf(memerr); | ^~~~~~ physconv.c:151:10: note: treat the string as an argument to avoid this 151 | printf(memerr); | ^ | "%s", physconv.c:155:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | printf(memerr); | ^~~~~~ physconv.c:155:10: note: treat the string as an argument to avoid this 155 | printf(memerr); | ^ | "%s", physconv.c:163:10: warning: passing arguments to 'evaldim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | evaldim(&s,1,&n); | ^ physconv.c:126:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | EXPORT void define_dimension(s) | ^ In file included from physconv.c:32: ./physdecl.h:78:18: 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 | printanswer(),define_dimension(),define_unit(),save_data(), | ^ physconv.c:205:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | strupr(s); | ^ physconv.c:206:13: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | scan_symbol(&s,buf); | ^ physconv.c:216:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 216 | printf(memerr); | ^~~~~~ physconv.c:216:10: note: treat the string as an argument to avoid this 216 | printf(memerr); | ^ | "%s", physconv.c:220:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 220 | printf(memerr); | ^~~~~~ physconv.c:220:10: note: treat the string as an argument to avoid this 220 | printf(memerr); | ^ | "%s", physconv.c:243:9: warning: passing arguments to 'evaldim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | evaldim(&s,1,&n); | ^ physconv.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | EXPORT void define_unit(s) | ^ In file included from physconv.c:32: ./physdecl.h:78: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] 78 | printanswer(),define_dimension(),define_unit(),save_data(), | ^ physconv.c:286:9: warning: passing arguments to 'do_cmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | do_cmd(buf); | ^ physconv.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | EXPORT void load_data(s) | ^ In file included from physconv.c:32: ./physdecl.h:79:4: 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 | load_data(),remember_old(); | ^ physconv.c:363:13: warning: passing arguments to 'output_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | output_list(fp, | ^ physconv.c:324:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | EXPORT void save_data(fname, all) | ^ In file included from physconv.c:32: ./physdecl.h:78:51: 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 | printanswer(),define_dimension(),define_unit(),save_data(), | ^ physconv.c:372:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | LOCAL int evalxpon(s) | ^ physconv.c:380:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 380 | if (t=strchr(s,'^')) { | ~^~~~~~~~~~~~~~ physconv.c:380:7: note: place parentheses around the assignment to silence this warning 380 | if (t=strchr(s,'^')) { | ^ | ( ) physconv.c:380:7: note: use '==' to turn this assignment into an equality comparison 380 | if (t=strchr(s,'^')) { | ^ | == physconv.c:387:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | LOCAL void fixplural(s) /* Change word to singular */ | ^ physconv.c:447:14: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | scan_symbol(&s2,t); | ^ physconv.c:451:15: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | scan_symbol(&s2,t+strlen(t)); | ^ physconv.c:453:3: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | strupr(t); | ^ physconv.c:408:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | EXPORT int evaldim(s,io,n) | ^ In file included from physconv.c:32: ./physdecl.h:80:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | IMPORT int evaldim(),has_dims(),check_equ_dim(); | ^ physconv.c:541:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | EXPORT struct dimstruct *dimension_number(i) | ^ In file included from physconv.c:32: ./physdecl.h:81:26: 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 | IMPORT struct dimstruct *dimension_number(); | ^ physconv.c:555:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | LOCAL int output_dims(fp,d) /* Output dimension list to a stream */ | ^ physconv.c:593:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 593 | if (d = last_fundamental_dim) { | ~~^~~~~~~~~~~~~~~~~~~~~~ physconv.c:593:9: note: place parentheses around the assignment to silence this warning 593 | if (d = last_fundamental_dim) { | ^ | ( ) physconv.c:593:9: note: use '==' to turn this assignment into an equality comparison 593 | if (d = last_fundamental_dim) { | ^ | == physconv.c:594:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 594 | while (d = d->next) { | ~~^~~~~~~~~ physconv.c:594:13: note: place parentheses around the assignment to silence this warning 594 | while (d = d->next) { | ^ | ( ) physconv.c:594:13: note: use '==' to turn this assignment into an equality comparison 594 | while (d = d->next) { | ^ | == physconv.c:584:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | EXPORT void showdims(n) /* Display fundamental dimensions of a unit */ | ^ In file included from physconv.c:32: ./physdecl.h:77:4: 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 | showdims(),showunits(),show_all_units(),generate_unit(), | ^ physconv.c:611:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | LOCAL void putunit(s,d,p) | ^ physconv.c:643:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | EXPORT void generate_unit(n,s) | ^ In file included from physconv.c:32: ./physdecl.h:77:44: 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 | showdims(),showunits(),show_all_units(),generate_unit(), | ^ physconv.c:681:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | EXPORT void showunits(n) /* display all units of type n */ | ^ In file included from physconv.c:32: ./physdecl.h:77:15: 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 | showdims(),showunits(),show_all_units(),generate_unit(), | ^ physconv.c:735:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | EXPORT int has_dims(n) | ^ In file included from physconv.c:32: ./physdecl.h:80:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | IMPORT int evaldim(),has_dims(),check_equ_dim(); | ^ physconv.c:747:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | EXPORT int check_equ_dim(a,b) /* Are a & b the same dimension? */ | ^ In file included from physconv.c:32: ./physdecl.h:80:33: 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 | IMPORT int evaldim(),has_dims(),check_equ_dim(); | ^ physconv.c:758:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | EXPORT void copydnum(d,s) /* copy the dimensions of s to d */ | ^ In file included from physconv.c:32: ./physdecl.h:76:25: 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 | IMPORT void erasednum(),copydnum(),querry(), | ^ physconv.c:769:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | EXPORT void querry(s) /* Called when user types a '?' */ | ^ In file included from physconv.c:32: ./physdecl.h:76:36: 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 | IMPORT void erasednum(),copydnum(),querry(), | ^ physconv.c:805:13: warning: passing arguments to 'trimspc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | trimspc(buf); | ^ physconv.c:819:18: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 819 | i = evaldim(&t,-1,&d); /* Evaluates destination unit & ajusts d */ | ^~ physconv.c:840:11: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | printexpr(n); | ^ physconv.c:783:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | EXPORT void printanswer(n,s) | ^ In file included from physconv.c:32: ./physdecl.h:78:4: 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 | printanswer(),define_dimension(),define_unit(),save_data(), | ^ 58 warnings generated. physmain.c:109:11: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | n = parse(s); | ^ physmain.c:111:16: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | n2 = evaluate(n); | ^ physmain.c:112:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | deallocnode(n); | ^ physmain.c:103:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | EXPORT NODEP solve(s) | ^ In file included from physmain.c:33: ./physdecl.h:67: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] 67 | IMPORT NODEP solve(); | ^ physmain.c:123:17: warning: passing arguments to 'out_of_memory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | out_of_memory("initvars()"); | ^ physmain.c:136:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | LOCAL void help(s) | ^ physmain.c:147:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | LOCAL void info(s) /* INFO cmd */ | ^ physmain.c:186:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | strupr(s); | ^ physmain.c:187:13: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | scan_symbol(&s,buf); | ^ physmain.c:199:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 199 | if (!*s=='=') { | ^ ~~ physmain.c:199:6: note: add parentheses after the '!' to evaluate the comparison first 199 | if (!*s=='=') { | ^ | ( ) physmain.c:199:6: note: add parentheses around left hand side expression to silence this warning 199 | if (!*s=='=') { | ^ | ( ) physmain.c:206:11: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | n = parse(&s); /* convert to a node tree */ | ^ physmain.c:208:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | deallocnode(n); | ^ physmain.c:212:16: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | n2 = evaluate(n); | ^ physmain.c:213:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | deallocnode(n); | ^ physmain.c:215:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | deallocnode(n2); | ^ physmain.c:228:14: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | printexpr(v->value); | ^ physmain.c:235:16: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | deallocnode(v->value); | ^ physmain.c:171:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | LOCAL void do_let(s) /* Assigns an expresion to a variable */ | ^ physmain.c:199:9: warning: result of comparison of constant 61 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] 199 | if (!*s=='=') { | ~~~^ ~~~ physmain.c:265:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | strupr(s); | ^ physmain.c:266:13: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | scan_symbol(&s,buf); /* Scan function name */ | ^ physmain.c:273:17: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | n2 = alloclnode(LNODE); | ^ physmain.c:276:14: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | scan_symbol(&s,buf2); /* Scan dummy var name */ | ^ physmain.c:277:18: warning: passing arguments to 'allocsnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | n3 = allocsnode(buf2); | ^ physmain.c:278:11: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | linknode(n2,n3); | ^ physmain.c:284:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | deallocnode(n2); | ^ physmain.c:291:11: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | n = parse(&s); /* parse function expression */ | ^ physmain.c:293:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | deallocnode(n); | ^ physmain.c:294:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | deallocnode(n2); | ^ physmain.c:298:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 298 | if (u = userfunc) { | ~~^~~~~~~~~~ physmain.c:298:8: note: place parentheses around the assignment to silence this warning 298 | if (u = userfunc) { | ^ | ( ) physmain.c:298:8: note: use '==' to turn this assignment into an equality comparison 298 | if (u = userfunc) { | ^ | == physmain.c:301:16: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | deallocnode(u->dummy); | ^ physmain.c:302:16: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | deallocnode(u->value); | ^ physmain.c:257:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | LOCAL void define_uf(s) /* Define a function */ | ^ physmain.c:342:13: warning: passing arguments to 'fprintexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | fprintexpr(fp,vars->value); | ^ physmain.c:351:14: warning: passing arguments to 'fprintexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | fprintexpr(fp,funcs->dummy->data->list[j]); | ^ physmain.c:356:13: warning: passing arguments to 'fprintexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | fprintexpr(fp, funcs->value); | ^ physmain.c:329:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | EXPORT void output_list(fp,vars,funcs,verbose) | ^ In file included from physmain.c:33: ./physdecl.h:68: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] 68 | IMPORT void output_list(); | ^ physmain.c:366:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | strupr(s); | ^ physmain.c:362:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | LOCAL void list(s) | ^ physmain.c:383:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | strupr(s); | ^ physmain.c:384:13: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | scan_symbol(&s,name); | ^ physmain.c:393:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 393 | if (u = userfunc) | ~~^~~~~~~~~~ physmain.c:393:9: note: place parentheses around the assignment to silence this warning 393 | if (u = userfunc) | ^ | ( ) physmain.c:393:9: note: use '==' to turn this assignment into an equality comparison 393 | if (u = userfunc) | ^ | == physmain.c:397:17: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | deallocnode(u->value); | ^ physmain.c:398:17: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | deallocnode(u->dummy); | ^ physmain.c:416:16: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | deallocnode(v->value); | ^ physmain.c:373:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | LOCAL void delete(s) /* erase a variable or user-function */ | ^ physmain.c:434:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | LOCAL void quit(s) | ^ physmain.c:444:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | strupr(s); | ^ physmain.c:441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | LOCAL void trace_cmd(s) /* set expression tracing mode */ | ^ physmain.c:450:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | LOCAL void base_cmd(s) | ^ physmain.c:486:11: warning: passing arguments to 'save_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | save_data(s,saveall); | ^ physmain.c:471:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | LOCAL void save_cmd(s) | ^ physmain.c:496:11: warning: passing arguments to 'load_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | load_data(s); | ^ physmain.c:490:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | LOCAL void load_cmd(s) | ^ physmain.c:500:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | LOCAL void do_system(s) | ^ physmain.c:570:9: warning: passing arguments to 'trimspc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | trimspc(buf); /* Compress/eliminate extra whitespace */ | ^ physmain.c:586:11: warning: passing arguments to 'trimspc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | trimspc(s); | ^ physmain.c:593:9: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 593 | strupr(buf); | ^ physmain.c:594:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 594 | n = solve(&s); /* No keyword found, evaluate it */ | ^~ physmain.c:605:15: warning: passing arguments to 'printanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | printanswer(n,s+1); | ^ physmain.c:613:14: warning: passing arguments to 'printanswer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | printanswer(n,NULL); | ^ physmain.c:614:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | deallocnode(var->value); | ^ physmain.c:527:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | EXPORT void do_cmd(buf) | ^ In file included from physmain.c:33: ./physdecl.h:65: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] 65 | IMPORT void do_cmd(); | ^ physmain.c:618:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | LOCAL char *GetStartupDir(argv0) | ^ physmain.c:687:9: warning: passing arguments to 'trimspc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | trimspc(buf); | ^ physmain.c:705:14: warning: passing arguments to 'load_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | load_data(datapath); | ^ physmain.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 main(argc, argv) | ^ 70 warnings generated. physmlib.c:33:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | EXPORT void trimspc(s) | ^ In file included from physmlib.c:28: ./physdecl.h: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 | IMPORT void trimspc(),scan_symbol(); | ^ physmlib.c:52:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | EXPORT void scan_symbol(s,t) /* copy symbol or name at *s into t, advance *s */ | ^ In file included from physmlib.c:28: ./physdecl.h:24:24: 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 | IMPORT void trimspc(),scan_symbol(); | ^ physmlib.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | void strupr(s) | ^ 5 warnings generated. physnode.c:53:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | EXPORT void out_of_memory(s) | ^ In file included from physnode.c:29: ./physdecl.h:90: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] 90 | IMPORT void out_of_memory(); | ^ physnode.c:60:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | EXPORT NODEP allocnode(t,bytes) /* allocate a node & data space & set type */ | ^ physnode.c:76:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | EXPORT char *reallocnode(n,t,bytes) /* Reset data size & type */ | ^ In file included from physnode.c:29: ./physdecl.h:87: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] 87 | IMPORT char *reallocnode(); | ^ physnode.c:92:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | EXPORT NODEP allocsnode(s) /* allocate & initialize a string-node */ | ^ In file included from physnode.c:29: ./physdecl.h:84: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] 84 | IMPORT NODEP allocsnode(),allocdnode(),alloclnode(), | ^ physnode.c:102:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | EXPORT NODEP allocdnode(x) /* allocate & init a double-type node */ | ^ In file included from physnode.c:29: ./physdecl.h:84:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | IMPORT NODEP allocsnode(),allocdnode(),alloclnode(), | ^ physnode.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 | EXPORT NODEP allocinode(i) /* alloc a long-int node */ | ^ In file included from physnode.c:29: ./physdecl.h:85:2: 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 | allocinode(),allocfnode(),allocnnode(),linknode(),unlinknode(), | ^ physnode.c:122:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | EXPORT NODEP allocfnode(num,den) /* alloc a fracton node */ | ^ In file included from physnode.c:29: ./physdecl.h:85:15: 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 | allocinode(),allocfnode(),allocnnode(),linknode(),unlinknode(), | ^ physnode.c:138:11: warning: passing arguments to 'erasednum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | erasednum((DNUM *)(n->data)); | ^ physnode.c:142:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | EXPORT NODEP alloclnode(t) /* allocate an empty list-type node of type t */ | ^ In file included from physnode.c:29: ./physdecl.h:84:40: 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 | IMPORT NODEP allocsnode(),allocdnode(),alloclnode(), | ^ physnode.c:159:10: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | linknode(n2,n1); | ^ physnode.c:152:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | EXPORT NODEP alloclnode1(t,n1) | ^ In file included from physnode.c:29: ./physdecl.h:86: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] 86 | copynode(),alloclnode1(),alloclnode2(); | ^ physnode.c:170:10: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | linknode(n3,n1); | ^ physnode.c:171:10: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | linknode(n3,n2); | ^ physnode.c:163:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | EXPORT NODEP alloclnode2(t,n1,n2) /* allocate a list node with 2 sub nodes */ | ^ In file included from physnode.c:29: ./physdecl.h:86:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | copynode(),alloclnode1(),alloclnode2(); | ^ physnode.c:175:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | EXPORT NODEP linknode(n1,n2) /* Point n1 to n2, return n2 */ | ^ In file included from physnode.c:29: ./physdecl.h:85:41: 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 | allocinode(),allocfnode(),allocnnode(),linknode(),unlinknode(), | ^ physnode.c:205:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 205 | while (n1->data->list[i]=n1->data->list[i+1]) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ physnode.c:205:27: note: place parentheses around the assignment to silence this warning 205 | while (n1->data->list[i]=n1->data->list[i+1]) | ^ | ( ) physnode.c:205:27: note: use '==' to turn this assignment into an equality comparison 205 | while (n1->data->list[i]=n1->data->list[i+1]) | ^ | == physnode.c:194:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | EXPORT NODEP unlinknode(n1,n2) | ^ In file included from physnode.c:29: ./physdecl.h:85: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] 85 | allocinode(),allocfnode(),allocnnode(),linknode(),unlinknode(), | ^ physnode.c:215:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | LOCAL void dealloclist(n) /* de-allocate all the sub-nodes of n */ | ^ physnode.c:222:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | deallocnode(n->data->list[i++]); | ^ physnode.c:227:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | EXPORT void deallocnode(n) /* de-allocate a node & its sub-nodes if any */ | ^ In file included from physnode.c:29: ./physdecl.h:88:25: 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 | IMPORT void initnodes(),deallocnode(),bytecopy(); | ^ physnode.c:263:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 263 | while (n3 = n1->data->list[i]) { | ~~~^~~~~~~~~~~~~~~~~~~ physnode.c:263:14: note: place parentheses around the assignment to silence this warning 263 | while (n3 = n1->data->list[i]) { | ^ | ( ) physnode.c:263:14: note: use '==' to turn this assignment into an equality comparison 263 | while (n3 = n1->data->list[i]) { | ^ | == physnode.c:239:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | EXPORT int cmpnode(n1,n2) /* compare for equal contents */ | ^ In file included from physnode.c:29: ./physdecl.h:89:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | IMPORT int cmpnode(),nodesize(); | ^ physnode.c:274:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | EXPORT int nodesize(n) /* return size in bytes of associated data */ | ^ In file included from physnode.c:29: ./physdecl.h:89:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | IMPORT int cmpnode(),nodesize(); | ^ physnode.c:307:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | EXPORT void bytecopy(dst, src, bytes) | ^ In file included from physnode.c:29: ./physdecl.h:88:39: 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 | IMPORT void initnodes(),deallocnode(),bytecopy(); | ^ physnode.c:332:12: warning: incompatible pointer types passing 'union (unnamed union at ./physcalc.h:84:2) *' to parameter of type 'char *' [-Wincompatible-pointer-types] 332 | bytecopy(n2->data,n->data,i); | ^~~~~~~~ physnode.c:332:21: warning: incompatible pointer types passing 'union (unnamed union at ./physcalc.h:84:2) *' to parameter of type 'const char *' [-Wincompatible-pointer-types] 332 | bytecopy(n2->data,n->data,i); | ^~~~~~~ physnode.c:316:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | EXPORT NODEP copynode(n) /* Create a duplicate of node n (including sub-nodes) */ | ^ In file included from physnode.c:29: ./physdecl.h:86:2: 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 | copynode(),alloclnode1(),alloclnode2(); | ^ 43 warnings generated. physoper.c:33:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | EXPORT int number(n) /* is n a number? */ | ^ In file included from physoper.c:24: ./physdecl.h:93:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | IMPORT int number(); | ^ physoper.c:39:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | LOCAL void change_type(n,type) /* Convert node N to type TYPE */ | ^ physoper.c:51:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | reallocnode(n,FNODE,sizeof(struct fractstruct)); | ^ physoper.c:57:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | reallocnode(n,DNODE,sizeof(double)); | ^ physoper.c:62:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | reallocnode(n,NNODE,sizeof(DNUM)); | ^ physoper.c:63:13: warning: passing arguments to 'erasednum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | erasednum(&n->data->dmn); | ^ physoper.c:71:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | reallocnode(n,DNODE,sizeof(double)); | ^ physoper.c:74:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | reallocnode(n,DNODE,sizeof(DNUM)); | ^ physoper.c:75:13: warning: passing arguments to 'erasednum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | erasednum(&n->data->dmn); | ^ physoper.c:82:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | reallocnode(n,NNODE,sizeof(DNUM)); | ^ physoper.c:83:13: warning: passing arguments to 'erasednum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | erasednum(&n->data->dmn); | ^ physoper.c:90:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | reallocnode(n,DNODE,sizeof(double)); | ^ physoper.c:96:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | EXPORT void force_same_type(x,y) /* Change x & y to be the same type */ | ^ In file included from physoper.c:24: ./physdecl.h:94:28: 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 | IMPORT void simplify_frt(),force_same_type(),factor(); | ^ physoper.c:122:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 122 | if (a = n->data->frt.numer) { | ~~^~~~~~~~~~~~~~~~~~~~ physoper.c:122:8: note: place parentheses around the assignment to silence this warning 122 | if (a = n->data->frt.numer) { | ^ | ( ) physoper.c:122:8: note: use '==' to turn this assignment into an equality comparison 122 | if (a = n->data->frt.numer) { | ^ | == physoper.c:144:14: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | reallocnode(n,INODE,sizeof(long)); | ^ physoper.c:117:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | EXPORT void simplify_frt(n) /* Simplify a fraction */ | ^ In file included from physoper.c:24: ./physdecl.h:94: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] 94 | IMPORT void simplify_frt(),force_same_type(),factor(); | ^ physoper.c:156:11: warning: passing arguments to 'solve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | n = solve(&s); | ^ physoper.c:163:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | deallocnode(n); | ^ physoper.c:167:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | deallocnode(n); | ^ physoper.c:172:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 172 | printf("Factors are: 1,%d,",a); | ~~ ^ | %ld physoper.c:177:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 177 | printf("%d,%d,",i,a/i); | ~~ ^~~ | %ld physoper.c:192:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 192 | printf("%d\n",a); | ~~ ^ | %ld physoper.c:149:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | EXPORT void factor(s) /* Output all integer factors of an expression */ | ^ In file included from physoper.c:24: ./physdecl.h:94:46: 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 | IMPORT void simplify_frt(),force_same_type(),factor(); | ^ physoper.c:219:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | return allocinode(n); | ^ physoper.c:199:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | LOCAL NODEP factorial(x) /* factorial operator/function */ | ^ physoper.c:233:16: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | np = evaluate(p); | ^ physoper.c:236:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | deallocnode(np); | ^ physoper.c:240:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | deallocnode(np); | ^ physoper.c:242:15: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | na = evaluate(a); | ^ physoper.c:244:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | deallocnode(na); | ^ physoper.c:247:15: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | nb = evaluate(b); | ^ physoper.c:249:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | deallocnode(na); | ^ physoper.c:250:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | deallocnode(nb); | ^ physoper.c:257:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | deallocnode(na); | ^ physoper.c:258:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | deallocnode(nb); | ^ physoper.c:269:16: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | n = alloclnode(LNODE); /* Create a node calling f with a */ | ^ physoper.c:270:22: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | linknode(n, copynode(f) ); | ^ physoper.c:270:10: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | linknode(n, copynode(f) ); | ^ physoper.c:272:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | n2 = allocdnode(a1); | ^ physoper.c:273:10: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | linknode(n,n2); | ^ physoper.c:275:15: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | n3 = evaluate(n); | ^ physoper.c:281:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | deallocnode(n3); | ^ physoper.c:282:16: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | n3 = evaluate(n); | ^ physoper.c:288:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | deallocnode(n3); | ^ physoper.c:289:15: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | n3 = evaluate(n); | ^ physoper.c:295:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | deallocnode(n); | ^ physoper.c:296:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | deallocnode(n3); | ^ physoper.c:298:19: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | return allocdnode(y); | ^ physoper.c:222:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | LOCAL NODEP integrate(f,a,b,p) | ^ physoper.c:301:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | LOCAL NODEP derivative(n) /* derivative function (not too useful) */ | ^ physoper.c:308:18: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | n2 = allocinode(1L); | ^ physoper.c:317:18: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | n2 = allocinode(0L); | ^ physoper.c:326:20: warning: passing arguments to 'alloclnode2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | n2 = alloclnode2(n->type, derivative(n->data->list[0]), derivative(n->data->list[1])); | ^ physoper.c:329:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | n2 = alloclnode(LNODE + 1); /* create addition node */ | ^ physoper.c:330:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | n3 = alloclnode(LNODE + 3); /* mult node */ | ^ physoper.c:331:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | linknode(n2,n3); | ^ physoper.c:332:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | linknode(n3, derivative(n->data->list[0]) ); | ^ physoper.c:333:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | linknode(n3, copynode(n->data->list[1]) ); | ^ physoper.c:333:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | linknode(n3, copynode(n->data->list[1]) ); | ^ physoper.c:334:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | n3 = alloclnode(LNODE + 3); | ^ physoper.c:335:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | linknode(n2,n3); | ^ physoper.c:336:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | linknode(n3, copynode(n->data->list[0]) ); | ^ physoper.c:336:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | linknode(n3, copynode(n->data->list[0]) ); | ^ physoper.c:337:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | linknode(n3, derivative(n->data->list[1]) ); | ^ physoper.c:340:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | n2 = alloclnode(LNODE + 4); | ^ physoper.c:341:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | n3 = alloclnode(LNODE + 2); | ^ physoper.c:342:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | linknode(n2,n3); | ^ physoper.c:343:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | n4 = alloclnode(LNODE + 3); | ^ physoper.c:344:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | linknode(n3,n4); | ^ physoper.c:345:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | linknode(n4, derivative(n->data->list[0]) ); | ^ physoper.c:346:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | linknode(n4, copynode(n->data->list[1]) ); | ^ physoper.c:346:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | linknode(n4, copynode(n->data->list[1]) ); | ^ physoper.c:347:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | n4 = alloclnode(LNODE + 3); | ^ physoper.c:348:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | linknode(n3,n4); | ^ physoper.c:349:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | linknode(n4, copynode(n->data->list[0]) ); | ^ physoper.c:349:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | linknode(n4, copynode(n->data->list[0]) ); | ^ physoper.c:350:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | linknode(n4, derivative(n->data->list[1]) ); | ^ physoper.c:351:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | n3 = alloclnode(LNODE + 5); | ^ physoper.c:352:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | linknode(n2,n3); | ^ physoper.c:353:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | linknode(n3, copynode(n->data->list[1]) ); | ^ physoper.c:353:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | linknode(n3, copynode(n->data->list[1]) ); | ^ physoper.c:354:27: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | linknode(n3, allocinode(2L) ); | ^ physoper.c:354:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | linknode(n3, allocinode(2L) ); | ^ physoper.c:357:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | n2 = alloclnode(LNODE + 3); | ^ physoper.c:358:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | n3 = alloclnode(LNODE + 3); /* deriv. of the outside */ | ^ physoper.c:359:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | linknode(n2,n3); | ^ physoper.c:360:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | linknode(n3, copynode(n->data->list[1]) ); | ^ physoper.c:360:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | linknode(n3, copynode(n->data->list[1]) ); | ^ physoper.c:361:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | n4 = alloclnode(LNODE + 5); | ^ physoper.c:362:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | linknode(n3,n4); | ^ physoper.c:363:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | linknode(n4, copynode(n->data->list[0]) ); | ^ physoper.c:363:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | linknode(n4, copynode(n->data->list[0]) ); | ^ physoper.c:364:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | n5 = alloclnode(LNODE + 2); | ^ physoper.c:365:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | linknode(n4,n5); | ^ physoper.c:366:25: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | linknode(n5, copynode(n->data->list[1]) ); | ^ physoper.c:366:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | linknode(n5, copynode(n->data->list[1]) ); | ^ physoper.c:367:27: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | linknode(n5, allocinode(1L) ); | ^ physoper.c:367:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | linknode(n5, allocinode(1L) ); | ^ physoper.c:369:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | linknode(n2, derivative(n->data->list[0]) ); | ^ physoper.c:378:15: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | n3 = evaluate(n2); | ^ physoper.c:379:13: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | deallocnode(n2); | ^ physoper.c:415:17: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | z = allocinode(x->data->lng + y->data->lng); | ^ physoper.c:418:17: warning: passing arguments to 'allocfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | z = allocfnode(x->data->frt.numer * y->data->frt.denom + | ^ physoper.c:423:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | z = allocdnode(x->data->dbl + y->data->dbl); | ^ physoper.c:427:21: warning: passing arguments to 'check_equ_dim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | if (!check_equ_dim(&x->data->dmn,&y->data->dmn)) | ^ physoper.c:430:12: warning: passing arguments to 'copydnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | copydnum(&z->data->dmn,&x->data->dmn); | ^ physoper.c:408:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | LOCAL NODEP add(x,y) | ^ physoper.c:444:17: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | z = allocinode(x->data->lng - y->data->lng); | ^ physoper.c:447:17: warning: passing arguments to 'allocfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | z = allocfnode(x->data->frt.numer * y->data->frt.denom - | ^ physoper.c:452:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | z = allocdnode(x->data->dbl - y->data->dbl); | ^ physoper.c:456:21: warning: passing arguments to 'check_equ_dim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (!check_equ_dim(&x->data->dmn,&y->data->dmn)) | ^ physoper.c:459:12: warning: passing arguments to 'copydnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | copydnum(&z->data->dmn,&x->data->dmn); | ^ physoper.c:437:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | LOCAL NODEP subtract(x,y) | ^ physoper.c:474:17: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | z = allocinode(x->data->lng * y->data->lng); | ^ physoper.c:477:17: warning: passing arguments to 'allocfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | z = allocfnode(x->data->frt.numer * y->data->frt.numer, | ^ physoper.c:481:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | z = allocdnode(x->data->dbl * y->data->dbl); | ^ physoper.c:466:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | LOCAL NODEP multiply(x,y) | ^ physoper.c:506:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | z = allocdnode((double) x->data->lng / (double) y->data->lng ); | ^ physoper.c:513:17: warning: passing arguments to 'allocfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | z = allocfnode(x->data->frt.numer*y->data->frt.denom, | ^ physoper.c:521:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | z = allocdnode(x->data->dbl / y->data->dbl); | ^ physoper.c:493:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | LOCAL NODEP divide(x,y) /* Should not recieve a list or string node */ | ^ physoper.c:550:17: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | z = allocdnode(pow(x->data->dbl,y->data->dbl)); | ^ physoper.c:537:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | LOCAL NODEP power(x,y) /* y may not be dimensioned */ | ^ physoper.c:567:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | return allocinode(x->data->lng && y->data->lng); | ^ physoper.c:560:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | LOCAL NODEP and(x,y) | ^ physoper.c:577:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | return allocinode(x->data->lng & y->data->lng); | ^ physoper.c:570:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | LOCAL NODEP logical_and(x,y) | ^ physoper.c:587:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | return allocinode(!x->data->lng); | ^ physoper.c:580:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | LOCAL NODEP not(x) | ^ physoper.c:597:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | return allocinode(~x->data->lng); | ^ physoper.c:590:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | LOCAL NODEP logical_not(x) | ^ physoper.c:607:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | return allocinode(x->data->lng || y->data->lng); | ^ physoper.c:600:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | LOCAL NODEP or(x,y) | ^ physoper.c:617:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | return allocinode(x->data->lng | y->data->lng); | ^ physoper.c:610:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | LOCAL NODEP logical_or(x,y) | ^ physoper.c:627:19: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | return allocinode(x->data->lng % y->data->lng); | ^ physoper.c:620:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | LOCAL NODEP modulo(x,y) | ^ physoper.c:637:20: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | return allocinode(- x->data->lng); | ^ physoper.c:639:20: warning: passing arguments to 'allocfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | return allocfnode(- x->data->frt.numer, x->data->frt.denom); | ^ physoper.c:641:20: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | return allocdnode(- x->data->dbl); | ^ physoper.c:644:11: warning: passing arguments to 'copydnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | copydnum(&z->data->dmn,&x->data->dmn); | ^ physoper.c:630:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | LOCAL NODEP minus(x) /* Unary minus */ | ^ 146 warnings generated. physsolv.c:55:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | LOCAL int digitvalue(c) | ^ physsolv.c:56:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] 56 | char c; | ^ physsolv.c:45:20: note: previous declaration is here 45 | digitvalue(char c); | ^ physsolv.c:68:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | LOCAL NODEP parse_number(s) | ^ physsolv.c:188:11: warning: passing arguments to 'erasednum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | erasednum(&dm); | ^ physsolv.c:190:9: warning: passing arguments to 'evaldim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | evaldim(s,1,&dm); /* evaluate unit specifiers if any */ | ^ physsolv.c:193:11: warning: passing arguments to 'copydnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | copydnum((DNUM *)(n->data), &dm); | ^ physsolv.c:197:18: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | n = allocdnode(x); | ^ physsolv.c:200:18: warning: passing arguments to 'allocinode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | n = allocinode((long) x); | ^ physsolv.c:203:18: warning: passing arguments to 'allocfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | n = allocfnode(numerator,denominator); | ^ physsolv.c:204:16: warning: passing arguments to 'simplify_frt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | simplify_frt(n); | ^ physsolv.c:210:12: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | printexpr(n); | ^ physsolv.c:217:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | LOCAL NODEP parse_paren(s) | ^ physsolv.c:224:11: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | n = parse(s); | ^ physsolv.c:232:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | LOCAL NODEP parse_alpha(s) /* parse a symbolic value (var or function) */ | ^ physsolv.c:238:13: warning: passing arguments to 'scan_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | scan_symbol(s,buf); | ^ physsolv.c:239:2: warning: call to undeclared function 'strupr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | strupr(buf); | ^ physsolv.c:242:20: warning: passing arguments to 'allocsnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | return allocsnode(buf); /* return a variable node */ | ^ physsolv.c:249:16: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | n = alloclnode(LNODE); /* allocate a function-list node */ | ^ physsolv.c:250:17: warning: passing arguments to 'allocsnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | n2 = allocsnode(buf); /* first sub-node is the function name */ | ^ physsolv.c:251:10: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | linknode(n,n2); | ^ physsolv.c:254:13: warning: passing arguments to 'parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | n2 = parse(s); | ^ physsolv.c:256:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | deallocnode(n); | ^ physsolv.c:257:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | deallocnode(n2); | ^ physsolv.c:260:11: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | linknode(n,n2); | ^ physsolv.c:265:13: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | printexpr(n2); | ^ physsolv.c:272:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | deallocnode(n); | ^ physsolv.c:279:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | LOCAL NODEP parse_val(s) /* parse a value (as opposed to an operator) */ | ^ physsolv.c:290:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | LOCAL int parse_op(s) /* Return index of operator if there is one (0=NULL) */ | ^ physsolv.c:306:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | LOCAL int prefixop(s) /* Return index op prefix-operator if there is one */ | ^ physsolv.c:335:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 335 | if (op = prefixop(*s)) { | ~~~^~~~~~~~~~~~~~ physsolv.c:335:10: note: place parentheses around the assignment to silence this warning 335 | if (op = prefixop(*s)) { | ^ | ( ) physsolv.c:335:10: note: use '==' to turn this assignment into an equality comparison 335 | if (op = prefixop(*s)) { | ^ | == physsolv.c:350:21: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | n2 = alloclnode(LNODE + *opstack); | ^ physsolv.c:351:14: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | linknode(n2,n); | ^ physsolv.c:352:16: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (number(n)) { | ^ physsolv.c:353:19: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | n = evaluate(n2); | ^ physsolv.c:354:18: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | deallocnode(n2); | ^ physsolv.c:360:21: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | n2 = alloclnode(LNODE + *opstack); | ^ physsolv.c:361:14: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | linknode(n2,*numstack); | ^ physsolv.c:362:14: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | linknode(n2,n); | ^ physsolv.c:363:16: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (number(n) && number(*numstack)) { | ^ physsolv.c:363:29: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (number(n) && number(*numstack)) { | ^ physsolv.c:364:19: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | n = evaluate(n2); | ^ physsolv.c:365:18: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | deallocnode(n2); | ^ physsolv.c:375:20: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | n2 = alloclnode(LNODE + op); | ^ physsolv.c:376:13: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | linknode(n2,n); | ^ physsolv.c:377:15: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | if (number(n)) { | ^ physsolv.c:378:18: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | n = evaluate(n2); | ^ physsolv.c:379:17: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | deallocnode(n2); | ^ physsolv.c:317:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | EXPORT NODEP parse(s) /* Parse a string-expression into a node-expression */ | ^ In file included from physsolv.c:33: ./physdecl.h:71: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] 71 | IMPORT NODEP parse(),evaluate(); | ^ physsolv.c:396:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | LOCAL NODEP eval_var(v) /* Perform variable substitution */ | ^ physsolv.c:410:16: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | n = evaluate(vp->value); /* evaluate the associated expression */ | ^ physsolv.c:414:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | deallocnode(n); | ^ physsolv.c:416:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 416 | } while (vp = vp->next); | ~~~^~~~~~~~~~ physsolv.c:416:14: note: place parentheses around the assignment to silence this warning 416 | } while (vp = vp->next); | ^ | ( ) physsolv.c:416:14: note: use '==' to turn this assignment into an equality comparison 416 | } while (vp = vp->next); | ^ | == physsolv.c:419:19: warning: passing arguments to 'allocsnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | return allocsnode(v); | ^ physsolv.c:422:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | LOCAL void replace_var(old,new,n) | ^ physsolv.c:432:38: warning: passing arguments to 'nodesize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | reallocnode(n,new->type,i=nodesize(new)); | ^ physsolv.c:432:15: warning: passing arguments to 'reallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | reallocnode(n,new->type,i=nodesize(new)); | ^ physsolv.c:434:13: warning: passing arguments to 'bytecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | bytecopy(n->data,new->data,i); | ^ physsolv.c:438:33: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | n->data->list[i] = copynode(new->data->list[i]); | ^ physsolv.c:457:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | LOCAL NODEP eval_func(n) | ^ physsolv.c:479:17: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | n3 = copynode(u->value); | ^ physsolv.c:482:18: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | n2 = evaluate(n->data->list[j]); | ^ physsolv.c:486:15: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | printexpr(n2); | ^ physsolv.c:491:16: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | deallocnode(n2); | ^ physsolv.c:494:17: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | n2 = evaluate(n3); /* evaluate function */ | ^ physsolv.c:495:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | deallocnode(n3); | ^ physsolv.c:507:24: 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] 507 | n2 = (*do_funct2[i])(n->data->list[1],n->data->list[2],n->data->list[3],n->data->list[4]); | ^ physsolv.c:517:17: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | n2 = evaluate(n->data->list[1]); /* evaluate parameter */ | ^ physsolv.c:542:32: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | deallocnode(n2); | ^ physsolv.c:558:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 558 | } while (d = d->next); | ~~^~~~~~~~~ physsolv.c:558:17: note: place parentheses around the assignment to silence this warning 558 | } while (d = d->next); | ^ | ( ) physsolv.c:558:17: note: use '==' to turn this assignment into an equality comparison 558 | } while (d = d->next); | ^ | == physsolv.c:567:16: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | deallocnode(n2); | ^ physsolv.c:568:20: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | return copynode(n); | ^ physsolv.c:572:14: warning: passing arguments to 'erasednum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | erasednum((DNUM *)(n3->data)); | ^ physsolv.c:581:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 581 | } while (d = d->next); | ~~^~~~~~~~~ physsolv.c:581:16: note: place parentheses around the assignment to silence this warning 581 | } while (d = d->next); | ^ | ( ) physsolv.c:581:16: note: use '==' to turn this assignment into an equality comparison 581 | } while (d = d->next); | ^ | == physsolv.c:584:20: warning: passing arguments to 'allocdnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | n3 = allocdnode( (*do_funct[i])(x) ); | ^ physsolv.c:585:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | deallocnode(n2); | ^ physsolv.c:594:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | LOCAL NODEP eval_op(n) /* Carry out an operator */ | ^ physsolv.c:599:15: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | n2 = evaluate(n->data->list[0]); | ^ physsolv.c:601:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | deallocnode(n2); | ^ physsolv.c:605:16: warning: passing arguments to 'evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | n3 = evaluate(n->data->list[1]); | ^ physsolv.c:607:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | deallocnode(n2); | ^ physsolv.c:608:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | deallocnode(n3); | ^ physsolv.c:611:14: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | if (!number(n2) || !number(n3)) { | ^ physsolv.c:611:29: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | if (!number(n2) || !number(n3)) { | ^ physsolv.c:612:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | n4 = alloclnode(n->type); | ^ physsolv.c:613:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | linknode(n4,n2); | ^ physsolv.c:614:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | linknode(n4,n3); | ^ physsolv.c:618:19: warning: passing arguments to 'force_same_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | force_same_type(n2,n3); /* except for power (op #5) */ | ^ physsolv.c:620:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | deallocnode(n2); | ^ physsolv.c:621:15: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | deallocnode(n3); | ^ physsolv.c:625:33: 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] 625 | n4 = (*do_op[n->type - LNODE])(n2,n3); | ^ physsolv.c:626:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | deallocnode(n2); | ^ physsolv.c:627:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | deallocnode(n3); | ^ physsolv.c:630:14: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | if (!number(n2)) { | ^ physsolv.c:631:19: warning: passing arguments to 'alloclnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | n3 = alloclnode(n->type); | ^ physsolv.c:632:12: warning: passing arguments to 'linknode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | linknode(n3,n2); | ^ physsolv.c:635:33: 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] 635 | n3 = (*do_op[n->type - LNODE])(n2); | ^ physsolv.c:636:14: warning: passing arguments to 'deallocnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | deallocnode(n2); | ^ physsolv.c:648:22: warning: passing arguments to 'number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (trace && !number(n)) { | ^ physsolv.c:650:12: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | printexpr(n); | ^ physsolv.c:665:16: warning: passing arguments to 'copynode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | n2 = copynode(n); | ^ physsolv.c:675:13: warning: passing arguments to 'printexpr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | printexpr(n2); | ^ physsolv.c:683:15: warning: passing arguments to 'simplify_frt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | simplify_frt(n2); | ^ physsolv.c:641:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | EXPORT NODEP evaluate(n) /* Evaluate expression tree in node n */ | ^ In file included from physsolv.c:33: ./physdecl.h:71:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | IMPORT NODEP parse(),evaluate(); | ^ physsolv.c:736:16: warning: passing arguments to 'generate_unit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | generate_unit(&n->data->dmn,buf); | ^ physsolv.c:690:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | EXPORT void fprintexpr(fp,n) /* print contents of node n */ | ^ In file included from physsolv.c:33: ./physdecl.h:72:25: 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 | IMPORT void printexpr(),fprintexpr(); | ^ physsolv.c:770:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | EXPORT void printexpr(n) | ^ In file included from physsolv.c:33: ./physdecl.h:72: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] 72 | IMPORT void printexpr(),fprintexpr(); | ^ physsolv.c:776:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | EXPORT void fraction_cmd(s) /* set fraction output mode */ | ^ In file included from physsolv.c:33: ./physdecl.h:73: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] 73 | IMPORT void fraction_cmd(); | ^ 112 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for physcalc-2.4_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/math/physcalc/work/physcalc-2.4_1/physcalc /wrkdirs/usr/ports/math/physcalc/work/stage/usr/local/bin /bin/mkdir -p /wrkdirs/usr/ports/math/physcalc/work/stage/usr/local/share/physcalc install -m 0644 /wrkdirs/usr/ports/math/physcalc/work/physcalc-2.4_1/*.phy /wrkdirs/usr/ports/math/physcalc/work/stage/usr/local/share/physcalc ====> 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=2026-01-21T07:03:44+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d0a737fa905e' '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 physcalc-2.4_1 ===> Building physcalc-2.4_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for physcalc-2.4_1 build of math/physcalc | physcalc-2.4_1 ended at Wed Jan 21 02:03:47 EST 2026 build time: 00:00:03